google的tensor2tensor的学习源码
可以参考 https://blog.csdn.net/csa121/article/category/7518359 学习使用
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-07-19 14:28 t2t
目录 0 2018-07-19 14:29 t2tserving
目录 0 2018-07-19 14:29 t2tserving ools
文件 745 2018-07-19 14:29 t2tserving oolsazel.rc
目录 0 2018-07-19 14:28 t2tservingazel-bin
目录 0 2018-07-19 14:35 t2tservingazel-out
文件 11362 2018-07-19 14:28 t2tservingLICENSE
文件 321 2018-07-19 14:28 t2tservingAUTHORS
目录 0 2018-07-19 14:29 t2tservingazel-testlogs
文件 1684 2018-07-19 14:28 t2tservingWORKSPACE
文件 2587 2018-07-19 14:28 t2tservingREADME.md
文件 56 2018-07-19 14:28 t2tservingRELEASE.md
目录 0 2018-07-19 14:29 t2tserving ensorflow_serving
目录 0 2018-07-19 14:29 t2tserving ensorflow_servingg3doc
目录 0 2018-07-19 14:29 t2tserving ensorflow_servingg3doc\_includes
文件 524 2018-07-19 14:29 t2tserving ensorflow_servingg3doc\_includes
av.md
文件 926 2018-07-19 14:29 t2tserving ensorflow_servingg3doc\_includesicon-github.svg
文件 177 2018-07-19 14:29 t2tserving ensorflow_servingg3doc\_includesicon-github.html
文件 787 2018-07-19 14:29 t2tserving ensorflow_servingg3doc\_includesicon-twitter.svg
文件 768 2018-07-19 14:29 t2tserving ensorflow_servingg3doc\_includeshead.html
文件 1467 2018-07-19 14:29 t2tserving ensorflow_servingg3doc\_includesfooter.html
文件 148 2018-07-19 14:29 t2tserving ensorflow_servingg3doc\_includesheader.html
文件 180 2018-07-19 14:29 t2tserving ensorflow_servingg3doc\_includesicon-twitter.html
文件 10848 2018-07-19 14:29 t2tserving ensorflow_servingg3docserving_basic.md
文件 187 2018-07-19 14:29 t2tserving ensorflow_servingg3docleftnav_files
文件 13128 2018-07-19 14:29 t2tserving ensorflow_servingg3docserving_advanced.md
目录 0 2018-07-19 14:29 t2tserving ensorflow_servingg3doccss
文件 1086 2018-07-19 14:29 t2tserving ensorflow_servingg3doccssmain.scss
文件 7115 2018-07-19 14:29 t2tserving ensorflow_servingg3docsetup.md
目录 0 2018-07-19 14:29 t2tserving ensorflow_servingg3docimages
文件 64424 2018-07-19 14:29 t2tserving ensorflow_servingg3docimages f_diagram.svg
............此处省略1080个文件信息
# Copyright 2018 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License Version 2.0 (the “License“);
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing software
# distributed under the License is distributed on an “AS IS“ BASIS
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: tensorflow_serving/apis/model_service.proto
# To regenerate run
# python -m grpc.tools.protoc --python_out=. --grpc_python_out=. -I. tensorflow_serving/apis/model_service.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode(‘latin1‘))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from tensorflow_serving.apis import get_model_status_pb2 as tensorflow__serving_dot_apis_dot_get__model__status__pb2
DEscriptOR = _descriptor.FileDescriptor(
name=‘tensorflow_serving/apis/model_service.proto‘
package=‘tensorflow.serving‘
syntax=‘proto3‘
serialized_pb=_b(‘
+tensorflow_serving/apis/model_service.protox12x12tensorflow.servingx1a.tensorflow_serving/apis/get_model_status.proto2w
x0cModelServicex12g
x0eGetModelStatusx12).tensorflow.serving.GetModelStatusRequestx1a*.tensorflow.serving.GetModelStatusResponseBx03xf8x01x01x62x06proto3‘)
dependencies=[tensorflow__serving_dot_apis_dot_get__model__status__pb2.DEscriptOR])
_sym_db.RegisterFileDescriptor(DEscriptOR)
DEscriptOR.has_options = True
DEscriptOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions() _b(‘370 01 01‘))
try:
# THESE ELEMENTS WILL BE DEPRECATED.
# Please use the generated *_pb2_grpc.py files instead.
import grpc
from grpc.framework.common import cardinality
from grpc.framework.interfaces.face import utilities as face_utilities
from grpc.beta import implementations as beta_implementations
from grpc.beta import interfaces as beta_interfaces
class ModelServiceStub(object):
“““ModelService provides access to information about model versions
that have been handled by the model server.
“““
def __init__(self channel):
“““Constructor.
Args:
channel: A grpc.Channel.
“““
self.GetModelStatus = channel.unary_unary(
‘/tensorflow.serving.ModelService/GetModelStatus‘
request_serializer=tensorflow__serving_dot_apis_dot_g
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-07-19 14:28 t2t
目录 0 2018-07-19 14:29 t2tserving
目录 0 2018-07-19 14:29 t2tserving ools
文件 745 2018-07-19 14:29 t2tserving oolsazel.rc
目录 0 2018-07-19 14:28 t2tservingazel-bin
目录 0 2018-07-19 14:35 t2tservingazel-out
文件 11362 2018-07-19 14:28 t2tservingLICENSE
文件 321 2018-07-19 14:28 t2tservingAUTHORS
目录 0 2018-07-19 14:29 t2tservingazel-testlogs
文件 1684 2018-07-19 14:28 t2tservingWORKSPACE
文件 2587 2018-07-19 14:28 t2tservingREADME.md
文件 56 2018-07-19 14:28 t2tservingRELEASE.md
目录 0 2018-07-19 14:29 t2tserving ensorflow_serving
目录 0 2018-07-19 14:29 t2tserving ensorflow_servingg3doc
目录 0 2018-07-19 14:29 t2tserving ensorflow_servingg3doc\_includes
文件 524 2018-07-19 14:29 t2tserving ensorflow_servingg3doc\_includes
av.md
文件 926 2018-07-19 14:29 t2tserving ensorflow_servingg3doc\_includesicon-github.svg
文件 177 2018-07-19 14:29 t2tserving ensorflow_servingg3doc\_includesicon-github.html
文件 787 2018-07-19 14:29 t2tserving ensorflow_servingg3doc\_includesicon-twitter.svg
文件 768 2018-07-19 14:29 t2tserving ensorflow_servingg3doc\_includeshead.html
文件 1467 2018-07-19 14:29 t2tserving ensorflow_servingg3doc\_includesfooter.html
文件 148 2018-07-19 14:29 t2tserving ensorflow_servingg3doc\_includesheader.html
文件 180 2018-07-19 14:29 t2tserving ensorflow_servingg3doc\_includesicon-twitter.html
文件 10848 2018-07-19 14:29 t2tserving ensorflow_servingg3docserving_basic.md
文件 187 2018-07-19 14:29 t2tserving ensorflow_servingg3docleftnav_files
文件 13128 2018-07-19 14:29 t2tserving ensorflow_servingg3docserving_advanced.md
目录 0 2018-07-19 14:29 t2tserving ensorflow_servingg3doccss
文件 1086 2018-07-19 14:29 t2tserving ensorflow_servingg3doccssmain.scss
文件 7115 2018-07-19 14:29 t2tserving ensorflow_servingg3docsetup.md
目录 0 2018-07-19 14:29 t2tserving ensorflow_servingg3docimages
文件 64424 2018-07-19 14:29 t2tserving ensorflow_servingg3docimages f_diagram.svg
............此处省略1080个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)