tensorflow_serving以下にソースが配置されている
- core
- サーバコア部分
- Policy部分の設定はavailability_preserving_policy.hを見て欲しいとのこと
- batching
- バッチ処理
- g3doc
| # TODO: Print loss and accuracy per epch | |
| import argparse | |
| import tensorflow as tf | |
| import numpy as np | |
| from tensorflow.keras.layers import Input, Conv2D, MaxPooling2D, Dropout, UpSampling2D, Concatenate | |
| from tensorflow.keras.models import Model | |
| from tensorflow.keras.optimizers import Adam | |
| from tensorflow.keras.preprocessing import image as image_util |
| # prefixキーをC-aに変更する | |
| set -g prefix C-u | |
| # C-bのキーバインドを解除する | |
| unbind C-b | |
| # キーストロークのディレイを減らす | |
| set -sg escape-time 1 | |
| # 256色端末を使用する |
| require "openssl" | |
| require "base64" | |
| include Base64 | |
| # 0-15: 24 | |
| plain_text = "p"*15 | |
| # 44 | |
| #plain_text = "p"*16 | |
| # 44 |
| ################################################## | |
| # shell variables | |
| # history | |
| HISTFILE=~/.histfile | |
| HISTSIZE=1000 | |
| SAVEHIST=1000 | |
| # report time | |
| REPORTTIME=3 |
| GEM | |
| remote: https://rubygems.org/ | |
| specs: | |
| actionmailer (4.2.0) | |
| actionpack (= 4.2.0) | |
| actionview (= 4.2.0) | |
| activejob (= 4.2.0) | |
| mail (~> 2.5, >= 2.5.4) | |
| rails-dom-testing (~> 1.0, >= 1.0.5) | |
| actionpack (4.2.0) |