tensorflow

package module
v1.2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2022 License: NCSA Imports: 15 Imported by: 0

README

MLModelScope TensorFlow Agent

Build Status Go Report Card License

This is the TensorFlow agent for MLModelScope, an open-source framework and hardware agnostic, extensible and customizable platform for evaluating and profiling ML models across datasets / frameworks / systems, and within AI application pipelines.

Check out MLModelScope to learn more and to contribute.

Bare Minimum Installation

Prerequsite System Library Installation

We first discuss a bare minimum tensorflow-agent installation without the tracing and profiling capabilities. To make this work, you will need to have the following system libraries preinstalled in your system.

  • The CUDA library (required)
  • The CUPTI library (required)
  • The Tensorflow library (required)
  • The libjpeg-turbo library (optional, but preferred)
The CUDA Library

Please refer to Nvidia CUDA library installation on this. Find the location of your local CUDA installation, which is typically at /usr/local/cuda/, and setup the path to the libcublas.so library. Place the following in either your ~/.bashrc or ~/.zshrc file:

export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/cuda/lib64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64
The CUPTI Library

Please refer to Nvidia CUPTI library installation on this. Find the location of your local CUPTI installation, which is typically at /usr/local/cuda/extras/CUPTI, and setup the path to the libcupti.so library. Place the following in either your ~/.bashrc or ~/.zshrc file:

export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/cuda/extras/CUPTI/lib64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/extras/CUPTI/lib64
The TensorFlow C Library

The TensorFlow C library is required for the TensorFlow Go package. If you want to use TensorFlow Docker Images (e.g. NVIDIA GPU CLOUD (NGC)) instead, skip this step for now and refer to our later section on this.

You can download pre-built TensorFlow C library from Install TensorFlow for C.

Extract the downloaded archive to /opt/tensorflow/.

tar -C /opt/tensorflow -xzf (downloaded file)

Configure the linker environmental variables since the TensorFlow C library is extracted to a non-system directory. Place the following in either your ~/.bashrc or ~/.zshrc file

Linux

export LIBRARY_PATH=$LIBRARY_PATH:/opt/tensorflow/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/tensorflow/lib

macOS

export LIBRARY_PATH=$LIBRARY_PATH:/opt/tensorflow/lib
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/opt/tensorflow/lib

You can test the installed TensorFlow C library using an example C program.

To build the TensorFlow C library from source, refer to TensorFlow in Go .

Use libjpeg-turbo for Image Preprocessing

libjpeg-turbo is a JPEG image codec that uses SIMD instructions (MMX, SSE2, AVX2, NEON, AltiVec) to accelerate baseline JPEG compression and decompression. It outperforms libjpeg by a significant amount.

You need libjpeg installed.

sudo apt-get install libjpeg-dev  

The default is to use libjpeg-turbo, to opt-out, use build tag nolibjpeg.

To install libjpeg-turbo, refer to libjpeg-turbo.

Linux

  export TURBO_VER=2.0.2
  cd /tmp
  wget https://cfhcable.dl.sourceforge.net/project/libjpeg-turbo/${TURBO_VER}/libjpeg-turbo-official_${TURBO_VER}_amd64.deb
  sudo dpkg -i libjpeg-turbo-official_${TURBO_VER}_amd64.deb

macOS

brew install jpeg-turbo

Installation of Go for Compilation

Since we use go for MLModelScope development, it's required to have go installed in your system before proceed.

Please follow Installing Go Compiler to have go installed.

Bare Minimum Tensorflow-agent Installation

Download and install the MLModelScope TensorFlow Agent by running the following command in any location, assuming you have installed go following the above instruction.

go get -v github.com/c3sr/tensorflow

You can then install the dependency packages through go get.

cd $GOPATH/src/github.com/c3sr/tensorflow
go get -u -v ./...

An alternative to install the dependency packages is to use Dep.

dep ensure -v

This installs the dependency in vendor/.

The CGO interface passes go pointers to the C API. There is an error in the CGO runtime. We can disable the error by placing

export GODEBUG=cgocheck=0

in your ~/.bashrc or ~/.zshrc file and then run either source ~/.bashrc or source ~/.zshrc

Build the TensorFlow agent with GPU enabled

cd $GOPATH/src/github.com/c3sr/tensorflow/tensorflow-agent
go build 

Build the TensorFlow agent without GPU or libjpeg-turbo

cd $GOPATH/src/github.com/c3sr/tensorflow/tensorflow-agent
go build -tags="nogpu nolibjpeg" 

If everything is successful, you should have an executable tensorflow-agent binary in the current directory.

Configuration Setup

To run the agent, you need to setup the correct configuration file for the agent. Some of the information may not make perfect sense for all testing scenarios, but they are required and will be needed for later stage testing. Some of the port numbers as specified below can be changed depending on your later setup for those service.

So let's just set them up as is, and worry about the detailed configuration parameter values later.

You must have a carml config file called .carml_config.yml under your home directory. An example config file carml_config.yml.example is in github.com/c3sr/MLModelScope . You can move it to ~/.carml_config.yml.

The following configuration file can be placed in $HOME/.carml_config.yml or can be specified via the --config="path" option.

app:
  name: carml
  debug: true
  verbose: true
  tempdir: ~/data/carml
registry:
  provider: consul
  endpoints:
    - localhost:8500
  timeout: 20s
  serializer: jsonpb
database:
  provider: mongodb
  endpoints:
    - localhost
tracer:
  enabled: true
  provider: jaeger
  endpoints:
    - localhost:9411
  level: FULL_TRACE
logger:
  hooks:
    - syslog

Test Installation

With the configuration and the above bare minimumn installation, you should be ready to test the installation and see how things work.

Here are a few examples. First, make sure we are in the right location

cd $GOPATH/src/github.com/c3sr/tensorflow/tensorflow-agent

To see a list of help

./tensorflow-agent -h

To see a list of models that we can run with this agent

./tensorflow-agent info models

To run an inference using the default DNN model mobilenet_v1_1.0_224 with a default input image.

./tensorflow-agent predict urls --profile=false --publish=false

The above --profile=false --publish=false command parameters tell the agent that we do not want to use profiling capability and publish the results, as we haven't installed the MongoDB database to store profiling data and the tracer service to accept tracing information.

External Service Installation to Enable Tracing and Profiling

We now discuss how to install a few external services that make the agent fully useful in terms of collecting tracing and profiling data.

External Services

MLModelScope relies on a few external services. These services provide tracing and database servers.

These services can be installed and enabled in different ways. We discuss how we use docker below to show how this can be done. You can also not use docker but install those services from either binaries or source codes directly.

Installing Docker

Refer to Install Docker.

On Ubuntu, an easy way is using

curl -fsSL get.docker.com -o get-docker.sh | sudo sh
sudo usermod -aG docker $USER

On macOS, intsall Docker Destop

Starting Trace Server

This service is required.

  • On x86 (e.g. intel) machines, start jaeger by
docker run -d -e COLLECTOR_ZIPKIN_HTTP_PORT=9411 -p5775:5775/udp -p6831:6831/udp -p6832:6832/udp \
  -p5778:5778 -p16686:16686 -p14268:14268 -p9411:9411 jaegertracing/all-in-one:latest
  • On ppc64le (e.g. minsky) machines, start jaeger machine by
docker run -d -e COLLECTOR_ZIPKIN_HTTP_PORT=9411 -p5775:5775/udp -p6831:6831/udp -p6832:6832/udp \
  -p5778:5778 -p16686:16686 -p14268:14268 -p9411:9411 carml/jaeger:ppc64le-latest

The trace server runs on http://localhost:16686

Starting Database Server

This service is not required if not using database to publish evaluation results.

  • On x86 (e.g. intel) machines, start mongodb by
docker run -p 27017:27017 --restart always -d mongo:3.0

You can also mount the database volume to a local directory using

docker run -p 27017:27017 --restart always -d  -v $HOME/data/carml/mongo:/data/db mongo:3.0
Configuration

You must have a carml config file called .carml_config.yml under your home directory. An example config file ~/.carml_config.yml is already discussed above. Please update the port numbers for the above external services accordingly if you decide to choose a different ports above.

Testing

The testing steps are very similar to those testing we discussed above, except that you can now safely use both the profiling and publishing services.

Use the Agent through Command Line

Run ./tensorflow-agent -h to list the available commands.

Run ./tensorflow-agent predict to evaluate a model. This runs the default evuation. ./tensorflow-agent predict -h shows the available flags you can set.

An example run is

./tensorflow-agent predict general --trace_level=FRAMEWORK_TRACE --model_name=Inception_v3

Use the Agent through Pre-built Docker Images

We have pre-built docker images on Dockerhub. The images are c3sr/tensorflow-agent:amd64-cpu-latest, c3sr/tensorflow-agent:amd64-gpu-latest. The entrypoint is set as tensorflow-agent thus these images act similar as the command line above.

An example run is

docker run --gpus=all --shm-size=1g --ulimit memlock=-1 --ulimit stack=67108864 --privileged=true \
    --network host \
    -v ~/.carml_config.yml:/root/.carml_config.yml \ 
    -v ~/results:/go/src/github.com/c3sr/tensorflow/results \
    c3sr/tensorflow-agent:amd64-gpu-latest predict urls --trace_level=FRAMEWORK_TRACE --model_name=Inception_v3

NOTE: The SHMEM allocation limit is set to the default of 64MB. This may be insufficient for TensorFlow. NVIDIA recommends the use of the following flags: --shm-size=1g --ulimit memlock=-1 --ulimit stack=67108864 ...

NOTE: To run with GPU, you need to meet following requirements:

  • Docker >= 19.03 with nvidia-container-toolkit (otherwise need to use nvidia-docker)
  • CUDA >= 10.1
  • NVIDIA Driver >= 418.39

Notes on installing TensorFlow from source (ignore this if you are a user)

Install Bazel

Build

Build TensorFlow 1.14.0 with the following scripts.

go get -d github.com/tensorflow/tensorflow/tensorflow/go
cd ${GOPATH}/src/github.com/tensorflow/tensorflow
git fetch --all
git checkout v1.14.0
./configure

Configure the build and then run

bazel build -c opt //tensorflow:libtensorflow.so
cp ${GOPATH}/src/github.com/tensorflow/tensorflow/bazel-bin/tensorflow/libtensorflow.so /opt/tensorflow/lib

Need to put the directory that contains libtensorflow_framework.so and libtensorflow.so into $PATH.

PowerPC

For TensorFlow compilation, here are the recommended tensorflow-configure settings:

export CC_OPT_FLAGS="-mcpu=power8 -mtune=power8"
export GCC_HOST_COMPILER_PATH=/usr/bin/gcc

ANACONDA_HOME=$(conda info --json | python -c "import sys, json; print json.load(sys.stdin)['default_prefix']")
export PYTHON_BIN_PATH=$ANACONDA_HOME/bin/python
export PYTHON_LIB_PATH=$ANACONDA_HOME/lib/python2.7/site-packages

export USE_DEFAULT_PYTHON_LIB_PATH=0
export TF_NEED_CUDA=1
export TF_CUDA_VERSION=9.0
export CUDA_TOOLKIT_PATH=/usr/local/cuda-9.0
export TF_CUDA_COMPUTE_CAPABILITIES=3.5,3.7,5.2,6.0,7.0
export CUDNN_INSTALL_PATH=/usr/local/cuda-9.0
export TF_CUDNN_VERSION=7
export TF_NEED_GCP=1
export TF_NEED_OPENCL=0
export TF_NEED_HDFS=1
export TF_NEED_JEMALLOC=1
export TF_ENABLE_XLA=1
export TF_CUDA_CLANG=0
export TF_NEED_MKL=0
export TF_NEED_MPI=0
export TF_NEED_VERBS=0
export TF_NEED_GDR=0
export TF_NEED_S3=0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAllocationDescription = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAllocationDescription   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthApiDef = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApiDef   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthAttrValue = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAttrValue   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthCheckpointableObjectGraph = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCheckpointableObjectGraph   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthCluster = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCluster   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowConfig   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthControlFlow = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowControlFlow   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthCostGraph = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCostGraph   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthCriticalSection = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCriticalSection   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthDebug = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDebug   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthDeviceAttributes = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDeviceAttributes   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthDeviceProperties = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDeviceProperties   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthEagerService = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEagerService   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvent   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthFunction = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFunction   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthGraph = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGraph   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthGraphTransferInfo = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGraphTransferInfo   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthIterator = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIterator   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthKernelDef = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowKernelDef   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthLogMemory = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLogMemory   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthMaster = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMaster   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthMetaGraph = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMetaGraph   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthNamedTensor = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowNamedTensor   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthNodeDef = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowNodeDef   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthOpDef = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOpDef   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthQueueRunner = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQueueRunner   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthReaderBase = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowReaderBase   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthRemoteFusedGraphExecuteInfo = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRemoteFusedGraphExecuteInfo   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthReplayLog = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowReplayLog   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthResourceHandle = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowResourceHandle   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthRewriterConfig = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRewriterConfig   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthSavedModel = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSavedModel   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthSaver = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSaver   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthStepStats = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowStepStats   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthSummary = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSummary   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthTensor = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTensor   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthTensorBundle = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTensorBundle   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthTensorDescription = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTensorDescription   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthTensorShape = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTensorShape   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthTensorSlice = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTensorSlice   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthTensorflowServer = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTensorflowServer   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthTransportOptions = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTransportOptions   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthVariable = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowVariable   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	Version   = "1.2.8"
	BuildDate = "undefined"
	GitCommit = "undefined"
)

Version ...

View Source
var (
	ErrInvalidLengthVersions = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowVersions   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthWorker = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowWorker   = fmt.Errorf("proto: integer overflow")
)
View Source
var ApiDef_Visibility_name = map[int32]string{
	0: "DEFAULT_VISIBILITY",
	1: "VISIBLE",
	2: "SKIP",
	3: "HIDDEN",
}
View Source
var ApiDef_Visibility_value = map[string]int32{
	"DEFAULT_VISIBILITY": 0,
	"VISIBLE":            1,
	"SKIP":               2,
	"HIDDEN":             3,
}
View Source
var BundleHeaderProto_Endianness_name = map[int32]string{
	0: "LITTLE",
	1: "BIG",
}
View Source
var BundleHeaderProto_Endianness_value = map[string]int32{
	"LITTLE": 0,
	"BIG":    1,
}
View Source
var Code_name = map[int32]string{
	0:  "OK",
	1:  "CANCELLED",
	2:  "UNKNOWN",
	3:  "INVALID_ARGUMENT",
	4:  "DEADLINE_EXCEEDED",
	5:  "NOT_FOUND",
	6:  "ALREADY_EXISTS",
	7:  "PERMISSION_DENIED",
	16: "UNAUTHENTICATED",
	8:  "RESOURCE_EXHAUSTED",
	9:  "FAILED_PRECONDITION",
	10: "ABORTED",
	11: "OUT_OF_RANGE",
	12: "UNIMPLEMENTED",
	13: "INTERNAL",
	14: "UNAVAILABLE",
	15: "DATA_LOSS",
	20: "DO_NOT_USE_RESERVED_FOR_FUTURE_EXPANSION_USE_DEFAULT_IN_SWITCH_INSTEAD_",
}
View Source
var Code_value = map[string]int32{
	"OK":                  0,
	"CANCELLED":           1,
	"UNKNOWN":             2,
	"INVALID_ARGUMENT":    3,
	"DEADLINE_EXCEEDED":   4,
	"NOT_FOUND":           5,
	"ALREADY_EXISTS":      6,
	"PERMISSION_DENIED":   7,
	"UNAUTHENTICATED":     16,
	"RESOURCE_EXHAUSTED":  8,
	"FAILED_PRECONDITION": 9,
	"ABORTED":             10,
	"OUT_OF_RANGE":        11,
	"UNIMPLEMENTED":       12,
	"INTERNAL":            13,
	"UNAVAILABLE":         14,
	"DATA_LOSS":           15,
	"DO_NOT_USE_RESERVED_FOR_FUTURE_EXPANSION_USE_DEFAULT_IN_SWITCH_INSTEAD_": 20,
}
View Source
var DataType_name = map[int32]string{
	0:   "DT_INVALID",
	1:   "DT_FLOAT",
	2:   "DT_DOUBLE",
	3:   "DT_INT32",
	4:   "DT_UINT8",
	5:   "DT_INT16",
	6:   "DT_INT8",
	7:   "DT_STRING",
	8:   "DT_COMPLEX64",
	9:   "DT_INT64",
	10:  "DT_BOOL",
	11:  "DT_QINT8",
	12:  "DT_QUINT8",
	13:  "DT_QINT32",
	14:  "DT_BFLOAT16",
	15:  "DT_QINT16",
	16:  "DT_QUINT16",
	17:  "DT_UINT16",
	18:  "DT_COMPLEX128",
	19:  "DT_HALF",
	20:  "DT_RESOURCE",
	21:  "DT_VARIANT",
	22:  "DT_UINT32",
	23:  "DT_UINT64",
	101: "DT_FLOAT_REF",
	102: "DT_DOUBLE_REF",
	103: "DT_INT32_REF",
	104: "DT_UINT8_REF",
	105: "DT_INT16_REF",
	106: "DT_INT8_REF",
	107: "DT_STRING_REF",
	108: "DT_COMPLEX64_REF",
	109: "DT_INT64_REF",
	110: "DT_BOOL_REF",
	111: "DT_QINT8_REF",
	112: "DT_QUINT8_REF",
	113: "DT_QINT32_REF",
	114: "DT_BFLOAT16_REF",
	115: "DT_QINT16_REF",
	116: "DT_QUINT16_REF",
	117: "DT_UINT16_REF",
	118: "DT_COMPLEX128_REF",
	119: "DT_HALF_REF",
	120: "DT_RESOURCE_REF",
	121: "DT_VARIANT_REF",
	122: "DT_UINT32_REF",
	123: "DT_UINT64_REF",
}
View Source
var DataType_value = map[string]int32{
	"DT_INVALID":        0,
	"DT_FLOAT":          1,
	"DT_DOUBLE":         2,
	"DT_INT32":          3,
	"DT_UINT8":          4,
	"DT_INT16":          5,
	"DT_INT8":           6,
	"DT_STRING":         7,
	"DT_COMPLEX64":      8,
	"DT_INT64":          9,
	"DT_BOOL":           10,
	"DT_QINT8":          11,
	"DT_QUINT8":         12,
	"DT_QINT32":         13,
	"DT_BFLOAT16":       14,
	"DT_QINT16":         15,
	"DT_QUINT16":        16,
	"DT_UINT16":         17,
	"DT_COMPLEX128":     18,
	"DT_HALF":           19,
	"DT_RESOURCE":       20,
	"DT_VARIANT":        21,
	"DT_UINT32":         22,
	"DT_UINT64":         23,
	"DT_FLOAT_REF":      101,
	"DT_DOUBLE_REF":     102,
	"DT_INT32_REF":      103,
	"DT_UINT8_REF":      104,
	"DT_INT16_REF":      105,
	"DT_INT8_REF":       106,
	"DT_STRING_REF":     107,
	"DT_COMPLEX64_REF":  108,
	"DT_INT64_REF":      109,
	"DT_BOOL_REF":       110,
	"DT_QINT8_REF":      111,
	"DT_QUINT8_REF":     112,
	"DT_QINT32_REF":     113,
	"DT_BFLOAT16_REF":   114,
	"DT_QINT16_REF":     115,
	"DT_QUINT16_REF":    116,
	"DT_UINT16_REF":     117,
	"DT_COMPLEX128_REF": 118,
	"DT_HALF_REF":       119,
	"DT_RESOURCE_REF":   120,
	"DT_VARIANT_REF":    121,
	"DT_UINT32_REF":     122,
	"DT_UINT64_REF":     123,
}
View Source
var FrameworkManifest = dlframework.FrameworkManifest{
	Name:    "TensorFlow",
	Version: "1.14.0",
}
View Source
var GraphTransferInfo_Destination_name = map[int32]string{
	0: "NOP",
	1: "HEXAGON",
}
View Source
var GraphTransferInfo_Destination_value = map[string]int32{
	"NOP":     0,
	"HEXAGON": 1,
}
View Source
var LogMessage_Level_name = map[int32]string{
	0:  "UNKNOWN",
	10: "DEBUGGING",
	20: "INFO",
	30: "WARN",
	40: "ERROR",
	50: "FATAL",
}
View Source
var LogMessage_Level_value = map[string]int32{
	"UNKNOWN":   0,
	"DEBUGGING": 10,
	"INFO":      20,
	"WARN":      30,
	"ERROR":     40,
	"FATAL":     50,
}
View Source
var OptimizerOptions_GlobalJitLevel_name = map[int32]string{
	0:  "DEFAULT",
	-1: "OFF",
	1:  "ON_1",
	2:  "ON_2",
}
View Source
var OptimizerOptions_GlobalJitLevel_value = map[string]int32{
	"DEFAULT": 0,
	"OFF":     -1,
	"ON_1":    1,
	"ON_2":    2,
}
View Source
var OptimizerOptions_Level_name = map[int32]string{
	0:  "L1",
	-1: "L0",
}
View Source
var OptimizerOptions_Level_value = map[string]int32{
	"L1": 0,
	"L0": -1,
}
View Source
var RewriterConfig_MemOptType_name = map[int32]string{
	0: "DEFAULT_MEM_OPT",
	1: "NO_MEM_OPT",
	2: "MANUAL",
	4: "SWAPPING_HEURISTICS",
	5: "RECOMPUTATION_HEURISTICS",
	6: "SCHEDULING_HEURISTICS",
	3: "HEURISTICS",
}
View Source
var RewriterConfig_MemOptType_value = map[string]int32{
	"DEFAULT_MEM_OPT":          0,
	"NO_MEM_OPT":               1,
	"MANUAL":                   2,
	"SWAPPING_HEURISTICS":      4,
	"RECOMPUTATION_HEURISTICS": 5,
	"SCHEDULING_HEURISTICS":    6,
	"HEURISTICS":               3,
}
View Source
var RewriterConfig_NumIterationsType_name = map[int32]string{
	0: "DEFAULT_NUM_ITERS",
	1: "ONE",
	2: "TWO",
}
View Source
var RewriterConfig_NumIterationsType_value = map[string]int32{
	"DEFAULT_NUM_ITERS": 0,
	"ONE":               1,
	"TWO":               2,
}
View Source
var RewriterConfig_Toggle_name = map[int32]string{
	0: "DEFAULT",
	1: "ON",
	2: "OFF",
	3: "AGGRESSIVE",
}
View Source
var RewriterConfig_Toggle_value = map[string]int32{
	"DEFAULT":    0,
	"ON":         1,
	"OFF":        2,
	"AGGRESSIVE": 3,
}
View Source
var RunOptions_TraceLevel_name = map[int32]string{
	0: "NO_TRACE",
	1: "SOFTWARE_TRACE",
	2: "HARDWARE_TRACE",
	3: "FULL_TRACE",
}
View Source
var RunOptions_TraceLevel_value = map[string]int32{
	"NO_TRACE":       0,
	"SOFTWARE_TRACE": 1,
	"HARDWARE_TRACE": 2,
	"FULL_TRACE":     3,
}
View Source
var SaverDef_CheckpointFormatVersion_name = map[int32]string{
	0: "LEGACY",
	1: "V1",
	2: "V2",
}
View Source
var SaverDef_CheckpointFormatVersion_value = map[string]int32{
	"LEGACY": 0,
	"V1":     1,
	"V2":     2,
}
View Source
var SessionLog_SessionStatus_name = map[int32]string{
	0: "STATUS_UNSPECIFIED",
	1: "START",
	2: "STOP",
	3: "CHECKPOINT",
}
View Source
var SessionLog_SessionStatus_value = map[string]int32{
	"STATUS_UNSPECIFIED": 0,
	"START":              1,
	"STOP":               2,
	"CHECKPOINT":         3,
}
View Source
var WorkerHealth_name = map[int32]string{
	0: "OK",
	1: "RECEIVED_SHUTDOWN_SIGNAL",
	2: "INTERNAL_ERROR",
}
View Source
var WorkerHealth_value = map[string]int32{
	"OK":                       0,
	"RECEIVED_SHUTDOWN_SIGNAL": 1,
	"INTERNAL_ERROR":           2,
}
View Source
var WorkerShutdownMode_name = map[int32]string{
	0: "DEFAULT",
	1: "SHUTDOWN_IMMEDIATELY",
	2: "WAIT_FOR_COORDINATOR",
}
View Source
var WorkerShutdownMode_value = map[string]int32{
	"DEFAULT":              0,
	"SHUTDOWN_IMMEDIATELY": 1,
	"WAIT_FOR_COORDINATOR": 2,
}

Functions

func Register added in v0.2.18

func Register()

func RegisterEagerServiceServer added in v0.3.1

func RegisterEagerServiceServer(s *grpc.Server, srv EagerServiceServer)

func RegisterMasterServiceServer

func RegisterMasterServiceServer(s *grpc.Server, srv MasterServiceServer)

func RegisterWorkerServiceServer

func RegisterWorkerServiceServer(s *grpc.Server, srv WorkerServiceServer)

Types

type AllocationDescription

type AllocationDescription struct {
	// Total number of bytes requested
	RequestedBytes int64 `protobuf:"varint,1,opt,name=requested_bytes,json=requestedBytes,proto3" json:"requested_bytes,omitempty"`
	// Total number of bytes allocated if known
	AllocatedBytes int64 `protobuf:"varint,2,opt,name=allocated_bytes,json=allocatedBytes,proto3" json:"allocated_bytes,omitempty"`
	// Name of the allocator used
	AllocatorName string `protobuf:"bytes,3,opt,name=allocator_name,json=allocatorName,proto3" json:"allocator_name,omitempty"`
	// Identifier of the allocated buffer if known
	AllocationId int64 `protobuf:"varint,4,opt,name=allocation_id,json=allocationId,proto3" json:"allocation_id,omitempty"`
	// Set if this tensor only has one remaining reference
	HasSingleReference bool `protobuf:"varint,5,opt,name=has_single_reference,json=hasSingleReference,proto3" json:"has_single_reference,omitempty"`
	// Address of the allocation.
	Ptr uint64 `protobuf:"varint,6,opt,name=ptr,proto3" json:"ptr,omitempty"`
}

func (*AllocationDescription) Descriptor

func (*AllocationDescription) Descriptor() ([]byte, []int)

func (*AllocationDescription) GetAllocatedBytes

func (m *AllocationDescription) GetAllocatedBytes() int64

func (*AllocationDescription) GetAllocationId

func (m *AllocationDescription) GetAllocationId() int64

func (*AllocationDescription) GetAllocatorName

func (m *AllocationDescription) GetAllocatorName() string

func (*AllocationDescription) GetHasSingleReference

func (m *AllocationDescription) GetHasSingleReference() bool

func (*AllocationDescription) GetPtr

func (m *AllocationDescription) GetPtr() uint64

func (*AllocationDescription) GetRequestedBytes

func (m *AllocationDescription) GetRequestedBytes() int64

func (*AllocationDescription) Marshal

func (m *AllocationDescription) Marshal() (dAtA []byte, err error)

func (*AllocationDescription) MarshalTo

func (m *AllocationDescription) MarshalTo(dAtA []byte) (int, error)

func (*AllocationDescription) ProtoMessage

func (*AllocationDescription) ProtoMessage()

func (*AllocationDescription) Reset

func (m *AllocationDescription) Reset()

func (*AllocationDescription) Size

func (m *AllocationDescription) Size() (n int)

func (*AllocationDescription) String

func (m *AllocationDescription) String() string

func (*AllocationDescription) Unmarshal

func (m *AllocationDescription) Unmarshal(dAtA []byte) error

func (*AllocationDescription) XXX_DiscardUnknown added in v0.3.1

func (m *AllocationDescription) XXX_DiscardUnknown()

func (*AllocationDescription) XXX_Marshal added in v0.3.1

func (m *AllocationDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllocationDescription) XXX_Merge added in v0.3.1

func (m *AllocationDescription) XXX_Merge(src proto.Message)

func (*AllocationDescription) XXX_Size added in v0.3.1

func (m *AllocationDescription) XXX_Size() int

func (*AllocationDescription) XXX_Unmarshal added in v0.3.1

func (m *AllocationDescription) XXX_Unmarshal(b []byte) error

type AllocationRecord added in v0.3.1

type AllocationRecord struct {
	// The timestamp of the operation.
	AllocMicros int64 `protobuf:"varint,1,opt,name=alloc_micros,json=allocMicros,proto3" json:"alloc_micros,omitempty"`
	// Number of bytes allocated, or de-allocated if negative.
	AllocBytes int64 `protobuf:"varint,2,opt,name=alloc_bytes,json=allocBytes,proto3" json:"alloc_bytes,omitempty"`
}

An allocation/de-allocation operation performed by the allocator.

func (*AllocationRecord) Descriptor added in v0.3.1

func (*AllocationRecord) Descriptor() ([]byte, []int)

func (*AllocationRecord) GetAllocBytes added in v0.3.1

func (m *AllocationRecord) GetAllocBytes() int64

func (*AllocationRecord) GetAllocMicros added in v0.3.1

func (m *AllocationRecord) GetAllocMicros() int64

func (*AllocationRecord) Marshal added in v0.3.1

func (m *AllocationRecord) Marshal() (dAtA []byte, err error)

func (*AllocationRecord) MarshalTo added in v0.3.1

func (m *AllocationRecord) MarshalTo(dAtA []byte) (int, error)

func (*AllocationRecord) ProtoMessage added in v0.3.1

func (*AllocationRecord) ProtoMessage()

func (*AllocationRecord) Reset added in v0.3.1

func (m *AllocationRecord) Reset()

func (*AllocationRecord) Size added in v0.3.1

func (m *AllocationRecord) Size() (n int)

func (*AllocationRecord) String added in v0.3.1

func (m *AllocationRecord) String() string

func (*AllocationRecord) Unmarshal added in v0.3.1

func (m *AllocationRecord) Unmarshal(dAtA []byte) error

func (*AllocationRecord) XXX_DiscardUnknown added in v0.3.1

func (m *AllocationRecord) XXX_DiscardUnknown()

func (*AllocationRecord) XXX_Marshal added in v0.3.1

func (m *AllocationRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllocationRecord) XXX_Merge added in v0.3.1

func (m *AllocationRecord) XXX_Merge(src proto.Message)

func (*AllocationRecord) XXX_Size added in v0.3.1

func (m *AllocationRecord) XXX_Size() int

func (*AllocationRecord) XXX_Unmarshal added in v0.3.1

func (m *AllocationRecord) XXX_Unmarshal(b []byte) error

type AllocatorMemoryUsed

type AllocatorMemoryUsed struct {
	AllocatorName string `protobuf:"bytes,1,opt,name=allocator_name,json=allocatorName,proto3" json:"allocator_name,omitempty"`
	// These are per-node allocator memory stats.
	TotalBytes int64 `protobuf:"varint,2,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
	PeakBytes  int64 `protobuf:"varint,3,opt,name=peak_bytes,json=peakBytes,proto3" json:"peak_bytes,omitempty"`
	// The bytes that are not deallocated.
	LiveBytes int64 `protobuf:"varint,4,opt,name=live_bytes,json=liveBytes,proto3" json:"live_bytes,omitempty"`
	// The allocation and deallocation timeline.
	AllocationRecords []*AllocationRecord `protobuf:"bytes,6,rep,name=allocation_records,json=allocationRecords,proto3" json:"allocation_records,omitempty"`
	// These are snapshots of the overall allocator memory stats.
	// The number of live bytes currently allocated by the allocator.
	AllocatorBytesInUse int64 `protobuf:"varint,5,opt,name=allocator_bytes_in_use,json=allocatorBytesInUse,proto3" json:"allocator_bytes_in_use,omitempty"`
}

func (*AllocatorMemoryUsed) Descriptor

func (*AllocatorMemoryUsed) Descriptor() ([]byte, []int)

func (*AllocatorMemoryUsed) GetAllocationRecords added in v0.3.1

func (m *AllocatorMemoryUsed) GetAllocationRecords() []*AllocationRecord

func (*AllocatorMemoryUsed) GetAllocatorBytesInUse added in v0.3.1

func (m *AllocatorMemoryUsed) GetAllocatorBytesInUse() int64

func (*AllocatorMemoryUsed) GetAllocatorName

func (m *AllocatorMemoryUsed) GetAllocatorName() string

func (*AllocatorMemoryUsed) GetLiveBytes

func (m *AllocatorMemoryUsed) GetLiveBytes() int64

func (*AllocatorMemoryUsed) GetPeakBytes

func (m *AllocatorMemoryUsed) GetPeakBytes() int64

func (*AllocatorMemoryUsed) GetTotalBytes

func (m *AllocatorMemoryUsed) GetTotalBytes() int64

func (*AllocatorMemoryUsed) Marshal

func (m *AllocatorMemoryUsed) Marshal() (dAtA []byte, err error)

func (*AllocatorMemoryUsed) MarshalTo

func (m *AllocatorMemoryUsed) MarshalTo(dAtA []byte) (int, error)

func (*AllocatorMemoryUsed) ProtoMessage

func (*AllocatorMemoryUsed) ProtoMessage()

func (*AllocatorMemoryUsed) Reset

func (m *AllocatorMemoryUsed) Reset()

func (*AllocatorMemoryUsed) Size

func (m *AllocatorMemoryUsed) Size() (n int)

func (*AllocatorMemoryUsed) String

func (m *AllocatorMemoryUsed) String() string

func (*AllocatorMemoryUsed) Unmarshal

func (m *AllocatorMemoryUsed) Unmarshal(dAtA []byte) error

func (*AllocatorMemoryUsed) XXX_DiscardUnknown added in v0.3.1

func (m *AllocatorMemoryUsed) XXX_DiscardUnknown()

func (*AllocatorMemoryUsed) XXX_Marshal added in v0.3.1

func (m *AllocatorMemoryUsed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllocatorMemoryUsed) XXX_Merge added in v0.3.1

func (m *AllocatorMemoryUsed) XXX_Merge(src proto.Message)

func (*AllocatorMemoryUsed) XXX_Size added in v0.3.1

func (m *AllocatorMemoryUsed) XXX_Size() int

func (*AllocatorMemoryUsed) XXX_Unmarshal added in v0.3.1

func (m *AllocatorMemoryUsed) XXX_Unmarshal(b []byte) error

type ApiDef added in v0.3.1

type ApiDef struct {
	// Name of the op (in the OpDef) to specify the API for.
	GraphOpName string `protobuf:"bytes,1,opt,name=graph_op_name,json=graphOpName,proto3" json:"graph_op_name,omitempty"`
	// If this op is deprecated, set deprecation message to the message
	// that should be logged when this op is used.
	// The message should indicate alternative op to use, if any.
	DeprecationMessage string             `protobuf:"bytes,12,opt,name=deprecation_message,json=deprecationMessage,proto3" json:"deprecation_message,omitempty"`
	Visibility         ApiDef_Visibility  `protobuf:"varint,2,opt,name=visibility,proto3,enum=tensorflow.ApiDef_Visibility" json:"visibility,omitempty"`
	Endpoint           []*ApiDef_Endpoint `protobuf:"bytes,3,rep,name=endpoint,proto3" json:"endpoint,omitempty"`
	InArg              []*ApiDef_Arg      `protobuf:"bytes,4,rep,name=in_arg,json=inArg,proto3" json:"in_arg,omitempty"`
	OutArg             []*ApiDef_Arg      `protobuf:"bytes,5,rep,name=out_arg,json=outArg,proto3" json:"out_arg,omitempty"`
	// List of original in_arg names to specify new argument order.
	// Length of arg_order should be either empty to keep current order
	// or match size of in_arg.
	ArgOrder []string       `protobuf:"bytes,11,rep,name=arg_order,json=argOrder,proto3" json:"arg_order,omitempty"`
	Attr     []*ApiDef_Attr `protobuf:"bytes,6,rep,name=attr,proto3" json:"attr,omitempty"`
	// One-line human-readable description of what the Op does.
	Summary string `protobuf:"bytes,7,opt,name=summary,proto3" json:"summary,omitempty"`
	// Additional, longer human-readable description of what the Op does.
	Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	// Modify an existing/inherited description by adding text to the beginning
	// or end.
	DescriptionPrefix string `protobuf:"bytes,9,opt,name=description_prefix,json=descriptionPrefix,proto3" json:"description_prefix,omitempty"`
	DescriptionSuffix string `protobuf:"bytes,10,opt,name=description_suffix,json=descriptionSuffix,proto3" json:"description_suffix,omitempty"`
}

Used to specify and override the default API & behavior in the generated code for client languages, from what you would get from the OpDef alone. There will be a set of ApiDefs that are common to all client languages, and another set per client language. The per-client-language ApiDefs will inherit values from the common ApiDefs which it can either replace or modify.

We separate the API definition from the OpDef so we can evolve the API while remaining backwards compatible when interpretting old graphs. Overrides go in an "api_def.pbtxt" file with a text-format ApiDefs message.

WARNING: Be *very* careful changing the API for any existing op -- you can change the semantics of existing code. These changes may need to wait until a major release of TensorFlow to avoid breaking our compatibility promises.

func (*ApiDef) Descriptor added in v0.3.1

func (*ApiDef) Descriptor() ([]byte, []int)

func (*ApiDef) GetArgOrder added in v0.3.1

func (m *ApiDef) GetArgOrder() []string

func (*ApiDef) GetAttr added in v0.3.1

func (m *ApiDef) GetAttr() []*ApiDef_Attr

func (*ApiDef) GetDeprecationMessage added in v0.3.1

func (m *ApiDef) GetDeprecationMessage() string

func (*ApiDef) GetDescription added in v0.3.1

func (m *ApiDef) GetDescription() string

func (*ApiDef) GetDescriptionPrefix added in v0.3.1

func (m *ApiDef) GetDescriptionPrefix() string

func (*ApiDef) GetDescriptionSuffix added in v0.3.1

func (m *ApiDef) GetDescriptionSuffix() string

func (*ApiDef) GetEndpoint added in v0.3.1

func (m *ApiDef) GetEndpoint() []*ApiDef_Endpoint

func (*ApiDef) GetGraphOpName added in v0.3.1

func (m *ApiDef) GetGraphOpName() string

func (*ApiDef) GetInArg added in v0.3.1

func (m *ApiDef) GetInArg() []*ApiDef_Arg

func (*ApiDef) GetOutArg added in v0.3.1

func (m *ApiDef) GetOutArg() []*ApiDef_Arg

func (*ApiDef) GetSummary added in v0.3.1

func (m *ApiDef) GetSummary() string

func (*ApiDef) GetVisibility added in v0.3.1

func (m *ApiDef) GetVisibility() ApiDef_Visibility

func (*ApiDef) Marshal added in v0.3.1

func (m *ApiDef) Marshal() (dAtA []byte, err error)

func (*ApiDef) MarshalTo added in v0.3.1

func (m *ApiDef) MarshalTo(dAtA []byte) (int, error)

func (*ApiDef) ProtoMessage added in v0.3.1

func (*ApiDef) ProtoMessage()

func (*ApiDef) Reset added in v0.3.1

func (m *ApiDef) Reset()

func (*ApiDef) Size added in v0.3.1

func (m *ApiDef) Size() (n int)

func (*ApiDef) String added in v0.3.1

func (m *ApiDef) String() string

func (*ApiDef) Unmarshal added in v0.3.1

func (m *ApiDef) Unmarshal(dAtA []byte) error

func (*ApiDef) XXX_DiscardUnknown added in v0.3.1

func (m *ApiDef) XXX_DiscardUnknown()

func (*ApiDef) XXX_Marshal added in v0.3.1

func (m *ApiDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApiDef) XXX_Merge added in v0.3.1

func (m *ApiDef) XXX_Merge(src proto.Message)

func (*ApiDef) XXX_Size added in v0.3.1

func (m *ApiDef) XXX_Size() int

func (*ApiDef) XXX_Unmarshal added in v0.3.1

func (m *ApiDef) XXX_Unmarshal(b []byte) error

type ApiDef_Arg added in v0.3.1

type ApiDef_Arg struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Change the name used to access this arg in the API from what
	// is used in the GraphDef.  Note that these names in `backticks`
	// will also be replaced in the summary & description fields.
	RenameTo string `protobuf:"bytes,2,opt,name=rename_to,json=renameTo,proto3" json:"rename_to,omitempty"`
	// Note: this will replace any inherited arg doc. There is no
	// current way of modifying arg descriptions (other than replacing
	// them entirely) as can be done with op descriptions.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
}

func (*ApiDef_Arg) Descriptor added in v0.3.1

func (*ApiDef_Arg) Descriptor() ([]byte, []int)

func (*ApiDef_Arg) GetDescription added in v0.3.1

func (m *ApiDef_Arg) GetDescription() string

func (*ApiDef_Arg) GetName added in v0.3.1

func (m *ApiDef_Arg) GetName() string

func (*ApiDef_Arg) GetRenameTo added in v0.3.1

func (m *ApiDef_Arg) GetRenameTo() string

func (*ApiDef_Arg) Marshal added in v0.3.1

func (m *ApiDef_Arg) Marshal() (dAtA []byte, err error)

func (*ApiDef_Arg) MarshalTo added in v0.3.1

func (m *ApiDef_Arg) MarshalTo(dAtA []byte) (int, error)

func (*ApiDef_Arg) ProtoMessage added in v0.3.1

func (*ApiDef_Arg) ProtoMessage()

func (*ApiDef_Arg) Reset added in v0.3.1

func (m *ApiDef_Arg) Reset()

func (*ApiDef_Arg) Size added in v0.3.1

func (m *ApiDef_Arg) Size() (n int)

func (*ApiDef_Arg) String added in v0.3.1

func (m *ApiDef_Arg) String() string

func (*ApiDef_Arg) Unmarshal added in v0.3.1

func (m *ApiDef_Arg) Unmarshal(dAtA []byte) error

func (*ApiDef_Arg) XXX_DiscardUnknown added in v0.3.1

func (m *ApiDef_Arg) XXX_DiscardUnknown()

func (*ApiDef_Arg) XXX_Marshal added in v0.3.1

func (m *ApiDef_Arg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApiDef_Arg) XXX_Merge added in v0.3.1

func (m *ApiDef_Arg) XXX_Merge(src proto.Message)

func (*ApiDef_Arg) XXX_Size added in v0.3.1

func (m *ApiDef_Arg) XXX_Size() int

func (*ApiDef_Arg) XXX_Unmarshal added in v0.3.1

func (m *ApiDef_Arg) XXX_Unmarshal(b []byte) error

type ApiDef_Attr added in v0.3.1

type ApiDef_Attr struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Change the name used to access this attr in the API from what
	// is used in the GraphDef.  Note that these names in `backticks`
	// will also be replaced in the summary & description fields.
	RenameTo string `protobuf:"bytes,2,opt,name=rename_to,json=renameTo,proto3" json:"rename_to,omitempty"`
	// Specify a new default value to use for this attr.  This default
	// will be used when creating new graphs, as opposed to the
	// default in the OpDef, which will be used when interpreting old
	// GraphDefs.
	DefaultValue *AttrValue `protobuf:"bytes,3,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// Note: this will replace any inherited attr doc, there is no current
	// way of modifying attr descriptions as can be done with op descriptions.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
}

Description of the graph-construction-time configuration of this Op. That is to say, this describes the attr fields that will be specified in the NodeDef.

func (*ApiDef_Attr) Descriptor added in v0.3.1

func (*ApiDef_Attr) Descriptor() ([]byte, []int)

func (*ApiDef_Attr) GetDefaultValue added in v0.3.1

func (m *ApiDef_Attr) GetDefaultValue() *AttrValue

func (*ApiDef_Attr) GetDescription added in v0.3.1

func (m *ApiDef_Attr) GetDescription() string

func (*ApiDef_Attr) GetName added in v0.3.1

func (m *ApiDef_Attr) GetName() string

func (*ApiDef_Attr) GetRenameTo added in v0.3.1

func (m *ApiDef_Attr) GetRenameTo() string

func (*ApiDef_Attr) Marshal added in v0.3.1

func (m *ApiDef_Attr) Marshal() (dAtA []byte, err error)

func (*ApiDef_Attr) MarshalTo added in v0.3.1

func (m *ApiDef_Attr) MarshalTo(dAtA []byte) (int, error)

func (*ApiDef_Attr) ProtoMessage added in v0.3.1

func (*ApiDef_Attr) ProtoMessage()

func (*ApiDef_Attr) Reset added in v0.3.1

func (m *ApiDef_Attr) Reset()

func (*ApiDef_Attr) Size added in v0.3.1

func (m *ApiDef_Attr) Size() (n int)

func (*ApiDef_Attr) String added in v0.3.1

func (m *ApiDef_Attr) String() string

func (*ApiDef_Attr) Unmarshal added in v0.3.1

func (m *ApiDef_Attr) Unmarshal(dAtA []byte) error

func (*ApiDef_Attr) XXX_DiscardUnknown added in v0.3.1

func (m *ApiDef_Attr) XXX_DiscardUnknown()

func (*ApiDef_Attr) XXX_Marshal added in v0.3.1

func (m *ApiDef_Attr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApiDef_Attr) XXX_Merge added in v0.3.1

func (m *ApiDef_Attr) XXX_Merge(src proto.Message)

func (*ApiDef_Attr) XXX_Size added in v0.3.1

func (m *ApiDef_Attr) XXX_Size() int

func (*ApiDef_Attr) XXX_Unmarshal added in v0.3.1

func (m *ApiDef_Attr) XXX_Unmarshal(b []byte) error

type ApiDef_Endpoint added in v0.3.1

type ApiDef_Endpoint struct {
	// Name should be either like "CamelCaseName" or
	// "Package.CamelCaseName". Client-language-specific ApiDefs may
	// use a snake_case convention instead of CamelCase.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Set if this endpoint is deprecated. If set to true, a message suggesting
	// to use a non-deprecated endpoint instead will be printed. If all
	// endpoints are deprecated, set deprecation_message in ApiDef instead.
	Deprecated bool `protobuf:"varint,3,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
}

If you specify any endpoint, this will replace all of the inherited endpoints. The first endpoint should be the "canonical" endpoint, and should not be deprecated (unless all endpoints are deprecated).

func (*ApiDef_Endpoint) Descriptor added in v0.3.1

func (*ApiDef_Endpoint) Descriptor() ([]byte, []int)

func (*ApiDef_Endpoint) GetDeprecated added in v0.3.1

func (m *ApiDef_Endpoint) GetDeprecated() bool

func (*ApiDef_Endpoint) GetName added in v0.3.1

func (m *ApiDef_Endpoint) GetName() string

func (*ApiDef_Endpoint) Marshal added in v0.3.1

func (m *ApiDef_Endpoint) Marshal() (dAtA []byte, err error)

func (*ApiDef_Endpoint) MarshalTo added in v0.3.1

func (m *ApiDef_Endpoint) MarshalTo(dAtA []byte) (int, error)

func (*ApiDef_Endpoint) ProtoMessage added in v0.3.1

func (*ApiDef_Endpoint) ProtoMessage()

func (*ApiDef_Endpoint) Reset added in v0.3.1

func (m *ApiDef_Endpoint) Reset()

func (*ApiDef_Endpoint) Size added in v0.3.1

func (m *ApiDef_Endpoint) Size() (n int)

func (*ApiDef_Endpoint) String added in v0.3.1

func (m *ApiDef_Endpoint) String() string

func (*ApiDef_Endpoint) Unmarshal added in v0.3.1

func (m *ApiDef_Endpoint) Unmarshal(dAtA []byte) error

func (*ApiDef_Endpoint) XXX_DiscardUnknown added in v0.3.1

func (m *ApiDef_Endpoint) XXX_DiscardUnknown()

func (*ApiDef_Endpoint) XXX_Marshal added in v0.3.1

func (m *ApiDef_Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApiDef_Endpoint) XXX_Merge added in v0.3.1

func (m *ApiDef_Endpoint) XXX_Merge(src proto.Message)

func (*ApiDef_Endpoint) XXX_Size added in v0.3.1

func (m *ApiDef_Endpoint) XXX_Size() int

func (*ApiDef_Endpoint) XXX_Unmarshal added in v0.3.1

func (m *ApiDef_Endpoint) XXX_Unmarshal(b []byte) error

type ApiDef_Visibility added in v0.3.1

type ApiDef_Visibility int32
const (
	// Normally this is "VISIBLE" unless you are inheriting a
	// different value from another ApiDef.
	ApiDef_DEFAULT_VISIBILITY ApiDef_Visibility = 0
	// Publicly visible in the API.
	ApiDef_VISIBLE ApiDef_Visibility = 1
	// Do not include this op in the generated API. If visibility is
	// set to 'SKIP', other fields are ignored for this op.
	ApiDef_SKIP ApiDef_Visibility = 2
	// Hide this op by putting it into an internal namespace (or whatever
	// is appropriate in the target language).
	ApiDef_HIDDEN ApiDef_Visibility = 3
)

func (ApiDef_Visibility) EnumDescriptor added in v0.3.1

func (ApiDef_Visibility) EnumDescriptor() ([]byte, []int)

func (ApiDef_Visibility) String added in v0.3.1

func (x ApiDef_Visibility) String() string

type ApiDefs added in v0.3.1

type ApiDefs struct {
	Op []*ApiDef `protobuf:"bytes,1,rep,name=op,proto3" json:"op,omitempty"`
}

func (*ApiDefs) Descriptor added in v0.3.1

func (*ApiDefs) Descriptor() ([]byte, []int)

func (*ApiDefs) GetOp added in v0.3.1

func (m *ApiDefs) GetOp() []*ApiDef

func (*ApiDefs) Marshal added in v0.3.1

func (m *ApiDefs) Marshal() (dAtA []byte, err error)

func (*ApiDefs) MarshalTo added in v0.3.1

func (m *ApiDefs) MarshalTo(dAtA []byte) (int, error)

func (*ApiDefs) ProtoMessage added in v0.3.1

func (*ApiDefs) ProtoMessage()

func (*ApiDefs) Reset added in v0.3.1

func (m *ApiDefs) Reset()

func (*ApiDefs) Size added in v0.3.1

func (m *ApiDefs) Size() (n int)

func (*ApiDefs) String added in v0.3.1

func (m *ApiDefs) String() string

func (*ApiDefs) Unmarshal added in v0.3.1

func (m *ApiDefs) Unmarshal(dAtA []byte) error

func (*ApiDefs) XXX_DiscardUnknown added in v0.3.1

func (m *ApiDefs) XXX_DiscardUnknown()

func (*ApiDefs) XXX_Marshal added in v0.3.1

func (m *ApiDefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApiDefs) XXX_Merge added in v0.3.1

func (m *ApiDefs) XXX_Merge(src proto.Message)

func (*ApiDefs) XXX_Size added in v0.3.1

func (m *ApiDefs) XXX_Size() int

func (*ApiDefs) XXX_Unmarshal added in v0.3.1

func (m *ApiDefs) XXX_Unmarshal(b []byte) error

type AssetFileDef

type AssetFileDef struct {
	// The tensor to bind the asset filename to.
	TensorInfo *TensorInfo `protobuf:"bytes,1,opt,name=tensor_info,json=tensorInfo,proto3" json:"tensor_info,omitempty"`
	// The filename within an assets directory. Note: does not include the path
	// prefix, i.e. directories. For an asset at /tmp/path/vocab.txt, the filename
	// would be "vocab.txt".
	Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
}

An asset file def for a single file or a set of sharded files with the same name.

func (*AssetFileDef) Descriptor

func (*AssetFileDef) Descriptor() ([]byte, []int)

func (*AssetFileDef) GetFilename

func (m *AssetFileDef) GetFilename() string

func (*AssetFileDef) GetTensorInfo

func (m *AssetFileDef) GetTensorInfo() *TensorInfo

func (*AssetFileDef) Marshal

func (m *AssetFileDef) Marshal() (dAtA []byte, err error)

func (*AssetFileDef) MarshalTo

func (m *AssetFileDef) MarshalTo(dAtA []byte) (int, error)

func (*AssetFileDef) ProtoMessage

func (*AssetFileDef) ProtoMessage()

func (*AssetFileDef) Reset

func (m *AssetFileDef) Reset()

func (*AssetFileDef) Size

func (m *AssetFileDef) Size() (n int)

func (*AssetFileDef) String

func (m *AssetFileDef) String() string

func (*AssetFileDef) Unmarshal

func (m *AssetFileDef) Unmarshal(dAtA []byte) error

func (*AssetFileDef) XXX_DiscardUnknown added in v0.3.1

func (m *AssetFileDef) XXX_DiscardUnknown()

func (*AssetFileDef) XXX_Marshal added in v0.3.1

func (m *AssetFileDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssetFileDef) XXX_Merge added in v0.3.1

func (m *AssetFileDef) XXX_Merge(src proto.Message)

func (*AssetFileDef) XXX_Size added in v0.3.1

func (m *AssetFileDef) XXX_Size() int

func (*AssetFileDef) XXX_Unmarshal added in v0.3.1

func (m *AssetFileDef) XXX_Unmarshal(b []byte) error

type AttrValue

type AttrValue struct {
	// Types that are valid to be assigned to Value:
	//	*AttrValue_S
	//	*AttrValue_I
	//	*AttrValue_F
	//	*AttrValue_B
	//	*AttrValue_Type
	//	*AttrValue_Shape
	//	*AttrValue_Tensor
	//	*AttrValue_List
	//	*AttrValue_Func
	//	*AttrValue_Placeholder
	Value isAttrValue_Value `protobuf_oneof:"value"`
}

Protocol buffer representing the value for an attr used to configure an Op. Comment indicates the corresponding attr type. Only the field matching the attr type may be filled.

func (*AttrValue) Descriptor

func (*AttrValue) Descriptor() ([]byte, []int)

func (*AttrValue) GetB

func (m *AttrValue) GetB() bool

func (*AttrValue) GetF

func (m *AttrValue) GetF() float32

func (*AttrValue) GetFunc

func (m *AttrValue) GetFunc() *NameAttrList

func (*AttrValue) GetI

func (m *AttrValue) GetI() int64

func (*AttrValue) GetList

func (m *AttrValue) GetList() *AttrValue_ListValue

func (*AttrValue) GetPlaceholder

func (m *AttrValue) GetPlaceholder() string

func (*AttrValue) GetS

func (m *AttrValue) GetS() []byte

func (*AttrValue) GetShape

func (m *AttrValue) GetShape() *TensorShapeProto

func (*AttrValue) GetTensor

func (m *AttrValue) GetTensor() *TensorProto

func (*AttrValue) GetType

func (m *AttrValue) GetType() DataType

func (*AttrValue) GetValue

func (m *AttrValue) GetValue() isAttrValue_Value

func (*AttrValue) Marshal

func (m *AttrValue) Marshal() (dAtA []byte, err error)

func (*AttrValue) MarshalTo

func (m *AttrValue) MarshalTo(dAtA []byte) (int, error)

func (*AttrValue) ProtoMessage

func (*AttrValue) ProtoMessage()

func (*AttrValue) Reset

func (m *AttrValue) Reset()

func (*AttrValue) Size

func (m *AttrValue) Size() (n int)

func (*AttrValue) String

func (m *AttrValue) String() string

func (*AttrValue) Unmarshal

func (m *AttrValue) Unmarshal(dAtA []byte) error

func (*AttrValue) XXX_DiscardUnknown added in v0.3.1

func (m *AttrValue) XXX_DiscardUnknown()

func (*AttrValue) XXX_Marshal added in v0.3.1

func (m *AttrValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttrValue) XXX_Merge added in v0.3.1

func (m *AttrValue) XXX_Merge(src proto.Message)

func (*AttrValue) XXX_OneofFuncs

func (*AttrValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*AttrValue) XXX_Size added in v0.3.1

func (m *AttrValue) XXX_Size() int

func (*AttrValue) XXX_Unmarshal added in v0.3.1

func (m *AttrValue) XXX_Unmarshal(b []byte) error

type AttrValue_B

type AttrValue_B struct {
	B bool `protobuf:"varint,5,opt,name=b,proto3,oneof"`
}

func (*AttrValue_B) MarshalTo

func (m *AttrValue_B) MarshalTo(dAtA []byte) (int, error)

func (*AttrValue_B) Size

func (m *AttrValue_B) Size() (n int)

type AttrValue_F

type AttrValue_F struct {
	F float32 `protobuf:"fixed32,4,opt,name=f,proto3,oneof"`
}

func (*AttrValue_F) MarshalTo

func (m *AttrValue_F) MarshalTo(dAtA []byte) (int, error)

func (*AttrValue_F) Size

func (m *AttrValue_F) Size() (n int)

type AttrValue_Func

type AttrValue_Func struct {
	Func *NameAttrList `protobuf:"bytes,10,opt,name=func,proto3,oneof"`
}

func (*AttrValue_Func) MarshalTo

func (m *AttrValue_Func) MarshalTo(dAtA []byte) (int, error)

func (*AttrValue_Func) Size

func (m *AttrValue_Func) Size() (n int)

type AttrValue_I

type AttrValue_I struct {
	I int64 `protobuf:"varint,3,opt,name=i,proto3,oneof"`
}

func (*AttrValue_I) MarshalTo

func (m *AttrValue_I) MarshalTo(dAtA []byte) (int, error)

func (*AttrValue_I) Size

func (m *AttrValue_I) Size() (n int)

type AttrValue_List

type AttrValue_List struct {
	List *AttrValue_ListValue `protobuf:"bytes,1,opt,name=list,proto3,oneof"`
}

func (*AttrValue_List) MarshalTo

func (m *AttrValue_List) MarshalTo(dAtA []byte) (int, error)

func (*AttrValue_List) Size

func (m *AttrValue_List) Size() (n int)

type AttrValue_ListValue

type AttrValue_ListValue struct {
	S      [][]byte            `protobuf:"bytes,2,rep,name=s,proto3" json:"s,omitempty"`
	I      []int64             `protobuf:"varint,3,rep,packed,name=i,proto3" json:"i,omitempty"`
	F      []float32           `protobuf:"fixed32,4,rep,packed,name=f,proto3" json:"f,omitempty"`
	B      []bool              `protobuf:"varint,5,rep,packed,name=b,proto3" json:"b,omitempty"`
	Type   []DataType          `protobuf:"varint,6,rep,packed,name=type,proto3,enum=tensorflow.DataType" json:"type,omitempty"`
	Shape  []*TensorShapeProto `protobuf:"bytes,7,rep,name=shape,proto3" json:"shape,omitempty"`
	Tensor []*TensorProto      `protobuf:"bytes,8,rep,name=tensor,proto3" json:"tensor,omitempty"`
	Func   []*NameAttrList     `protobuf:"bytes,9,rep,name=func,proto3" json:"func,omitempty"`
}

LINT.IfChange

func (*AttrValue_ListValue) Descriptor

func (*AttrValue_ListValue) Descriptor() ([]byte, []int)

func (*AttrValue_ListValue) GetB

func (m *AttrValue_ListValue) GetB() []bool

func (*AttrValue_ListValue) GetF

func (m *AttrValue_ListValue) GetF() []float32

func (*AttrValue_ListValue) GetFunc

func (m *AttrValue_ListValue) GetFunc() []*NameAttrList

func (*AttrValue_ListValue) GetI

func (m *AttrValue_ListValue) GetI() []int64

func (*AttrValue_ListValue) GetS

func (m *AttrValue_ListValue) GetS() [][]byte

func (*AttrValue_ListValue) GetShape

func (m *AttrValue_ListValue) GetShape() []*TensorShapeProto

func (*AttrValue_ListValue) GetTensor

func (m *AttrValue_ListValue) GetTensor() []*TensorProto

func (*AttrValue_ListValue) GetType

func (m *AttrValue_ListValue) GetType() []DataType

func (*AttrValue_ListValue) Marshal

func (m *AttrValue_ListValue) Marshal() (dAtA []byte, err error)

func (*AttrValue_ListValue) MarshalTo

func (m *AttrValue_ListValue) MarshalTo(dAtA []byte) (int, error)

func (*AttrValue_ListValue) ProtoMessage

func (*AttrValue_ListValue) ProtoMessage()

func (*AttrValue_ListValue) Reset

func (m *AttrValue_ListValue) Reset()

func (*AttrValue_ListValue) Size

func (m *AttrValue_ListValue) Size() (n int)

func (*AttrValue_ListValue) String

func (m *AttrValue_ListValue) String() string

func (*AttrValue_ListValue) Unmarshal

func (m *AttrValue_ListValue) Unmarshal(dAtA []byte) error

func (*AttrValue_ListValue) XXX_DiscardUnknown added in v0.3.1

func (m *AttrValue_ListValue) XXX_DiscardUnknown()

func (*AttrValue_ListValue) XXX_Marshal added in v0.3.1

func (m *AttrValue_ListValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttrValue_ListValue) XXX_Merge added in v0.3.1

func (m *AttrValue_ListValue) XXX_Merge(src proto.Message)

func (*AttrValue_ListValue) XXX_Size added in v0.3.1

func (m *AttrValue_ListValue) XXX_Size() int

func (*AttrValue_ListValue) XXX_Unmarshal added in v0.3.1

func (m *AttrValue_ListValue) XXX_Unmarshal(b []byte) error

type AttrValue_Placeholder

type AttrValue_Placeholder struct {
	Placeholder string `protobuf:"bytes,9,opt,name=placeholder,proto3,oneof"`
}

func (*AttrValue_Placeholder) MarshalTo

func (m *AttrValue_Placeholder) MarshalTo(dAtA []byte) (int, error)

func (*AttrValue_Placeholder) Size

func (m *AttrValue_Placeholder) Size() (n int)

type AttrValue_S

type AttrValue_S struct {
	S []byte `protobuf:"bytes,2,opt,name=s,proto3,oneof"`
}

func (*AttrValue_S) MarshalTo

func (m *AttrValue_S) MarshalTo(dAtA []byte) (int, error)

func (*AttrValue_S) Size

func (m *AttrValue_S) Size() (n int)

type AttrValue_Shape

type AttrValue_Shape struct {
	Shape *TensorShapeProto `protobuf:"bytes,7,opt,name=shape,proto3,oneof"`
}

func (*AttrValue_Shape) MarshalTo

func (m *AttrValue_Shape) MarshalTo(dAtA []byte) (int, error)

func (*AttrValue_Shape) Size

func (m *AttrValue_Shape) Size() (n int)

type AttrValue_Tensor

type AttrValue_Tensor struct {
	Tensor *TensorProto `protobuf:"bytes,8,opt,name=tensor,proto3,oneof"`
}

func (*AttrValue_Tensor) MarshalTo

func (m *AttrValue_Tensor) MarshalTo(dAtA []byte) (int, error)

func (*AttrValue_Tensor) Size

func (m *AttrValue_Tensor) Size() (n int)

type AttrValue_Type

type AttrValue_Type struct {
	Type DataType `protobuf:"varint,6,opt,name=type,proto3,enum=tensorflow.DataType,oneof"`
}

func (*AttrValue_Type) MarshalTo

func (m *AttrValue_Type) MarshalTo(dAtA []byte) (int, error)

func (*AttrValue_Type) Size

func (m *AttrValue_Type) Size() (n int)

type AutoParallelOptions

type AutoParallelOptions struct {
	Enable      bool  `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
	NumReplicas int32 `protobuf:"varint,2,opt,name=num_replicas,json=numReplicas,proto3" json:"num_replicas,omitempty"`
}

func (*AutoParallelOptions) Descriptor

func (*AutoParallelOptions) Descriptor() ([]byte, []int)

func (*AutoParallelOptions) GetEnable

func (m *AutoParallelOptions) GetEnable() bool

func (*AutoParallelOptions) GetNumReplicas

func (m *AutoParallelOptions) GetNumReplicas() int32

func (*AutoParallelOptions) Marshal

func (m *AutoParallelOptions) Marshal() (dAtA []byte, err error)

func (*AutoParallelOptions) MarshalTo

func (m *AutoParallelOptions) MarshalTo(dAtA []byte) (int, error)

func (*AutoParallelOptions) ProtoMessage

func (*AutoParallelOptions) ProtoMessage()

func (*AutoParallelOptions) Reset

func (m *AutoParallelOptions) Reset()

func (*AutoParallelOptions) Size

func (m *AutoParallelOptions) Size() (n int)

func (*AutoParallelOptions) String

func (m *AutoParallelOptions) String() string

func (*AutoParallelOptions) Unmarshal

func (m *AutoParallelOptions) Unmarshal(dAtA []byte) error

func (*AutoParallelOptions) XXX_DiscardUnknown added in v0.3.1

func (m *AutoParallelOptions) XXX_DiscardUnknown()

func (*AutoParallelOptions) XXX_Marshal added in v0.3.1

func (m *AutoParallelOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AutoParallelOptions) XXX_Merge added in v0.3.1

func (m *AutoParallelOptions) XXX_Merge(src proto.Message)

func (*AutoParallelOptions) XXX_Size added in v0.3.1

func (m *AutoParallelOptions) XXX_Size() int

func (*AutoParallelOptions) XXX_Unmarshal added in v0.3.1

func (m *AutoParallelOptions) XXX_Unmarshal(b []byte) error

type BundleEntryProto

type BundleEntryProto struct {
	// The tensor dtype and shape.
	Dtype DataType          `protobuf:"varint,1,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
	Shape *TensorShapeProto `protobuf:"bytes,2,opt,name=shape,proto3" json:"shape,omitempty"`
	// The binary content of the tensor lies in:
	//   File "shard_id": bytes [offset, offset + size).
	ShardId int32 `protobuf:"varint,3,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
	Offset  int64 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	Size_   int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
	// The CRC32C checksum of the tensor bytes.
	Crc32C uint32 `protobuf:"fixed32,6,opt,name=crc32c,proto3" json:"crc32c,omitempty"`
	// Iff present, this entry represents a partitioned tensor.  The previous
	// fields are interpreted as follows:
	//
	//   "dtype", "shape": describe the full tensor.
	//   "shard_id", "offset", "size", "crc32c": all IGNORED.
	//      These information for each slice can be looked up in their own
	//      BundleEntryProto, keyed by each "slice_name".
	Slices []*TensorSliceProto `protobuf:"bytes,7,rep,name=slices,proto3" json:"slices,omitempty"`
}

Describes the metadata related to a checkpointed tensor.

func (*BundleEntryProto) Descriptor

func (*BundleEntryProto) Descriptor() ([]byte, []int)

func (*BundleEntryProto) GetCrc32C

func (m *BundleEntryProto) GetCrc32C() uint32

func (*BundleEntryProto) GetDtype

func (m *BundleEntryProto) GetDtype() DataType

func (*BundleEntryProto) GetOffset

func (m *BundleEntryProto) GetOffset() int64

func (*BundleEntryProto) GetShape

func (m *BundleEntryProto) GetShape() *TensorShapeProto

func (*BundleEntryProto) GetShardId

func (m *BundleEntryProto) GetShardId() int32

func (*BundleEntryProto) GetSize_

func (m *BundleEntryProto) GetSize_() int64

func (*BundleEntryProto) GetSlices

func (m *BundleEntryProto) GetSlices() []*TensorSliceProto

func (*BundleEntryProto) Marshal

func (m *BundleEntryProto) Marshal() (dAtA []byte, err error)

func (*BundleEntryProto) MarshalTo

func (m *BundleEntryProto) MarshalTo(dAtA []byte) (int, error)

func (*BundleEntryProto) ProtoMessage

func (*BundleEntryProto) ProtoMessage()

func (*BundleEntryProto) Reset

func (m *BundleEntryProto) Reset()

func (*BundleEntryProto) Size

func (m *BundleEntryProto) Size() (n int)

func (*BundleEntryProto) String

func (m *BundleEntryProto) String() string

func (*BundleEntryProto) Unmarshal

func (m *BundleEntryProto) Unmarshal(dAtA []byte) error

func (*BundleEntryProto) XXX_DiscardUnknown added in v0.3.1

func (m *BundleEntryProto) XXX_DiscardUnknown()

func (*BundleEntryProto) XXX_Marshal added in v0.3.1

func (m *BundleEntryProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BundleEntryProto) XXX_Merge added in v0.3.1

func (m *BundleEntryProto) XXX_Merge(src proto.Message)

func (*BundleEntryProto) XXX_Size added in v0.3.1

func (m *BundleEntryProto) XXX_Size() int

func (*BundleEntryProto) XXX_Unmarshal added in v0.3.1

func (m *BundleEntryProto) XXX_Unmarshal(b []byte) error

type BundleHeaderProto

type BundleHeaderProto struct {
	// Number of data files in the bundle.
	NumShards  int32                        `protobuf:"varint,1,opt,name=num_shards,json=numShards,proto3" json:"num_shards,omitempty"`
	Endianness BundleHeaderProto_Endianness `protobuf:"varint,2,opt,name=endianness,proto3,enum=tensorflow.BundleHeaderProto_Endianness" json:"endianness,omitempty"`
	// Versioning of the tensor bundle format.
	Version *VersionDef `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
}

Special header that is associated with a bundle.

TODO(zongheng,zhifengc): maybe in the future, we can add information about which binary produced this checkpoint, timestamp, etc. Sometime, these can be valuable debugging information. And if needed, these can be used as defensive information ensuring reader (binary version) of the checkpoint and the writer (binary version) must match within certain range, etc.

func (*BundleHeaderProto) Descriptor

func (*BundleHeaderProto) Descriptor() ([]byte, []int)

func (*BundleHeaderProto) GetEndianness

func (*BundleHeaderProto) GetNumShards

func (m *BundleHeaderProto) GetNumShards() int32

func (*BundleHeaderProto) GetVersion

func (m *BundleHeaderProto) GetVersion() *VersionDef

func (*BundleHeaderProto) Marshal

func (m *BundleHeaderProto) Marshal() (dAtA []byte, err error)

func (*BundleHeaderProto) MarshalTo

func (m *BundleHeaderProto) MarshalTo(dAtA []byte) (int, error)

func (*BundleHeaderProto) ProtoMessage

func (*BundleHeaderProto) ProtoMessage()

func (*BundleHeaderProto) Reset

func (m *BundleHeaderProto) Reset()

func (*BundleHeaderProto) Size

func (m *BundleHeaderProto) Size() (n int)

func (*BundleHeaderProto) String

func (m *BundleHeaderProto) String() string

func (*BundleHeaderProto) Unmarshal

func (m *BundleHeaderProto) Unmarshal(dAtA []byte) error

func (*BundleHeaderProto) XXX_DiscardUnknown added in v0.3.1

func (m *BundleHeaderProto) XXX_DiscardUnknown()

func (*BundleHeaderProto) XXX_Marshal added in v0.3.1

func (m *BundleHeaderProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BundleHeaderProto) XXX_Merge added in v0.3.1

func (m *BundleHeaderProto) XXX_Merge(src proto.Message)

func (*BundleHeaderProto) XXX_Size added in v0.3.1

func (m *BundleHeaderProto) XXX_Size() int

func (*BundleHeaderProto) XXX_Unmarshal added in v0.3.1

func (m *BundleHeaderProto) XXX_Unmarshal(b []byte) error

type BundleHeaderProto_Endianness

type BundleHeaderProto_Endianness int32

An enum indicating the endianness of the platform that produced this bundle. A bundle can only be read by a platform with matching endianness. Defaults to LITTLE, as most modern platforms are little-endian.

Affects the binary tensor data bytes only, not the metadata in protobufs.

const (
	BundleHeaderProto_LITTLE BundleHeaderProto_Endianness = 0
	BundleHeaderProto_BIG    BundleHeaderProto_Endianness = 1
)

func (BundleHeaderProto_Endianness) EnumDescriptor

func (BundleHeaderProto_Endianness) EnumDescriptor() ([]byte, []int)

func (BundleHeaderProto_Endianness) String

type CallableOptions added in v0.3.1

type CallableOptions struct {
	// Tensors to be fed in the callable. Each feed is the name of a tensor.
	Feed []string `protobuf:"bytes,1,rep,name=feed,proto3" json:"feed,omitempty"`
	// Fetches. A list of tensor names. The caller of the callable expects a
	// tensor to be returned for each fetch[i] (see RunStepResponse.tensor). The
	// order of specified fetches does not change the execution order.
	Fetch []string `protobuf:"bytes,2,rep,name=fetch,proto3" json:"fetch,omitempty"`
	// Target Nodes. A list of node names. The named nodes will be run by the
	// callable but their outputs will not be returned.
	Target []string `protobuf:"bytes,3,rep,name=target,proto3" json:"target,omitempty"`
	// Options that will be applied to each run.
	RunOptions *RunOptions `protobuf:"bytes,4,opt,name=run_options,json=runOptions,proto3" json:"run_options,omitempty"`
	// Tensors to be connected in the callable. Each TensorConnection denotes
	// a pair of tensors in the graph, between which an edge will be created
	// in the callable.
	TensorConnection []*TensorConnection `protobuf:"bytes,5,rep,name=tensor_connection,json=tensorConnection,proto3" json:"tensor_connection,omitempty"`
	// The Tensor objects fed in the callable and fetched from the callable
	// are expected to be backed by host (CPU) memory by default.
	//
	// The options below allow changing that - feeding tensors backed by
	// device memory, or returning tensors that are backed by device memory.
	//
	// The maps below map the name of a feed/fetch tensor (which appears in
	// 'feed' or 'fetch' fields above), to the fully qualified name of the device
	// owning the memory backing the contents of the tensor.
	//
	// For example, creating a callable with the following options:
	//
	// CallableOptions {
	//   feed: "a:0"
	//   feed: "b:0"
	//
	//   fetch: "x:0"
	//   fetch: "y:0"
	//
	//   feed_devices: {
	//     "a:0": "/job:localhost/replica:0/task:0/device:GPU:0"
	//   }
	//
	//   fetch_devices: {
	//     "y:0": "/job:localhost/replica:0/task:0/device:GPU:0"
	//  }
	// }
	//
	// means that the Callable expects:
	// - The first argument ("a:0") is a Tensor backed by GPU memory.
	// - The second argument ("b:0") is a Tensor backed by host memory.
	// and of its return values:
	// - The first output ("x:0") will be backed by host memory.
	// - The second output ("y:0") will be backed by GPU memory.
	//
	// FEEDS:
	// It is the responsibility of the caller to ensure that the memory of the fed
	// tensors will be correctly initialized and synchronized before it is
	// accessed by operations executed during the call to Session::RunCallable().
	//
	// This is typically ensured by using the TensorFlow memory allocators
	// (Device::GetAllocator()) to create the Tensor to be fed.
	//
	// Alternatively, for CUDA-enabled GPU devices, this typically means that the
	// operation that produced the contents of the tensor has completed, i.e., the
	// CUDA stream has been synchronized (e.g., via cuCtxSynchronize() or
	// cuStreamSynchronize()).
	FeedDevices  map[string]string `` /* 182-byte string literal not displayed */
	FetchDevices map[string]string `` /* 185-byte string literal not displayed */
	// By default, RunCallable() will synchronize the GPU stream before returning
	// fetched tensors on a GPU device, to ensure that the values in those tensors
	// have been produced. This simplifies interacting with the tensors, but
	// potentially incurs a performance hit.
	//
	// If this options is set to true, the caller is responsible for ensuring
	// that the values in the fetched tensors have been produced before they are
	// used. The caller can do this by invoking `Device::Sync()` on the underlying
	// device(s), or by feeding the tensors back to the same Session using
	// `feed_devices` with the same corresponding device name.
	FetchSkipSync bool `protobuf:"varint,8,opt,name=fetch_skip_sync,json=fetchSkipSync,proto3" json:"fetch_skip_sync,omitempty"`
}

Defines a subgraph in another `GraphDef` as a set of feed points and nodes to be fetched or executed.

Compare with the arguments to `Session::Run()`.

func (*CallableOptions) Descriptor added in v0.3.1

func (*CallableOptions) Descriptor() ([]byte, []int)

func (*CallableOptions) GetFeed added in v0.3.1

func (m *CallableOptions) GetFeed() []string

func (*CallableOptions) GetFeedDevices added in v0.3.1

func (m *CallableOptions) GetFeedDevices() map[string]string

func (*CallableOptions) GetFetch added in v0.3.1

func (m *CallableOptions) GetFetch() []string

func (*CallableOptions) GetFetchDevices added in v0.3.1

func (m *CallableOptions) GetFetchDevices() map[string]string

func (*CallableOptions) GetFetchSkipSync added in v0.3.1

func (m *CallableOptions) GetFetchSkipSync() bool

func (*CallableOptions) GetRunOptions added in v0.3.1

func (m *CallableOptions) GetRunOptions() *RunOptions

func (*CallableOptions) GetTarget added in v0.3.1

func (m *CallableOptions) GetTarget() []string

func (*CallableOptions) GetTensorConnection added in v0.3.1

func (m *CallableOptions) GetTensorConnection() []*TensorConnection

func (*CallableOptions) Marshal added in v0.3.1

func (m *CallableOptions) Marshal() (dAtA []byte, err error)

func (*CallableOptions) MarshalTo added in v0.3.1

func (m *CallableOptions) MarshalTo(dAtA []byte) (int, error)

func (*CallableOptions) ProtoMessage added in v0.3.1

func (*CallableOptions) ProtoMessage()

func (*CallableOptions) Reset added in v0.3.1

func (m *CallableOptions) Reset()

func (*CallableOptions) Size added in v0.3.1

func (m *CallableOptions) Size() (n int)

func (*CallableOptions) String added in v0.3.1

func (m *CallableOptions) String() string

func (*CallableOptions) Unmarshal added in v0.3.1

func (m *CallableOptions) Unmarshal(dAtA []byte) error

func (*CallableOptions) XXX_DiscardUnknown added in v0.3.1

func (m *CallableOptions) XXX_DiscardUnknown()

func (*CallableOptions) XXX_Marshal added in v0.3.1

func (m *CallableOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CallableOptions) XXX_Merge added in v0.3.1

func (m *CallableOptions) XXX_Merge(src proto.Message)

func (*CallableOptions) XXX_Size added in v0.3.1

func (m *CallableOptions) XXX_Size() int

func (*CallableOptions) XXX_Unmarshal added in v0.3.1

func (m *CallableOptions) XXX_Unmarshal(b []byte) error

type CheckpointableObjectGraph added in v0.3.1

type CheckpointableObjectGraph struct {
	Nodes []*CheckpointableObjectGraph_CheckpointableObject `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
}

func (*CheckpointableObjectGraph) Descriptor added in v0.3.1

func (*CheckpointableObjectGraph) Descriptor() ([]byte, []int)

func (*CheckpointableObjectGraph) GetNodes added in v0.3.1

func (*CheckpointableObjectGraph) Marshal added in v0.3.1

func (m *CheckpointableObjectGraph) Marshal() (dAtA []byte, err error)

func (*CheckpointableObjectGraph) MarshalTo added in v0.3.1

func (m *CheckpointableObjectGraph) MarshalTo(dAtA []byte) (int, error)

func (*CheckpointableObjectGraph) ProtoMessage added in v0.3.1

func (*CheckpointableObjectGraph) ProtoMessage()

func (*CheckpointableObjectGraph) Reset added in v0.3.1

func (m *CheckpointableObjectGraph) Reset()

func (*CheckpointableObjectGraph) Size added in v0.3.1

func (m *CheckpointableObjectGraph) Size() (n int)

func (*CheckpointableObjectGraph) String added in v0.3.1

func (m *CheckpointableObjectGraph) String() string

func (*CheckpointableObjectGraph) Unmarshal added in v0.3.1

func (m *CheckpointableObjectGraph) Unmarshal(dAtA []byte) error

func (*CheckpointableObjectGraph) XXX_DiscardUnknown added in v0.3.1

func (m *CheckpointableObjectGraph) XXX_DiscardUnknown()

func (*CheckpointableObjectGraph) XXX_Marshal added in v0.3.1

func (m *CheckpointableObjectGraph) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckpointableObjectGraph) XXX_Merge added in v0.3.1

func (m *CheckpointableObjectGraph) XXX_Merge(src proto.Message)

func (*CheckpointableObjectGraph) XXX_Size added in v0.3.1

func (m *CheckpointableObjectGraph) XXX_Size() int

func (*CheckpointableObjectGraph) XXX_Unmarshal added in v0.3.1

func (m *CheckpointableObjectGraph) XXX_Unmarshal(b []byte) error

type CheckpointableObjectGraph_CheckpointableObject added in v0.3.1

type CheckpointableObjectGraph_CheckpointableObject struct {
	// Objects which this object depends on.
	Children []*CheckpointableObjectGraph_CheckpointableObject_ObjectReference `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"`
	// Serialized data specific to this object.
	Attributes []*CheckpointableObjectGraph_CheckpointableObject_SerializedTensor `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// Slot variables owned by this object.
	SlotVariables []*CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference `protobuf:"bytes,3,rep,name=slot_variables,json=slotVariables,proto3" json:"slot_variables,omitempty"`
}

func (*CheckpointableObjectGraph_CheckpointableObject) Descriptor added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject) GetAttributes added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject) GetChildren added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject) GetSlotVariables added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject) Marshal added in v0.3.1

func (m *CheckpointableObjectGraph_CheckpointableObject) Marshal() (dAtA []byte, err error)

func (*CheckpointableObjectGraph_CheckpointableObject) MarshalTo added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject) ProtoMessage added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject) Reset added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject) Size added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject) String added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject) Unmarshal added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject) XXX_DiscardUnknown added in v0.3.1

func (m *CheckpointableObjectGraph_CheckpointableObject) XXX_DiscardUnknown()

func (*CheckpointableObjectGraph_CheckpointableObject) XXX_Marshal added in v0.3.1

func (m *CheckpointableObjectGraph_CheckpointableObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckpointableObjectGraph_CheckpointableObject) XXX_Merge added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject) XXX_Size added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject) XXX_Unmarshal added in v0.3.1

type CheckpointableObjectGraph_CheckpointableObject_ObjectReference added in v0.3.1

type CheckpointableObjectGraph_CheckpointableObject_ObjectReference struct {
	// An index into `CheckpointableObjectGraph.nodes`, indicating the object
	// being referenced.
	NodeId int32 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// A user-provided name for the edge.
	LocalName string `protobuf:"bytes,2,opt,name=local_name,json=localName,proto3" json:"local_name,omitempty"`
}

func (*CheckpointableObjectGraph_CheckpointableObject_ObjectReference) Descriptor added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_ObjectReference) GetLocalName added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_ObjectReference) GetNodeId added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_ObjectReference) Marshal added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_ObjectReference) MarshalTo added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_ObjectReference) ProtoMessage added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_ObjectReference) Reset added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_ObjectReference) Size added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_ObjectReference) String added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_ObjectReference) Unmarshal added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_ObjectReference) XXX_DiscardUnknown added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_ObjectReference) XXX_Marshal added in v0.3.1

func (m *CheckpointableObjectGraph_CheckpointableObject_ObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckpointableObjectGraph_CheckpointableObject_ObjectReference) XXX_Merge added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_ObjectReference) XXX_Size added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_ObjectReference) XXX_Unmarshal added in v0.3.1

type CheckpointableObjectGraph_CheckpointableObject_SerializedTensor added in v0.3.1

type CheckpointableObjectGraph_CheckpointableObject_SerializedTensor struct {
	// A name for the Tensor. Simple variables have only one
	// `SerializedTensor` named "VARIABLE_VALUE" by convention. This value may
	// be restored on object creation as an optimization.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The full name of the variable/tensor, if applicable. Used to allow
	// name-based loading of checkpoints which were saved using an
	// object-based API. Should match the checkpoint key which would have been
	// assigned by tf.train.Saver.
	FullName string `protobuf:"bytes,2,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	// The generated name of the Tensor in the checkpoint.
	CheckpointKey string `protobuf:"bytes,3,opt,name=checkpoint_key,json=checkpointKey,proto3" json:"checkpoint_key,omitempty"`
}

func (*CheckpointableObjectGraph_CheckpointableObject_SerializedTensor) Descriptor added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SerializedTensor) GetCheckpointKey added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SerializedTensor) GetFullName added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SerializedTensor) GetName added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SerializedTensor) Marshal added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SerializedTensor) MarshalTo added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SerializedTensor) ProtoMessage added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SerializedTensor) Reset added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SerializedTensor) Size added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SerializedTensor) String added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SerializedTensor) Unmarshal added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SerializedTensor) XXX_DiscardUnknown added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SerializedTensor) XXX_Marshal added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SerializedTensor) XXX_Merge added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SerializedTensor) XXX_Size added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SerializedTensor) XXX_Unmarshal added in v0.3.1

type CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference added in v0.3.1

type CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference struct {
	// An index into `CheckpointableObjectGraph.nodes`, indicating the
	// variable object this slot was created for.
	OriginalVariableNodeId int32 `` /* 132-byte string literal not displayed */
	// The name of the slot (e.g. "m"/"v").
	SlotName string `protobuf:"bytes,2,opt,name=slot_name,json=slotName,proto3" json:"slot_name,omitempty"`
	// An index into `CheckpointableObjectGraph.nodes`, indicating the
	// `Object` with the value of the slot variable.
	SlotVariableNodeId int32 `protobuf:"varint,3,opt,name=slot_variable_node_id,json=slotVariableNodeId,proto3" json:"slot_variable_node_id,omitempty"`
}

func (*CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference) Descriptor added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference) GetOriginalVariableNodeId added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference) GetSlotName added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference) GetSlotVariableNodeId added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference) Marshal added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference) MarshalTo added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference) ProtoMessage added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference) Reset added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference) Size added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference) String added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference) Unmarshal added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference) XXX_DiscardUnknown added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference) XXX_Marshal added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference) XXX_Merge added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference) XXX_Size added in v0.3.1

func (*CheckpointableObjectGraph_CheckpointableObject_SlotVariableReference) XXX_Unmarshal added in v0.3.1

type CleanupAllRequest

type CleanupAllRequest struct {
	// A list of container names.
	//
	// If 'container' is not empty, releases resources in the given
	// containers in all devices.
	//
	// If 'container' is empty, releases resources in the default
	// container in all devices.
	Container []string `protobuf:"bytes,1,rep,name=container,proto3" json:"container,omitempty"`
}

func (*CleanupAllRequest) Descriptor

func (*CleanupAllRequest) Descriptor() ([]byte, []int)

func (*CleanupAllRequest) GetContainer

func (m *CleanupAllRequest) GetContainer() []string

func (*CleanupAllRequest) Marshal

func (m *CleanupAllRequest) Marshal() (dAtA []byte, err error)

func (*CleanupAllRequest) MarshalTo

func (m *CleanupAllRequest) MarshalTo(dAtA []byte) (int, error)

func (*CleanupAllRequest) ProtoMessage

func (*CleanupAllRequest) ProtoMessage()

func (*CleanupAllRequest) Reset

func (m *CleanupAllRequest) Reset()

func (*CleanupAllRequest) Size

func (m *CleanupAllRequest) Size() (n int)

func (*CleanupAllRequest) String

func (m *CleanupAllRequest) String() string

func (*CleanupAllRequest) Unmarshal

func (m *CleanupAllRequest) Unmarshal(dAtA []byte) error

func (*CleanupAllRequest) XXX_DiscardUnknown added in v0.3.1

func (m *CleanupAllRequest) XXX_DiscardUnknown()

func (*CleanupAllRequest) XXX_Marshal added in v0.3.1

func (m *CleanupAllRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CleanupAllRequest) XXX_Merge added in v0.3.1

func (m *CleanupAllRequest) XXX_Merge(src proto.Message)

func (*CleanupAllRequest) XXX_Size added in v0.3.1

func (m *CleanupAllRequest) XXX_Size() int

func (*CleanupAllRequest) XXX_Unmarshal added in v0.3.1

func (m *CleanupAllRequest) XXX_Unmarshal(b []byte) error

type CleanupAllResponse

type CleanupAllResponse struct {
}

func (*CleanupAllResponse) Descriptor

func (*CleanupAllResponse) Descriptor() ([]byte, []int)

func (*CleanupAllResponse) Marshal

func (m *CleanupAllResponse) Marshal() (dAtA []byte, err error)

func (*CleanupAllResponse) MarshalTo

func (m *CleanupAllResponse) MarshalTo(dAtA []byte) (int, error)

func (*CleanupAllResponse) ProtoMessage

func (*CleanupAllResponse) ProtoMessage()

func (*CleanupAllResponse) Reset

func (m *CleanupAllResponse) Reset()

func (*CleanupAllResponse) Size

func (m *CleanupAllResponse) Size() (n int)

func (*CleanupAllResponse) String

func (m *CleanupAllResponse) String() string

func (*CleanupAllResponse) Unmarshal

func (m *CleanupAllResponse) Unmarshal(dAtA []byte) error

func (*CleanupAllResponse) XXX_DiscardUnknown added in v0.3.1

func (m *CleanupAllResponse) XXX_DiscardUnknown()

func (*CleanupAllResponse) XXX_Marshal added in v0.3.1

func (m *CleanupAllResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CleanupAllResponse) XXX_Merge added in v0.3.1

func (m *CleanupAllResponse) XXX_Merge(src proto.Message)

func (*CleanupAllResponse) XXX_Size added in v0.3.1

func (m *CleanupAllResponse) XXX_Size() int

func (*CleanupAllResponse) XXX_Unmarshal added in v0.3.1

func (m *CleanupAllResponse) XXX_Unmarshal(b []byte) error

type CleanupGraphRequest

type CleanupGraphRequest struct {
	StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
}

func (*CleanupGraphRequest) Descriptor

func (*CleanupGraphRequest) Descriptor() ([]byte, []int)

func (*CleanupGraphRequest) GetStepId

func (m *CleanupGraphRequest) GetStepId() int64

func (*CleanupGraphRequest) Marshal

func (m *CleanupGraphRequest) Marshal() (dAtA []byte, err error)

func (*CleanupGraphRequest) MarshalTo

func (m *CleanupGraphRequest) MarshalTo(dAtA []byte) (int, error)

func (*CleanupGraphRequest) ProtoMessage

func (*CleanupGraphRequest) ProtoMessage()

func (*CleanupGraphRequest) Reset

func (m *CleanupGraphRequest) Reset()

func (*CleanupGraphRequest) Size

func (m *CleanupGraphRequest) Size() (n int)

func (*CleanupGraphRequest) String

func (m *CleanupGraphRequest) String() string

func (*CleanupGraphRequest) Unmarshal

func (m *CleanupGraphRequest) Unmarshal(dAtA []byte) error

func (*CleanupGraphRequest) XXX_DiscardUnknown added in v0.3.1

func (m *CleanupGraphRequest) XXX_DiscardUnknown()

func (*CleanupGraphRequest) XXX_Marshal added in v0.3.1

func (m *CleanupGraphRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CleanupGraphRequest) XXX_Merge added in v0.3.1

func (m *CleanupGraphRequest) XXX_Merge(src proto.Message)

func (*CleanupGraphRequest) XXX_Size added in v0.3.1

func (m *CleanupGraphRequest) XXX_Size() int

func (*CleanupGraphRequest) XXX_Unmarshal added in v0.3.1

func (m *CleanupGraphRequest) XXX_Unmarshal(b []byte) error

type CleanupGraphResponse

type CleanupGraphResponse struct {
}

func (*CleanupGraphResponse) Descriptor

func (*CleanupGraphResponse) Descriptor() ([]byte, []int)

func (*CleanupGraphResponse) Marshal

func (m *CleanupGraphResponse) Marshal() (dAtA []byte, err error)

func (*CleanupGraphResponse) MarshalTo

func (m *CleanupGraphResponse) MarshalTo(dAtA []byte) (int, error)

func (*CleanupGraphResponse) ProtoMessage

func (*CleanupGraphResponse) ProtoMessage()

func (*CleanupGraphResponse) Reset

func (m *CleanupGraphResponse) Reset()

func (*CleanupGraphResponse) Size

func (m *CleanupGraphResponse) Size() (n int)

func (*CleanupGraphResponse) String

func (m *CleanupGraphResponse) String() string

func (*CleanupGraphResponse) Unmarshal

func (m *CleanupGraphResponse) Unmarshal(dAtA []byte) error

func (*CleanupGraphResponse) XXX_DiscardUnknown added in v0.3.1

func (m *CleanupGraphResponse) XXX_DiscardUnknown()

func (*CleanupGraphResponse) XXX_Marshal added in v0.3.1

func (m *CleanupGraphResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CleanupGraphResponse) XXX_Merge added in v0.3.1

func (m *CleanupGraphResponse) XXX_Merge(src proto.Message)

func (*CleanupGraphResponse) XXX_Size added in v0.3.1

func (m *CleanupGraphResponse) XXX_Size() int

func (*CleanupGraphResponse) XXX_Unmarshal added in v0.3.1

func (m *CleanupGraphResponse) XXX_Unmarshal(b []byte) error

type CloseContextRequest added in v0.3.1

type CloseContextRequest struct {
	ContextId uint64 `protobuf:"fixed64,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"`
}

func (*CloseContextRequest) Descriptor added in v0.3.1

func (*CloseContextRequest) Descriptor() ([]byte, []int)

func (*CloseContextRequest) GetContextId added in v0.3.1

func (m *CloseContextRequest) GetContextId() uint64

func (*CloseContextRequest) Marshal added in v0.3.1

func (m *CloseContextRequest) Marshal() (dAtA []byte, err error)

func (*CloseContextRequest) MarshalTo added in v0.3.1

func (m *CloseContextRequest) MarshalTo(dAtA []byte) (int, error)

func (*CloseContextRequest) ProtoMessage added in v0.3.1

func (*CloseContextRequest) ProtoMessage()

func (*CloseContextRequest) Reset added in v0.3.1

func (m *CloseContextRequest) Reset()

func (*CloseContextRequest) Size added in v0.3.1

func (m *CloseContextRequest) Size() (n int)

func (*CloseContextRequest) String added in v0.3.1

func (m *CloseContextRequest) String() string

func (*CloseContextRequest) Unmarshal added in v0.3.1

func (m *CloseContextRequest) Unmarshal(dAtA []byte) error

func (*CloseContextRequest) XXX_DiscardUnknown added in v0.3.1

func (m *CloseContextRequest) XXX_DiscardUnknown()

func (*CloseContextRequest) XXX_Marshal added in v0.3.1

func (m *CloseContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloseContextRequest) XXX_Merge added in v0.3.1

func (m *CloseContextRequest) XXX_Merge(src proto.Message)

func (*CloseContextRequest) XXX_Size added in v0.3.1

func (m *CloseContextRequest) XXX_Size() int

func (*CloseContextRequest) XXX_Unmarshal added in v0.3.1

func (m *CloseContextRequest) XXX_Unmarshal(b []byte) error

type CloseContextResponse added in v0.3.1

type CloseContextResponse struct {
}

func (*CloseContextResponse) Descriptor added in v0.3.1

func (*CloseContextResponse) Descriptor() ([]byte, []int)

func (*CloseContextResponse) Marshal added in v0.3.1

func (m *CloseContextResponse) Marshal() (dAtA []byte, err error)

func (*CloseContextResponse) MarshalTo added in v0.3.1

func (m *CloseContextResponse) MarshalTo(dAtA []byte) (int, error)

func (*CloseContextResponse) ProtoMessage added in v0.3.1

func (*CloseContextResponse) ProtoMessage()

func (*CloseContextResponse) Reset added in v0.3.1

func (m *CloseContextResponse) Reset()

func (*CloseContextResponse) Size added in v0.3.1

func (m *CloseContextResponse) Size() (n int)

func (*CloseContextResponse) String added in v0.3.1

func (m *CloseContextResponse) String() string

func (*CloseContextResponse) Unmarshal added in v0.3.1

func (m *CloseContextResponse) Unmarshal(dAtA []byte) error

func (*CloseContextResponse) XXX_DiscardUnknown added in v0.3.1

func (m *CloseContextResponse) XXX_DiscardUnknown()

func (*CloseContextResponse) XXX_Marshal added in v0.3.1

func (m *CloseContextResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloseContextResponse) XXX_Merge added in v0.3.1

func (m *CloseContextResponse) XXX_Merge(src proto.Message)

func (*CloseContextResponse) XXX_Size added in v0.3.1

func (m *CloseContextResponse) XXX_Size() int

func (*CloseContextResponse) XXX_Unmarshal added in v0.3.1

func (m *CloseContextResponse) XXX_Unmarshal(b []byte) error

type CloseSessionRequest

type CloseSessionRequest struct {
	// REQUIRED: session_handle must be returned by a CreateSession call
	// to the same master service.
	SessionHandle string `protobuf:"bytes,1,opt,name=session_handle,json=sessionHandle,proto3" json:"session_handle,omitempty"`
}

func (*CloseSessionRequest) Descriptor

func (*CloseSessionRequest) Descriptor() ([]byte, []int)

func (*CloseSessionRequest) GetSessionHandle

func (m *CloseSessionRequest) GetSessionHandle() string

func (*CloseSessionRequest) Marshal

func (m *CloseSessionRequest) Marshal() (dAtA []byte, err error)

func (*CloseSessionRequest) MarshalTo

func (m *CloseSessionRequest) MarshalTo(dAtA []byte) (int, error)

func (*CloseSessionRequest) ProtoMessage

func (*CloseSessionRequest) ProtoMessage()

func (*CloseSessionRequest) Reset

func (m *CloseSessionRequest) Reset()

func (*CloseSessionRequest) Size

func (m *CloseSessionRequest) Size() (n int)

func (*CloseSessionRequest) String

func (m *CloseSessionRequest) String() string

func (*CloseSessionRequest) Unmarshal

func (m *CloseSessionRequest) Unmarshal(dAtA []byte) error

func (*CloseSessionRequest) XXX_DiscardUnknown added in v0.3.1

func (m *CloseSessionRequest) XXX_DiscardUnknown()

func (*CloseSessionRequest) XXX_Marshal added in v0.3.1

func (m *CloseSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloseSessionRequest) XXX_Merge added in v0.3.1

func (m *CloseSessionRequest) XXX_Merge(src proto.Message)

func (*CloseSessionRequest) XXX_Size added in v0.3.1

func (m *CloseSessionRequest) XXX_Size() int

func (*CloseSessionRequest) XXX_Unmarshal added in v0.3.1

func (m *CloseSessionRequest) XXX_Unmarshal(b []byte) error

type CloseSessionResponse

type CloseSessionResponse struct {
}

func (*CloseSessionResponse) Descriptor

func (*CloseSessionResponse) Descriptor() ([]byte, []int)

func (*CloseSessionResponse) Marshal

func (m *CloseSessionResponse) Marshal() (dAtA []byte, err error)

func (*CloseSessionResponse) MarshalTo

func (m *CloseSessionResponse) MarshalTo(dAtA []byte) (int, error)

func (*CloseSessionResponse) ProtoMessage

func (*CloseSessionResponse) ProtoMessage()

func (*CloseSessionResponse) Reset

func (m *CloseSessionResponse) Reset()

func (*CloseSessionResponse) Size

func (m *CloseSessionResponse) Size() (n int)

func (*CloseSessionResponse) String

func (m *CloseSessionResponse) String() string

func (*CloseSessionResponse) Unmarshal

func (m *CloseSessionResponse) Unmarshal(dAtA []byte) error

func (*CloseSessionResponse) XXX_DiscardUnknown added in v0.3.1

func (m *CloseSessionResponse) XXX_DiscardUnknown()

func (*CloseSessionResponse) XXX_Marshal added in v0.3.1

func (m *CloseSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloseSessionResponse) XXX_Merge added in v0.3.1

func (m *CloseSessionResponse) XXX_Merge(src proto.Message)

func (*CloseSessionResponse) XXX_Size added in v0.3.1

func (m *CloseSessionResponse) XXX_Size() int

func (*CloseSessionResponse) XXX_Unmarshal added in v0.3.1

func (m *CloseSessionResponse) XXX_Unmarshal(b []byte) error

type ClusterDef

type ClusterDef struct {
	// The jobs that comprise the cluster.
	Job []*JobDef `protobuf:"bytes,1,rep,name=job,proto3" json:"job,omitempty"`
}

Defines a TensorFlow cluster as a set of jobs.

func (*ClusterDef) Descriptor

func (*ClusterDef) Descriptor() ([]byte, []int)

func (*ClusterDef) GetJob

func (m *ClusterDef) GetJob() []*JobDef

func (*ClusterDef) Marshal

func (m *ClusterDef) Marshal() (dAtA []byte, err error)

func (*ClusterDef) MarshalTo

func (m *ClusterDef) MarshalTo(dAtA []byte) (int, error)

func (*ClusterDef) ProtoMessage

func (*ClusterDef) ProtoMessage()

func (*ClusterDef) Reset

func (m *ClusterDef) Reset()

func (*ClusterDef) Size

func (m *ClusterDef) Size() (n int)

func (*ClusterDef) String

func (m *ClusterDef) String() string

func (*ClusterDef) Unmarshal

func (m *ClusterDef) Unmarshal(dAtA []byte) error

func (*ClusterDef) XXX_DiscardUnknown added in v0.3.1

func (m *ClusterDef) XXX_DiscardUnknown()

func (*ClusterDef) XXX_Marshal added in v0.3.1

func (m *ClusterDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterDef) XXX_Merge added in v0.3.1

func (m *ClusterDef) XXX_Merge(src proto.Message)

func (*ClusterDef) XXX_Size added in v0.3.1

func (m *ClusterDef) XXX_Size() int

func (*ClusterDef) XXX_Unmarshal added in v0.3.1

func (m *ClusterDef) XXX_Unmarshal(b []byte) error

type Code added in v0.3.1

type Code int32

The canonical error codes for TensorFlow APIs.

Warnings:

  • Do not change any numeric assignments.
  • Changes to this list should only be made if there is a compelling need that can't be satisfied in another way. Such changes must be approved by at least two OWNERS.

Sometimes multiple error codes may apply. Services should return the most specific error code that applies. For example, prefer OUT_OF_RANGE over FAILED_PRECONDITION if both codes apply. Similarly prefer NOT_FOUND or ALREADY_EXISTS over FAILED_PRECONDITION.

const (
	// Not an error; returned on success
	Code_OK Code = 0
	// The operation was cancelled (typically by the caller).
	Code_CANCELLED Code = 1
	// Unknown error.  An example of where this error may be returned is
	// if a Status value received from another address space belongs to
	// an error-space that is not known in this address space.  Also
	// errors raised by APIs that do not return enough error information
	// may be converted to this error.
	Code_UNKNOWN Code = 2
	// Client specified an invalid argument.  Note that this differs
	// from FAILED_PRECONDITION.  INVALID_ARGUMENT indicates arguments
	// that are problematic regardless of the state of the system
	// (e.g., a malformed file name).
	Code_INVALID_ARGUMENT Code = 3
	// Deadline expired before operation could complete.  For operations
	// that change the state of the system, this error may be returned
	// even if the operation has completed successfully.  For example, a
	// successful response from a server could have been delayed long
	// enough for the deadline to expire.
	Code_DEADLINE_EXCEEDED Code = 4
	// Some requested entity (e.g., file or directory) was not found.
	// For privacy reasons, this code *may* be returned when the client
	// does not have the access right to the entity.
	Code_NOT_FOUND Code = 5
	// Some entity that we attempted to create (e.g., file or directory)
	// already exists.
	Code_ALREADY_EXISTS Code = 6
	// The caller does not have permission to execute the specified
	// operation.  PERMISSION_DENIED must not be used for rejections
	// caused by exhausting some resource (use RESOURCE_EXHAUSTED
	// instead for those errors).  PERMISSION_DENIED must not be
	// used if the caller can not be identified (use UNAUTHENTICATED
	// instead for those errors).
	Code_PERMISSION_DENIED Code = 7
	// The request does not have valid authentication credentials for the
	// operation.
	Code_UNAUTHENTICATED Code = 16
	// Some resource has been exhausted, perhaps a per-user quota, or
	// perhaps the entire file system is out of space.
	Code_RESOURCE_EXHAUSTED Code = 8
	// Operation was rejected because the system is not in a state
	// required for the operation's execution.  For example, directory
	// to be deleted may be non-empty, an rmdir operation is applied to
	// a non-directory, etc.
	//
	// A litmus test that may help a service implementor in deciding
	// between FAILED_PRECONDITION, ABORTED, and UNAVAILABLE:
	//  (a) Use UNAVAILABLE if the client can retry just the failing call.
	//  (b) Use ABORTED if the client should retry at a higher-level
	//      (e.g., restarting a read-modify-write sequence).
	//  (c) Use FAILED_PRECONDITION if the client should not retry until
	//      the system state has been explicitly fixed.  E.g., if an "rmdir"
	//      fails because the directory is non-empty, FAILED_PRECONDITION
	//      should be returned since the client should not retry unless
	//      they have first fixed up the directory by deleting files from it.
	//  (d) Use FAILED_PRECONDITION if the client performs conditional
	//      REST Get/Update/Delete on a resource and the resource on the
	//      server does not match the condition. E.g., conflicting
	//      read-modify-write on the same resource.
	Code_FAILED_PRECONDITION Code = 9
	// The operation was aborted, typically due to a concurrency issue
	// like sequencer check failures, transaction aborts, etc.
	//
	// See litmus test above for deciding between FAILED_PRECONDITION,
	// ABORTED, and UNAVAILABLE.
	Code_ABORTED Code = 10
	// Operation tried to iterate past the valid input range.  E.g., seeking or
	// reading past end of file.
	//
	// Unlike INVALID_ARGUMENT, this error indicates a problem that may
	// be fixed if the system state changes. For example, a 32-bit file
	// system will generate INVALID_ARGUMENT if asked to read at an
	// offset that is not in the range [0,2^32-1], but it will generate
	// OUT_OF_RANGE if asked to read from an offset past the current
	// file size.
	//
	// There is a fair bit of overlap between FAILED_PRECONDITION and
	// OUT_OF_RANGE.  We recommend using OUT_OF_RANGE (the more specific
	// error) when it applies so that callers who are iterating through
	// a space can easily look for an OUT_OF_RANGE error to detect when
	// they are done.
	Code_OUT_OF_RANGE Code = 11
	// Operation is not implemented or not supported/enabled in this service.
	Code_UNIMPLEMENTED Code = 12
	// Internal errors.  Means some invariant expected by the underlying
	// system has been broken.  If you see one of these errors,
	// something is very broken.
	Code_INTERNAL Code = 13
	// The service is currently unavailable.  This is a most likely a
	// transient condition and may be corrected by retrying with
	// a backoff.
	//
	// See litmus test above for deciding between FAILED_PRECONDITION,
	// ABORTED, and UNAVAILABLE.
	Code_UNAVAILABLE Code = 14
	// Unrecoverable data loss or corruption.
	Code_DATA_LOSS Code = 15
	// An extra enum entry to prevent people from writing code that
	// fails to compile when a new code is added.
	//
	// Nobody should ever reference this enumeration entry. In particular,
	// if you write C++ code that switches on this enumeration, add a default:
	// case instead of a case that mentions this enumeration entry.
	//
	// Nobody should rely on the value (currently 20) listed here.  It
	// may change in the future.
	Code_DO_NOT_USE_RESERVED_FOR_FUTURE_EXPANSION_USE_DEFAULT_IN_SWITCH_INSTEAD_ Code = 20
)

func (Code) EnumDescriptor added in v0.3.1

func (Code) EnumDescriptor() ([]byte, []int)

func (Code) String added in v0.3.1

func (x Code) String() string

type CollectionDef

type CollectionDef struct {
	// Types that are valid to be assigned to Kind:
	//	*CollectionDef_NodeList_
	//	*CollectionDef_BytesList_
	//	*CollectionDef_Int64List_
	//	*CollectionDef_FloatList_
	//	*CollectionDef_AnyList_
	Kind isCollectionDef_Kind `protobuf_oneof:"kind"`
}

CollectionDef should cover most collections. To add a user-defined collection, do one of the following:

  1. For simple data types, such as string, int, float: tf.add_to_collection("your_collection_name", your_simple_value) strings will be stored as bytes_list.

2. For Protobuf types, there are three ways to add them:

  1. tf.add_to_collection("your_collection_name", your_proto.SerializeToString())

    collection_def { key: "user_defined_bytes_collection" value { bytes_list { value: "queue_name: \"test_queue\"\n" } } }

    or

  2. tf.add_to_collection("your_collection_name", str(your_proto))

    collection_def { key: "user_defined_string_collection" value { bytes_list { value: "\n\ntest_queue" } } }

    or

  3. any_buf = any_pb2.Any() tf.add_to_collection("your_collection_name", any_buf.Pack(your_proto))

    collection_def { key: "user_defined_any_collection" value { any_list { value { type_url: "type.googleapis.com/tensorflow.QueueRunnerDef" value: "\n\ntest_queue" } } } }

  1. For Python objects, implement to_proto() and from_proto(), and register them in the following manner: ops.register_proto_function("your_collection_name", proto_type, to_proto=YourPythonObject.to_proto, from_proto=YourPythonObject.from_proto) These functions will be invoked to serialize and de-serialize the collection. For example, ops.register_proto_function(ops.GraphKeys.GLOBAL_VARIABLES, proto_type=variable_pb2.VariableDef, to_proto=Variable.to_proto, from_proto=Variable.from_proto)

func (*CollectionDef) Descriptor

func (*CollectionDef) Descriptor() ([]byte, []int)

func (*CollectionDef) GetAnyList

func (m *CollectionDef) GetAnyList() *CollectionDef_AnyList

func (*CollectionDef) GetBytesList

func (m *CollectionDef) GetBytesList() *CollectionDef_BytesList

func (*CollectionDef) GetFloatList

func (m *CollectionDef) GetFloatList() *CollectionDef_FloatList

func (*CollectionDef) GetInt64List

func (m *CollectionDef) GetInt64List() *CollectionDef_Int64List

func (*CollectionDef) GetKind

func (m *CollectionDef) GetKind() isCollectionDef_Kind

func (*CollectionDef) GetNodeList

func (m *CollectionDef) GetNodeList() *CollectionDef_NodeList

func (*CollectionDef) Marshal

func (m *CollectionDef) Marshal() (dAtA []byte, err error)

func (*CollectionDef) MarshalTo

func (m *CollectionDef) MarshalTo(dAtA []byte) (int, error)

func (*CollectionDef) ProtoMessage

func (*CollectionDef) ProtoMessage()

func (*CollectionDef) Reset

func (m *CollectionDef) Reset()

func (*CollectionDef) Size

func (m *CollectionDef) Size() (n int)

func (*CollectionDef) String

func (m *CollectionDef) String() string

func (*CollectionDef) Unmarshal

func (m *CollectionDef) Unmarshal(dAtA []byte) error

func (*CollectionDef) XXX_DiscardUnknown added in v0.3.1

func (m *CollectionDef) XXX_DiscardUnknown()

func (*CollectionDef) XXX_Marshal added in v0.3.1

func (m *CollectionDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectionDef) XXX_Merge added in v0.3.1

func (m *CollectionDef) XXX_Merge(src proto.Message)

func (*CollectionDef) XXX_OneofFuncs

func (*CollectionDef) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*CollectionDef) XXX_Size added in v0.3.1

func (m *CollectionDef) XXX_Size() int

func (*CollectionDef) XXX_Unmarshal added in v0.3.1

func (m *CollectionDef) XXX_Unmarshal(b []byte) error

type CollectionDef_AnyList

type CollectionDef_AnyList struct {
	Value []*types.Any `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
}

AnyList is used for collecting Any protos.

func (*CollectionDef_AnyList) Descriptor

func (*CollectionDef_AnyList) Descriptor() ([]byte, []int)

func (*CollectionDef_AnyList) GetValue

func (m *CollectionDef_AnyList) GetValue() []*types.Any

func (*CollectionDef_AnyList) Marshal

func (m *CollectionDef_AnyList) Marshal() (dAtA []byte, err error)

func (*CollectionDef_AnyList) MarshalTo

func (m *CollectionDef_AnyList) MarshalTo(dAtA []byte) (int, error)

func (*CollectionDef_AnyList) ProtoMessage

func (*CollectionDef_AnyList) ProtoMessage()

func (*CollectionDef_AnyList) Reset

func (m *CollectionDef_AnyList) Reset()

func (*CollectionDef_AnyList) Size

func (m *CollectionDef_AnyList) Size() (n int)

func (*CollectionDef_AnyList) String

func (m *CollectionDef_AnyList) String() string

func (*CollectionDef_AnyList) Unmarshal

func (m *CollectionDef_AnyList) Unmarshal(dAtA []byte) error

func (*CollectionDef_AnyList) XXX_DiscardUnknown added in v0.3.1

func (m *CollectionDef_AnyList) XXX_DiscardUnknown()

func (*CollectionDef_AnyList) XXX_Marshal added in v0.3.1

func (m *CollectionDef_AnyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectionDef_AnyList) XXX_Merge added in v0.3.1

func (m *CollectionDef_AnyList) XXX_Merge(src proto.Message)

func (*CollectionDef_AnyList) XXX_Size added in v0.3.1

func (m *CollectionDef_AnyList) XXX_Size() int

func (*CollectionDef_AnyList) XXX_Unmarshal added in v0.3.1

func (m *CollectionDef_AnyList) XXX_Unmarshal(b []byte) error

type CollectionDef_AnyList_

type CollectionDef_AnyList_ struct {
	AnyList *CollectionDef_AnyList `protobuf:"bytes,5,opt,name=any_list,json=anyList,proto3,oneof"`
}

func (*CollectionDef_AnyList_) MarshalTo

func (m *CollectionDef_AnyList_) MarshalTo(dAtA []byte) (int, error)

func (*CollectionDef_AnyList_) Size

func (m *CollectionDef_AnyList_) Size() (n int)

type CollectionDef_BytesList

type CollectionDef_BytesList struct {
	Value [][]byte `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
}

BytesList is used for collecting strings and serialized protobufs. For example:

collection_def {
  key: "trainable_variables"
  value {
    bytes_list {
      value: "\n\017conv1/weights:0\022\024conv1/weights/Assign
             \032\024conv1/weights/read:0"
      value: "\n\016conv1/biases:0\022\023conv1/biases/Assign\032
             \023conv1/biases/read:0"
    }
  }
}

func (*CollectionDef_BytesList) Descriptor

func (*CollectionDef_BytesList) Descriptor() ([]byte, []int)

func (*CollectionDef_BytesList) GetValue

func (m *CollectionDef_BytesList) GetValue() [][]byte

func (*CollectionDef_BytesList) Marshal

func (m *CollectionDef_BytesList) Marshal() (dAtA []byte, err error)

func (*CollectionDef_BytesList) MarshalTo

func (m *CollectionDef_BytesList) MarshalTo(dAtA []byte) (int, error)

func (*CollectionDef_BytesList) ProtoMessage

func (*CollectionDef_BytesList) ProtoMessage()

func (*CollectionDef_BytesList) Reset

func (m *CollectionDef_BytesList) Reset()

func (*CollectionDef_BytesList) Size

func (m *CollectionDef_BytesList) Size() (n int)

func (*CollectionDef_BytesList) String

func (m *CollectionDef_BytesList) String() string

func (*CollectionDef_BytesList) Unmarshal

func (m *CollectionDef_BytesList) Unmarshal(dAtA []byte) error

func (*CollectionDef_BytesList) XXX_DiscardUnknown added in v0.3.1

func (m *CollectionDef_BytesList) XXX_DiscardUnknown()

func (*CollectionDef_BytesList) XXX_Marshal added in v0.3.1

func (m *CollectionDef_BytesList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectionDef_BytesList) XXX_Merge added in v0.3.1

func (m *CollectionDef_BytesList) XXX_Merge(src proto.Message)

func (*CollectionDef_BytesList) XXX_Size added in v0.3.1

func (m *CollectionDef_BytesList) XXX_Size() int

func (*CollectionDef_BytesList) XXX_Unmarshal added in v0.3.1

func (m *CollectionDef_BytesList) XXX_Unmarshal(b []byte) error

type CollectionDef_BytesList_

type CollectionDef_BytesList_ struct {
	BytesList *CollectionDef_BytesList `protobuf:"bytes,2,opt,name=bytes_list,json=bytesList,proto3,oneof"`
}

func (*CollectionDef_BytesList_) MarshalTo

func (m *CollectionDef_BytesList_) MarshalTo(dAtA []byte) (int, error)

func (*CollectionDef_BytesList_) Size

func (m *CollectionDef_BytesList_) Size() (n int)

type CollectionDef_FloatList

type CollectionDef_FloatList struct {
	Value []float32 `protobuf:"fixed32,1,rep,packed,name=value,proto3" json:"value,omitempty"`
}

FloatList is used for collecting float values.

func (*CollectionDef_FloatList) Descriptor

func (*CollectionDef_FloatList) Descriptor() ([]byte, []int)

func (*CollectionDef_FloatList) GetValue

func (m *CollectionDef_FloatList) GetValue() []float32

func (*CollectionDef_FloatList) Marshal

func (m *CollectionDef_FloatList) Marshal() (dAtA []byte, err error)

func (*CollectionDef_FloatList) MarshalTo

func (m *CollectionDef_FloatList) MarshalTo(dAtA []byte) (int, error)

func (*CollectionDef_FloatList) ProtoMessage

func (*CollectionDef_FloatList) ProtoMessage()

func (*CollectionDef_FloatList) Reset

func (m *CollectionDef_FloatList) Reset()

func (*CollectionDef_FloatList) Size

func (m *CollectionDef_FloatList) Size() (n int)

func (*CollectionDef_FloatList) String

func (m *CollectionDef_FloatList) String() string

func (*CollectionDef_FloatList) Unmarshal

func (m *CollectionDef_FloatList) Unmarshal(dAtA []byte) error

func (*CollectionDef_FloatList) XXX_DiscardUnknown added in v0.3.1

func (m *CollectionDef_FloatList) XXX_DiscardUnknown()

func (*CollectionDef_FloatList) XXX_Marshal added in v0.3.1

func (m *CollectionDef_FloatList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectionDef_FloatList) XXX_Merge added in v0.3.1

func (m *CollectionDef_FloatList) XXX_Merge(src proto.Message)

func (*CollectionDef_FloatList) XXX_Size added in v0.3.1

func (m *CollectionDef_FloatList) XXX_Size() int

func (*CollectionDef_FloatList) XXX_Unmarshal added in v0.3.1

func (m *CollectionDef_FloatList) XXX_Unmarshal(b []byte) error

type CollectionDef_FloatList_

type CollectionDef_FloatList_ struct {
	FloatList *CollectionDef_FloatList `protobuf:"bytes,4,opt,name=float_list,json=floatList,proto3,oneof"`
}

func (*CollectionDef_FloatList_) MarshalTo

func (m *CollectionDef_FloatList_) MarshalTo(dAtA []byte) (int, error)

func (*CollectionDef_FloatList_) Size

func (m *CollectionDef_FloatList_) Size() (n int)

type CollectionDef_Int64List

type CollectionDef_Int64List struct {
	Value []int64 `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"`
}

Int64List is used for collecting int, int64 and long values.

func (*CollectionDef_Int64List) Descriptor

func (*CollectionDef_Int64List) Descriptor() ([]byte, []int)

func (*CollectionDef_Int64List) GetValue

func (m *CollectionDef_Int64List) GetValue() []int64

func (*CollectionDef_Int64List) Marshal

func (m *CollectionDef_Int64List) Marshal() (dAtA []byte, err error)

func (*CollectionDef_Int64List) MarshalTo

func (m *CollectionDef_Int64List) MarshalTo(dAtA []byte) (int, error)

func (*CollectionDef_Int64List) ProtoMessage

func (*CollectionDef_Int64List) ProtoMessage()

func (*CollectionDef_Int64List) Reset

func (m *CollectionDef_Int64List) Reset()

func (*CollectionDef_Int64List) Size

func (m *CollectionDef_Int64List) Size() (n int)

func (*CollectionDef_Int64List) String

func (m *CollectionDef_Int64List) String() string

func (*CollectionDef_Int64List) Unmarshal

func (m *CollectionDef_Int64List) Unmarshal(dAtA []byte) error

func (*CollectionDef_Int64List) XXX_DiscardUnknown added in v0.3.1

func (m *CollectionDef_Int64List) XXX_DiscardUnknown()

func (*CollectionDef_Int64List) XXX_Marshal added in v0.3.1

func (m *CollectionDef_Int64List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectionDef_Int64List) XXX_Merge added in v0.3.1

func (m *CollectionDef_Int64List) XXX_Merge(src proto.Message)

func (*CollectionDef_Int64List) XXX_Size added in v0.3.1

func (m *CollectionDef_Int64List) XXX_Size() int

func (*CollectionDef_Int64List) XXX_Unmarshal added in v0.3.1

func (m *CollectionDef_Int64List) XXX_Unmarshal(b []byte) error

type CollectionDef_Int64List_

type CollectionDef_Int64List_ struct {
	Int64List *CollectionDef_Int64List `protobuf:"bytes,3,opt,name=int64_list,json=int64List,proto3,oneof"`
}

func (*CollectionDef_Int64List_) MarshalTo

func (m *CollectionDef_Int64List_) MarshalTo(dAtA []byte) (int, error)

func (*CollectionDef_Int64List_) Size

func (m *CollectionDef_Int64List_) Size() (n int)

type CollectionDef_NodeList

type CollectionDef_NodeList struct {
	Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
}

NodeList is used for collecting nodes in graph. For example

collection_def {
  key: "summaries"
  value {
    node_list {
      value: "input_producer/ScalarSummary:0"
      value: "shuffle_batch/ScalarSummary:0"
      value: "ImageSummary:0"
    }
  }

func (*CollectionDef_NodeList) Descriptor

func (*CollectionDef_NodeList) Descriptor() ([]byte, []int)

func (*CollectionDef_NodeList) GetValue

func (m *CollectionDef_NodeList) GetValue() []string

func (*CollectionDef_NodeList) Marshal

func (m *CollectionDef_NodeList) Marshal() (dAtA []byte, err error)

func (*CollectionDef_NodeList) MarshalTo

func (m *CollectionDef_NodeList) MarshalTo(dAtA []byte) (int, error)

func (*CollectionDef_NodeList) ProtoMessage

func (*CollectionDef_NodeList) ProtoMessage()

func (*CollectionDef_NodeList) Reset

func (m *CollectionDef_NodeList) Reset()

func (*CollectionDef_NodeList) Size

func (m *CollectionDef_NodeList) Size() (n int)

func (*CollectionDef_NodeList) String

func (m *CollectionDef_NodeList) String() string

func (*CollectionDef_NodeList) Unmarshal

func (m *CollectionDef_NodeList) Unmarshal(dAtA []byte) error

func (*CollectionDef_NodeList) XXX_DiscardUnknown added in v0.3.1

func (m *CollectionDef_NodeList) XXX_DiscardUnknown()

func (*CollectionDef_NodeList) XXX_Marshal added in v0.3.1

func (m *CollectionDef_NodeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectionDef_NodeList) XXX_Merge added in v0.3.1

func (m *CollectionDef_NodeList) XXX_Merge(src proto.Message)

func (*CollectionDef_NodeList) XXX_Size added in v0.3.1

func (m *CollectionDef_NodeList) XXX_Size() int

func (*CollectionDef_NodeList) XXX_Unmarshal added in v0.3.1

func (m *CollectionDef_NodeList) XXX_Unmarshal(b []byte) error

type CollectionDef_NodeList_

type CollectionDef_NodeList_ struct {
	NodeList *CollectionDef_NodeList `protobuf:"bytes,1,opt,name=node_list,json=nodeList,proto3,oneof"`
}

func (*CollectionDef_NodeList_) MarshalTo

func (m *CollectionDef_NodeList_) MarshalTo(dAtA []byte) (int, error)

func (*CollectionDef_NodeList_) Size

func (m *CollectionDef_NodeList_) Size() (n int)

type CompleteGroupRequest added in v0.3.1

type CompleteGroupRequest struct {
	GroupKey   int32    `protobuf:"varint,1,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"`
	GroupSize  int32    `protobuf:"varint,2,opt,name=group_size,json=groupSize,proto3" json:"group_size,omitempty"`
	DeviceType string   `protobuf:"bytes,3,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
	DeviceName []string `protobuf:"bytes,4,rep,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
}

Supplies one or more device names as members of the group identified by group_key. Service will respond when all group_size devices become known. All devices in group must have same type.

func (*CompleteGroupRequest) Descriptor added in v0.3.1

func (*CompleteGroupRequest) Descriptor() ([]byte, []int)

func (*CompleteGroupRequest) GetDeviceName added in v0.3.1

func (m *CompleteGroupRequest) GetDeviceName() []string

func (*CompleteGroupRequest) GetDeviceType added in v0.3.1

func (m *CompleteGroupRequest) GetDeviceType() string

func (*CompleteGroupRequest) GetGroupKey added in v0.3.1

func (m *CompleteGroupRequest) GetGroupKey() int32

func (*CompleteGroupRequest) GetGroupSize added in v0.3.1

func (m *CompleteGroupRequest) GetGroupSize() int32

func (*CompleteGroupRequest) Marshal added in v0.3.1

func (m *CompleteGroupRequest) Marshal() (dAtA []byte, err error)

func (*CompleteGroupRequest) MarshalTo added in v0.3.1

func (m *CompleteGroupRequest) MarshalTo(dAtA []byte) (int, error)

func (*CompleteGroupRequest) ProtoMessage added in v0.3.1

func (*CompleteGroupRequest) ProtoMessage()

func (*CompleteGroupRequest) Reset added in v0.3.1

func (m *CompleteGroupRequest) Reset()

func (*CompleteGroupRequest) Size added in v0.3.1

func (m *CompleteGroupRequest) Size() (n int)

func (*CompleteGroupRequest) String added in v0.3.1

func (m *CompleteGroupRequest) String() string

func (*CompleteGroupRequest) Unmarshal added in v0.3.1

func (m *CompleteGroupRequest) Unmarshal(dAtA []byte) error

func (*CompleteGroupRequest) XXX_DiscardUnknown added in v0.3.1

func (m *CompleteGroupRequest) XXX_DiscardUnknown()

func (*CompleteGroupRequest) XXX_Marshal added in v0.3.1

func (m *CompleteGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CompleteGroupRequest) XXX_Merge added in v0.3.1

func (m *CompleteGroupRequest) XXX_Merge(src proto.Message)

func (*CompleteGroupRequest) XXX_Size added in v0.3.1

func (m *CompleteGroupRequest) XXX_Size() int

func (*CompleteGroupRequest) XXX_Unmarshal added in v0.3.1

func (m *CompleteGroupRequest) XXX_Unmarshal(b []byte) error

type CompleteGroupResponse added in v0.3.1

type CompleteGroupResponse struct {
	GroupKey   int32    `protobuf:"varint,1,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"`
	GroupSize  int32    `protobuf:"varint,2,opt,name=group_size,json=groupSize,proto3" json:"group_size,omitempty"`
	DeviceType string   `protobuf:"bytes,3,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
	NumTasks   int32    `protobuf:"varint,4,opt,name=num_tasks,json=numTasks,proto3" json:"num_tasks,omitempty"`
	DeviceName []string `protobuf:"bytes,5,rep,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
	TaskName   []string `protobuf:"bytes,6,rep,name=task_name,json=taskName,proto3" json:"task_name,omitempty"`
}

Gives the complete membership of the group identified by group_key.

func (*CompleteGroupResponse) Descriptor added in v0.3.1

func (*CompleteGroupResponse) Descriptor() ([]byte, []int)

func (*CompleteGroupResponse) GetDeviceName added in v0.3.1

func (m *CompleteGroupResponse) GetDeviceName() []string

func (*CompleteGroupResponse) GetDeviceType added in v0.3.1

func (m *CompleteGroupResponse) GetDeviceType() string

func (*CompleteGroupResponse) GetGroupKey added in v0.3.1

func (m *CompleteGroupResponse) GetGroupKey() int32

func (*CompleteGroupResponse) GetGroupSize added in v0.3.1

func (m *CompleteGroupResponse) GetGroupSize() int32

func (*CompleteGroupResponse) GetNumTasks added in v0.3.1

func (m *CompleteGroupResponse) GetNumTasks() int32

func (*CompleteGroupResponse) GetTaskName added in v0.3.1

func (m *CompleteGroupResponse) GetTaskName() []string

func (*CompleteGroupResponse) Marshal added in v0.3.1

func (m *CompleteGroupResponse) Marshal() (dAtA []byte, err error)

func (*CompleteGroupResponse) MarshalTo added in v0.3.1

func (m *CompleteGroupResponse) MarshalTo(dAtA []byte) (int, error)

func (*CompleteGroupResponse) ProtoMessage added in v0.3.1

func (*CompleteGroupResponse) ProtoMessage()

func (*CompleteGroupResponse) Reset added in v0.3.1

func (m *CompleteGroupResponse) Reset()

func (*CompleteGroupResponse) Size added in v0.3.1

func (m *CompleteGroupResponse) Size() (n int)

func (*CompleteGroupResponse) String added in v0.3.1

func (m *CompleteGroupResponse) String() string

func (*CompleteGroupResponse) Unmarshal added in v0.3.1

func (m *CompleteGroupResponse) Unmarshal(dAtA []byte) error

func (*CompleteGroupResponse) XXX_DiscardUnknown added in v0.3.1

func (m *CompleteGroupResponse) XXX_DiscardUnknown()

func (*CompleteGroupResponse) XXX_Marshal added in v0.3.1

func (m *CompleteGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CompleteGroupResponse) XXX_Merge added in v0.3.1

func (m *CompleteGroupResponse) XXX_Merge(src proto.Message)

func (*CompleteGroupResponse) XXX_Size added in v0.3.1

func (m *CompleteGroupResponse) XXX_Size() int

func (*CompleteGroupResponse) XXX_Unmarshal added in v0.3.1

func (m *CompleteGroupResponse) XXX_Unmarshal(b []byte) error

type CompleteInstanceRequest added in v0.3.1

type CompleteInstanceRequest struct {
	Name         string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type         int32             `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
	DataType     DataType          `protobuf:"varint,3,opt,name=data_type,json=dataType,proto3,enum=tensorflow.DataType" json:"data_type,omitempty"`
	Shape        *TensorShapeProto `protobuf:"bytes,4,opt,name=shape,proto3" json:"shape,omitempty"`
	GroupKey     int32             `protobuf:"varint,5,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"`
	GroupSize    int32             `protobuf:"varint,6,opt,name=group_size,json=groupSize,proto3" json:"group_size,omitempty"`
	InstanceKey  int32             `protobuf:"varint,7,opt,name=instance_key,json=instanceKey,proto3" json:"instance_key,omitempty"`
	DeviceType   string            `protobuf:"bytes,8,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
	SubdivOffset []int32           `protobuf:"varint,9,rep,packed,name=subdiv_offset,json=subdivOffset,proto3" json:"subdiv_offset,omitempty"`
	Device       string            `protobuf:"bytes,10,opt,name=device,proto3" json:"device,omitempty"`
	IsSource     bool              `protobuf:"varint,11,opt,name=is_source,json=isSource,proto3" json:"is_source,omitempty"`
}

Supplies data about one collective op belonging to the instance identified by instance_key. Service will respond when all group_size ops have become known. Most of the data being sent is for correctness checking, to ensure that all ops in the instance share common attributes.

func (*CompleteInstanceRequest) Descriptor added in v0.3.1

func (*CompleteInstanceRequest) Descriptor() ([]byte, []int)

func (*CompleteInstanceRequest) GetDataType added in v0.3.1

func (m *CompleteInstanceRequest) GetDataType() DataType

func (*CompleteInstanceRequest) GetDevice added in v0.3.1

func (m *CompleteInstanceRequest) GetDevice() string

func (*CompleteInstanceRequest) GetDeviceType added in v0.3.1

func (m *CompleteInstanceRequest) GetDeviceType() string

func (*CompleteInstanceRequest) GetGroupKey added in v0.3.1

func (m *CompleteInstanceRequest) GetGroupKey() int32

func (*CompleteInstanceRequest) GetGroupSize added in v0.3.1

func (m *CompleteInstanceRequest) GetGroupSize() int32

func (*CompleteInstanceRequest) GetInstanceKey added in v0.3.1

func (m *CompleteInstanceRequest) GetInstanceKey() int32

func (*CompleteInstanceRequest) GetIsSource added in v0.3.1

func (m *CompleteInstanceRequest) GetIsSource() bool

func (*CompleteInstanceRequest) GetName added in v0.3.1

func (m *CompleteInstanceRequest) GetName() string

func (*CompleteInstanceRequest) GetShape added in v0.3.1

func (*CompleteInstanceRequest) GetSubdivOffset added in v0.3.1

func (m *CompleteInstanceRequest) GetSubdivOffset() []int32

func (*CompleteInstanceRequest) GetType added in v0.3.1

func (m *CompleteInstanceRequest) GetType() int32

func (*CompleteInstanceRequest) Marshal added in v0.3.1

func (m *CompleteInstanceRequest) Marshal() (dAtA []byte, err error)

func (*CompleteInstanceRequest) MarshalTo added in v0.3.1

func (m *CompleteInstanceRequest) MarshalTo(dAtA []byte) (int, error)

func (*CompleteInstanceRequest) ProtoMessage added in v0.3.1

func (*CompleteInstanceRequest) ProtoMessage()

func (*CompleteInstanceRequest) Reset added in v0.3.1

func (m *CompleteInstanceRequest) Reset()

func (*CompleteInstanceRequest) Size added in v0.3.1

func (m *CompleteInstanceRequest) Size() (n int)

func (*CompleteInstanceRequest) String added in v0.3.1

func (m *CompleteInstanceRequest) String() string

func (*CompleteInstanceRequest) Unmarshal added in v0.3.1

func (m *CompleteInstanceRequest) Unmarshal(dAtA []byte) error

func (*CompleteInstanceRequest) XXX_DiscardUnknown added in v0.3.1

func (m *CompleteInstanceRequest) XXX_DiscardUnknown()

func (*CompleteInstanceRequest) XXX_Marshal added in v0.3.1

func (m *CompleteInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CompleteInstanceRequest) XXX_Merge added in v0.3.1

func (m *CompleteInstanceRequest) XXX_Merge(src proto.Message)

func (*CompleteInstanceRequest) XXX_Size added in v0.3.1

func (m *CompleteInstanceRequest) XXX_Size() int

func (*CompleteInstanceRequest) XXX_Unmarshal added in v0.3.1

func (m *CompleteInstanceRequest) XXX_Unmarshal(b []byte) error

type CompleteInstanceResponse added in v0.3.1

type CompleteInstanceResponse struct {
	InstanceKey int32 `protobuf:"varint,1,opt,name=instance_key,json=instanceKey,proto3" json:"instance_key,omitempty"`
	SourceRank  int32 `protobuf:"varint,2,opt,name=source_rank,json=sourceRank,proto3" json:"source_rank,omitempty"`
}

Confirms that every op in the instance has consistently declared itself. Also gives the source_rank in case of broadcast.

func (*CompleteInstanceResponse) Descriptor added in v0.3.1

func (*CompleteInstanceResponse) Descriptor() ([]byte, []int)

func (*CompleteInstanceResponse) GetInstanceKey added in v0.3.1

func (m *CompleteInstanceResponse) GetInstanceKey() int32

func (*CompleteInstanceResponse) GetSourceRank added in v0.3.1

func (m *CompleteInstanceResponse) GetSourceRank() int32

func (*CompleteInstanceResponse) Marshal added in v0.3.1

func (m *CompleteInstanceResponse) Marshal() (dAtA []byte, err error)

func (*CompleteInstanceResponse) MarshalTo added in v0.3.1

func (m *CompleteInstanceResponse) MarshalTo(dAtA []byte) (int, error)

func (*CompleteInstanceResponse) ProtoMessage added in v0.3.1

func (*CompleteInstanceResponse) ProtoMessage()

func (*CompleteInstanceResponse) Reset added in v0.3.1

func (m *CompleteInstanceResponse) Reset()

func (*CompleteInstanceResponse) Size added in v0.3.1

func (m *CompleteInstanceResponse) Size() (n int)

func (*CompleteInstanceResponse) String added in v0.3.1

func (m *CompleteInstanceResponse) String() string

func (*CompleteInstanceResponse) Unmarshal added in v0.3.1

func (m *CompleteInstanceResponse) Unmarshal(dAtA []byte) error

func (*CompleteInstanceResponse) XXX_DiscardUnknown added in v0.3.1

func (m *CompleteInstanceResponse) XXX_DiscardUnknown()

func (*CompleteInstanceResponse) XXX_Marshal added in v0.3.1

func (m *CompleteInstanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CompleteInstanceResponse) XXX_Merge added in v0.3.1

func (m *CompleteInstanceResponse) XXX_Merge(src proto.Message)

func (*CompleteInstanceResponse) XXX_Size added in v0.3.1

func (m *CompleteInstanceResponse) XXX_Size() int

func (*CompleteInstanceResponse) XXX_Unmarshal added in v0.3.1

func (m *CompleteInstanceResponse) XXX_Unmarshal(b []byte) error

type CondContextDef

type CondContextDef struct {
	// Name of the context.
	ContextName string `protobuf:"bytes,1,opt,name=context_name,json=contextName,proto3" json:"context_name,omitempty"`
	// Name of the pred tensor.
	PredName string `protobuf:"bytes,2,opt,name=pred_name,json=predName,proto3" json:"pred_name,omitempty"`
	// Name of the pivot tensor.
	PivotName string `protobuf:"bytes,3,opt,name=pivot_name,json=pivotName,proto3" json:"pivot_name,omitempty"`
	// Branch prediction. 0 or 1.
	Branch int32 `protobuf:"varint,4,opt,name=branch,proto3" json:"branch,omitempty"`
	// Values and external values in control flow context.
	ValuesDef *ValuesDef `protobuf:"bytes,5,opt,name=values_def,json=valuesDef,proto3" json:"values_def,omitempty"`
	// Contexts contained inside this context (e.g. nested conds).
	NestedContexts []*ControlFlowContextDef `protobuf:"bytes,6,rep,name=nested_contexts,json=nestedContexts,proto3" json:"nested_contexts,omitempty"`
}

Protocol buffer representing a CondContext object.

func (*CondContextDef) Descriptor

func (*CondContextDef) Descriptor() ([]byte, []int)

func (*CondContextDef) GetBranch

func (m *CondContextDef) GetBranch() int32

func (*CondContextDef) GetContextName

func (m *CondContextDef) GetContextName() string

func (*CondContextDef) GetNestedContexts added in v0.3.1

func (m *CondContextDef) GetNestedContexts() []*ControlFlowContextDef

func (*CondContextDef) GetPivotName

func (m *CondContextDef) GetPivotName() string

func (*CondContextDef) GetPredName

func (m *CondContextDef) GetPredName() string

func (*CondContextDef) GetValuesDef

func (m *CondContextDef) GetValuesDef() *ValuesDef

func (*CondContextDef) Marshal

func (m *CondContextDef) Marshal() (dAtA []byte, err error)

func (*CondContextDef) MarshalTo

func (m *CondContextDef) MarshalTo(dAtA []byte) (int, error)

func (*CondContextDef) ProtoMessage

func (*CondContextDef) ProtoMessage()

func (*CondContextDef) Reset

func (m *CondContextDef) Reset()

func (*CondContextDef) Size

func (m *CondContextDef) Size() (n int)

func (*CondContextDef) String

func (m *CondContextDef) String() string

func (*CondContextDef) Unmarshal

func (m *CondContextDef) Unmarshal(dAtA []byte) error

func (*CondContextDef) XXX_DiscardUnknown added in v0.3.1

func (m *CondContextDef) XXX_DiscardUnknown()

func (*CondContextDef) XXX_Marshal added in v0.3.1

func (m *CondContextDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CondContextDef) XXX_Merge added in v0.3.1

func (m *CondContextDef) XXX_Merge(src proto.Message)

func (*CondContextDef) XXX_Size added in v0.3.1

func (m *CondContextDef) XXX_Size() int

func (*CondContextDef) XXX_Unmarshal added in v0.3.1

func (m *CondContextDef) XXX_Unmarshal(b []byte) error

type ConfigProto

type ConfigProto struct {
	// Map from device type name (e.g., "CPU" or "GPU" ) to maximum
	// number of devices of that type to use.  If a particular device
	// type is not found in the map, the system picks an appropriate
	// number.
	DeviceCount map[string]int32 `` /* 183-byte string literal not displayed */
	// The execution of an individual op (for some op types) can be
	// parallelized on a pool of intra_op_parallelism_threads.
	// 0 means the system picks an appropriate number.
	IntraOpParallelismThreads int32 `` /* 141-byte string literal not displayed */
	// Nodes that perform blocking operations are enqueued on a pool of
	// inter_op_parallelism_threads available in each process.
	//
	// 0 means the system picks an appropriate number.
	//
	// Note that the first Session created in the process sets the
	// number of threads for all future sessions unless use_per_session_threads is
	// true or session_inter_op_thread_pool is configured.
	InterOpParallelismThreads int32 `` /* 141-byte string literal not displayed */
	// If true, use a new set of threads for this session rather than the global
	// pool of threads. Only supported by direct sessions.
	//
	// If false, use the global threads created by the first session, or the
	// per-session thread pools configured by session_inter_op_thread_pool.
	//
	// This option is deprecated. The same effect can be achieved by setting
	// session_inter_op_thread_pool to have one element, whose num_threads equals
	// inter_op_parallelism_threads.
	UsePerSessionThreads bool `` /* 126-byte string literal not displayed */
	// This option is experimental - it may be replaced with a different mechanism
	// in the future.
	//
	// Configures session thread pools. If this is configured, then RunOptions for
	// a Run call can select the thread pool to use.
	//
	// The intended use is for when some session invocations need to run in a
	// background pool limited to a small number of threads:
	// - For example, a session may be configured to have one large pool (for
	// regular compute) and one small pool (for periodic, low priority work);
	// using the small pool is currently the mechanism for limiting the inter-op
	// parallelism of the low priority work.  Note that it does not limit the
	// parallelism of work spawned by a single op kernel implementation.
	// - Using this setting is normally not needed in training, but may help some
	// serving use cases.
	// - It is also generally recommended to set the global_name field of this
	// proto, to avoid creating multiple large pools. It is typically better to
	// run the non-low-priority work, even across sessions, in a single large
	// pool.
	SessionInterOpThreadPool []*ThreadPoolOptionProto `` /* 140-byte string literal not displayed */
	// Assignment of Nodes to Devices is recomputed every placement_period
	// steps until the system warms up (at which point the recomputation
	// typically slows down automatically).
	PlacementPeriod int32 `protobuf:"varint,3,opt,name=placement_period,json=placementPeriod,proto3" json:"placement_period,omitempty"`
	// When any filters are present sessions will ignore all devices which do not
	// match the filters. Each filter can be partially specified, e.g. "/job:ps"
	// "/job:worker/replica:3", etc.
	DeviceFilters []string `protobuf:"bytes,4,rep,name=device_filters,json=deviceFilters,proto3" json:"device_filters,omitempty"`
	// Options that apply to all GPUs.
	GpuOptions *GPUOptions `protobuf:"bytes,6,opt,name=gpu_options,json=gpuOptions,proto3" json:"gpu_options,omitempty"`
	// Whether soft placement is allowed. If allow_soft_placement is true,
	// an op will be placed on CPU if
	//   1. there's no GPU implementation for the OP
	// or
	//   2. no GPU devices are known or registered
	// or
	//   3. need to co-locate with reftype input(s) which are from CPU.
	AllowSoftPlacement bool `protobuf:"varint,7,opt,name=allow_soft_placement,json=allowSoftPlacement,proto3" json:"allow_soft_placement,omitempty"`
	// Whether device placements should be logged.
	LogDevicePlacement bool `protobuf:"varint,8,opt,name=log_device_placement,json=logDevicePlacement,proto3" json:"log_device_placement,omitempty"`
	// Options that apply to all graphs.
	GraphOptions *GraphOptions `protobuf:"bytes,10,opt,name=graph_options,json=graphOptions,proto3" json:"graph_options,omitempty"`
	// Global timeout for all blocking operations in this session.  If non-zero,
	// and not overridden on a per-operation basis, this value will be used as the
	// deadline for all blocking operations.
	OperationTimeoutInMs int64 `` /* 127-byte string literal not displayed */
	// Options that apply when this session uses the distributed runtime.
	RpcOptions *RPCOptions `protobuf:"bytes,13,opt,name=rpc_options,json=rpcOptions,proto3" json:"rpc_options,omitempty"`
	// Optional list of all workers to use in this session.
	ClusterDef *ClusterDef `protobuf:"bytes,14,opt,name=cluster_def,json=clusterDef,proto3" json:"cluster_def,omitempty"`
	// If true, any resources such as Variables used in the session will not be
	// shared with other sessions.
	IsolateSessionState bool                      `protobuf:"varint,15,opt,name=isolate_session_state,json=isolateSessionState,proto3" json:"isolate_session_state,omitempty"`
	Experimental        *ConfigProto_Experimental `protobuf:"bytes,16,opt,name=experimental,proto3" json:"experimental,omitempty"`
}

Session configuration parameters. The system picks appropriate values for fields that are not set.

func (*ConfigProto) Descriptor

func (*ConfigProto) Descriptor() ([]byte, []int)

func (*ConfigProto) GetAllowSoftPlacement

func (m *ConfigProto) GetAllowSoftPlacement() bool

func (*ConfigProto) GetClusterDef

func (m *ConfigProto) GetClusterDef() *ClusterDef

func (*ConfigProto) GetDeviceCount

func (m *ConfigProto) GetDeviceCount() map[string]int32

func (*ConfigProto) GetDeviceFilters

func (m *ConfigProto) GetDeviceFilters() []string

func (*ConfigProto) GetExperimental added in v0.3.1

func (m *ConfigProto) GetExperimental() *ConfigProto_Experimental

func (*ConfigProto) GetGpuOptions

func (m *ConfigProto) GetGpuOptions() *GPUOptions

func (*ConfigProto) GetGraphOptions

func (m *ConfigProto) GetGraphOptions() *GraphOptions

func (*ConfigProto) GetInterOpParallelismThreads

func (m *ConfigProto) GetInterOpParallelismThreads() int32

func (*ConfigProto) GetIntraOpParallelismThreads

func (m *ConfigProto) GetIntraOpParallelismThreads() int32

func (*ConfigProto) GetIsolateSessionState added in v0.3.1

func (m *ConfigProto) GetIsolateSessionState() bool

func (*ConfigProto) GetLogDevicePlacement

func (m *ConfigProto) GetLogDevicePlacement() bool

func (*ConfigProto) GetOperationTimeoutInMs

func (m *ConfigProto) GetOperationTimeoutInMs() int64

func (*ConfigProto) GetPlacementPeriod

func (m *ConfigProto) GetPlacementPeriod() int32

func (*ConfigProto) GetRpcOptions

func (m *ConfigProto) GetRpcOptions() *RPCOptions

func (*ConfigProto) GetSessionInterOpThreadPool

func (m *ConfigProto) GetSessionInterOpThreadPool() []*ThreadPoolOptionProto

func (*ConfigProto) GetUsePerSessionThreads

func (m *ConfigProto) GetUsePerSessionThreads() bool

func (*ConfigProto) Marshal

func (m *ConfigProto) Marshal() (dAtA []byte, err error)

func (*ConfigProto) MarshalTo

func (m *ConfigProto) MarshalTo(dAtA []byte) (int, error)

func (*ConfigProto) ProtoMessage

func (*ConfigProto) ProtoMessage()

func (*ConfigProto) Reset

func (m *ConfigProto) Reset()

func (*ConfigProto) Size

func (m *ConfigProto) Size() (n int)

func (*ConfigProto) String

func (m *ConfigProto) String() string

func (*ConfigProto) Unmarshal

func (m *ConfigProto) Unmarshal(dAtA []byte) error

func (*ConfigProto) XXX_DiscardUnknown added in v0.3.1

func (m *ConfigProto) XXX_DiscardUnknown()

func (*ConfigProto) XXX_Marshal added in v0.3.1

func (m *ConfigProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigProto) XXX_Merge added in v0.3.1

func (m *ConfigProto) XXX_Merge(src proto.Message)

func (*ConfigProto) XXX_Size added in v0.3.1

func (m *ConfigProto) XXX_Size() int

func (*ConfigProto) XXX_Unmarshal added in v0.3.1

func (m *ConfigProto) XXX_Unmarshal(b []byte) error

type ConfigProto_Experimental added in v0.3.1

type ConfigProto_Experimental struct {
	// Task name for group resolution.
	CollectiveGroupLeader string `` /* 126-byte string literal not displayed */
	// Which executor to use, the default executor will be used
	// if it is an empty string or "DEFAULT"
	ExecutorType string `protobuf:"bytes,3,opt,name=executor_type,json=executorType,proto3" json:"executor_type,omitempty"`
}

Everything inside Experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat.

func (*ConfigProto_Experimental) Descriptor added in v0.3.1

func (*ConfigProto_Experimental) Descriptor() ([]byte, []int)

func (*ConfigProto_Experimental) GetCollectiveGroupLeader added in v0.3.1

func (m *ConfigProto_Experimental) GetCollectiveGroupLeader() string

func (*ConfigProto_Experimental) GetExecutorType added in v0.3.1

func (m *ConfigProto_Experimental) GetExecutorType() string

func (*ConfigProto_Experimental) Marshal added in v0.3.1

func (m *ConfigProto_Experimental) Marshal() (dAtA []byte, err error)

func (*ConfigProto_Experimental) MarshalTo added in v0.3.1

func (m *ConfigProto_Experimental) MarshalTo(dAtA []byte) (int, error)

func (*ConfigProto_Experimental) ProtoMessage added in v0.3.1

func (*ConfigProto_Experimental) ProtoMessage()

func (*ConfigProto_Experimental) Reset added in v0.3.1

func (m *ConfigProto_Experimental) Reset()

func (*ConfigProto_Experimental) Size added in v0.3.1

func (m *ConfigProto_Experimental) Size() (n int)

func (*ConfigProto_Experimental) String added in v0.3.1

func (m *ConfigProto_Experimental) String() string

func (*ConfigProto_Experimental) Unmarshal added in v0.3.1

func (m *ConfigProto_Experimental) Unmarshal(dAtA []byte) error

func (*ConfigProto_Experimental) XXX_DiscardUnknown added in v0.3.1

func (m *ConfigProto_Experimental) XXX_DiscardUnknown()

func (*ConfigProto_Experimental) XXX_Marshal added in v0.3.1

func (m *ConfigProto_Experimental) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigProto_Experimental) XXX_Merge added in v0.3.1

func (m *ConfigProto_Experimental) XXX_Merge(src proto.Message)

func (*ConfigProto_Experimental) XXX_Size added in v0.3.1

func (m *ConfigProto_Experimental) XXX_Size() int

func (*ConfigProto_Experimental) XXX_Unmarshal added in v0.3.1

func (m *ConfigProto_Experimental) XXX_Unmarshal(b []byte) error

type ControlFlowContextDef added in v0.3.1

type ControlFlowContextDef struct {
	// Types that are valid to be assigned to Ctxt:
	//	*ControlFlowContextDef_CondCtxt
	//	*ControlFlowContextDef_WhileCtxt
	Ctxt isControlFlowContextDef_Ctxt `protobuf_oneof:"ctxt"`
}

Container for any kind of control flow context. Any other control flow contexts that are added below should also be added here.

func (*ControlFlowContextDef) Descriptor added in v0.3.1

func (*ControlFlowContextDef) Descriptor() ([]byte, []int)

func (*ControlFlowContextDef) GetCondCtxt added in v0.3.1

func (m *ControlFlowContextDef) GetCondCtxt() *CondContextDef

func (*ControlFlowContextDef) GetCtxt added in v0.3.1

func (m *ControlFlowContextDef) GetCtxt() isControlFlowContextDef_Ctxt

func (*ControlFlowContextDef) GetWhileCtxt added in v0.3.1

func (m *ControlFlowContextDef) GetWhileCtxt() *WhileContextDef

func (*ControlFlowContextDef) Marshal added in v0.3.1

func (m *ControlFlowContextDef) Marshal() (dAtA []byte, err error)

func (*ControlFlowContextDef) MarshalTo added in v0.3.1

func (m *ControlFlowContextDef) MarshalTo(dAtA []byte) (int, error)

func (*ControlFlowContextDef) ProtoMessage added in v0.3.1

func (*ControlFlowContextDef) ProtoMessage()

func (*ControlFlowContextDef) Reset added in v0.3.1

func (m *ControlFlowContextDef) Reset()

func (*ControlFlowContextDef) Size added in v0.3.1

func (m *ControlFlowContextDef) Size() (n int)

func (*ControlFlowContextDef) String added in v0.3.1

func (m *ControlFlowContextDef) String() string

func (*ControlFlowContextDef) Unmarshal added in v0.3.1

func (m *ControlFlowContextDef) Unmarshal(dAtA []byte) error

func (*ControlFlowContextDef) XXX_DiscardUnknown added in v0.3.1

func (m *ControlFlowContextDef) XXX_DiscardUnknown()

func (*ControlFlowContextDef) XXX_Marshal added in v0.3.1

func (m *ControlFlowContextDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ControlFlowContextDef) XXX_Merge added in v0.3.1

func (m *ControlFlowContextDef) XXX_Merge(src proto.Message)

func (*ControlFlowContextDef) XXX_OneofFuncs added in v0.3.1

func (*ControlFlowContextDef) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*ControlFlowContextDef) XXX_Size added in v0.3.1

func (m *ControlFlowContextDef) XXX_Size() int

func (*ControlFlowContextDef) XXX_Unmarshal added in v0.3.1

func (m *ControlFlowContextDef) XXX_Unmarshal(b []byte) error

type ControlFlowContextDef_CondCtxt added in v0.3.1

type ControlFlowContextDef_CondCtxt struct {
	CondCtxt *CondContextDef `protobuf:"bytes,1,opt,name=cond_ctxt,json=condCtxt,proto3,oneof"`
}

func (*ControlFlowContextDef_CondCtxt) MarshalTo added in v0.3.1

func (m *ControlFlowContextDef_CondCtxt) MarshalTo(dAtA []byte) (int, error)

func (*ControlFlowContextDef_CondCtxt) Size added in v0.3.1

func (m *ControlFlowContextDef_CondCtxt) Size() (n int)

type ControlFlowContextDef_WhileCtxt added in v0.3.1

type ControlFlowContextDef_WhileCtxt struct {
	WhileCtxt *WhileContextDef `protobuf:"bytes,2,opt,name=while_ctxt,json=whileCtxt,proto3,oneof"`
}

func (*ControlFlowContextDef_WhileCtxt) MarshalTo added in v0.3.1

func (m *ControlFlowContextDef_WhileCtxt) MarshalTo(dAtA []byte) (int, error)

func (*ControlFlowContextDef_WhileCtxt) Size added in v0.3.1

func (m *ControlFlowContextDef_WhileCtxt) Size() (n int)

type CostGraphDef

type CostGraphDef struct {
	Node []*CostGraphDef_Node `protobuf:"bytes,1,rep,name=node,proto3" json:"node,omitempty"`
}

func (*CostGraphDef) Descriptor

func (*CostGraphDef) Descriptor() ([]byte, []int)

func (*CostGraphDef) GetNode

func (m *CostGraphDef) GetNode() []*CostGraphDef_Node

func (*CostGraphDef) Marshal

func (m *CostGraphDef) Marshal() (dAtA []byte, err error)

func (*CostGraphDef) MarshalTo

func (m *CostGraphDef) MarshalTo(dAtA []byte) (int, error)

func (*CostGraphDef) ProtoMessage

func (*CostGraphDef) ProtoMessage()

func (*CostGraphDef) Reset

func (m *CostGraphDef) Reset()

func (*CostGraphDef) Size

func (m *CostGraphDef) Size() (n int)

func (*CostGraphDef) String

func (m *CostGraphDef) String() string

func (*CostGraphDef) Unmarshal

func (m *CostGraphDef) Unmarshal(dAtA []byte) error

func (*CostGraphDef) XXX_DiscardUnknown added in v0.3.1

func (m *CostGraphDef) XXX_DiscardUnknown()

func (*CostGraphDef) XXX_Marshal added in v0.3.1

func (m *CostGraphDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CostGraphDef) XXX_Merge added in v0.3.1

func (m *CostGraphDef) XXX_Merge(src proto.Message)

func (*CostGraphDef) XXX_Size added in v0.3.1

func (m *CostGraphDef) XXX_Size() int

func (*CostGraphDef) XXX_Unmarshal added in v0.3.1

func (m *CostGraphDef) XXX_Unmarshal(b []byte) error

type CostGraphDef_Node

type CostGraphDef_Node struct {
	// The name of the node. Names are globally unique.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The device of the node. Can be empty if the node is mapped to the
	// default partition or partitioning hasn't been run yet.
	Device string `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
	// The id of the node. Node ids are only unique inside a partition.
	Id         int32                           `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
	InputInfo  []*CostGraphDef_Node_InputInfo  `protobuf:"bytes,4,rep,name=input_info,json=inputInfo,proto3" json:"input_info,omitempty"`
	OutputInfo []*CostGraphDef_Node_OutputInfo `protobuf:"bytes,5,rep,name=output_info,json=outputInfo,proto3" json:"output_info,omitempty"`
	// Temporary memory used by this node.
	TemporaryMemorySize int64 `protobuf:"varint,6,opt,name=temporary_memory_size,json=temporaryMemorySize,proto3" json:"temporary_memory_size,omitempty"`
	// Persistent memory used by this node.
	PersistentMemorySize int64 `protobuf:"varint,12,opt,name=persistent_memory_size,json=persistentMemorySize,proto3" json:"persistent_memory_size,omitempty"`
	HostTempMemorySize   int64 `protobuf:"varint,10,opt,name=host_temp_memory_size,json=hostTempMemorySize,proto3" json:"host_temp_memory_size,omitempty"` // Deprecated: Do not use.
	DeviceTempMemorySize int64 ``                                                                                                                          // Deprecated: Do not use.
	/* 127-byte string literal not displayed */
	DevicePersistentMemorySize int64 `` // Deprecated: Do not use.
	/* 145-byte string literal not displayed */
	// Estimate of the computational cost of this node, in microseconds.
	ComputeCost int64 `protobuf:"varint,9,opt,name=compute_cost,json=computeCost,proto3" json:"compute_cost,omitempty"`
	// Analytical estimate of the computational cost of this node, in
	// microseconds.
	ComputeTime int64 `protobuf:"varint,14,opt,name=compute_time,json=computeTime,proto3" json:"compute_time,omitempty"`
	// Analytical estimate of the memory access cost of this node, in
	// microseconds.
	MemoryTime int64 `protobuf:"varint,15,opt,name=memory_time,json=memoryTime,proto3" json:"memory_time,omitempty"`
	// If true, the output is permanent: it can't be discarded, because this
	// node is part of the "final output". Nodes may depend on final nodes.
	IsFinal bool `protobuf:"varint,7,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"`
	// Ids of the control inputs for this node.
	ControlInput []int32 `protobuf:"varint,8,rep,packed,name=control_input,json=controlInput,proto3" json:"control_input,omitempty"`
	// Are the costs inaccurate?
	Inaccurate bool `protobuf:"varint,17,opt,name=inaccurate,proto3" json:"inaccurate,omitempty"`
}

func (*CostGraphDef_Node) Descriptor

func (*CostGraphDef_Node) Descriptor() ([]byte, []int)

func (*CostGraphDef_Node) GetComputeCost

func (m *CostGraphDef_Node) GetComputeCost() int64

func (*CostGraphDef_Node) GetComputeTime

func (m *CostGraphDef_Node) GetComputeTime() int64

func (*CostGraphDef_Node) GetControlInput

func (m *CostGraphDef_Node) GetControlInput() []int32

func (*CostGraphDef_Node) GetDevice

func (m *CostGraphDef_Node) GetDevice() string

func (*CostGraphDef_Node) GetDevicePersistentMemorySize deprecated

func (m *CostGraphDef_Node) GetDevicePersistentMemorySize() int64

Deprecated: Do not use.

func (*CostGraphDef_Node) GetDeviceTempMemorySize deprecated

func (m *CostGraphDef_Node) GetDeviceTempMemorySize() int64

Deprecated: Do not use.

func (*CostGraphDef_Node) GetHostTempMemorySize deprecated

func (m *CostGraphDef_Node) GetHostTempMemorySize() int64

Deprecated: Do not use.

func (*CostGraphDef_Node) GetId

func (m *CostGraphDef_Node) GetId() int32

func (*CostGraphDef_Node) GetInaccurate added in v0.3.1

func (m *CostGraphDef_Node) GetInaccurate() bool

func (*CostGraphDef_Node) GetInputInfo

func (m *CostGraphDef_Node) GetInputInfo() []*CostGraphDef_Node_InputInfo

func (*CostGraphDef_Node) GetIsFinal

func (m *CostGraphDef_Node) GetIsFinal() bool

func (*CostGraphDef_Node) GetMemoryTime

func (m *CostGraphDef_Node) GetMemoryTime() int64

func (*CostGraphDef_Node) GetName

func (m *CostGraphDef_Node) GetName() string

func (*CostGraphDef_Node) GetOutputInfo

func (m *CostGraphDef_Node) GetOutputInfo() []*CostGraphDef_Node_OutputInfo

func (*CostGraphDef_Node) GetPersistentMemorySize added in v0.3.1

func (m *CostGraphDef_Node) GetPersistentMemorySize() int64

func (*CostGraphDef_Node) GetTemporaryMemorySize

func (m *CostGraphDef_Node) GetTemporaryMemorySize() int64

func (*CostGraphDef_Node) Marshal

func (m *CostGraphDef_Node) Marshal() (dAtA []byte, err error)

func (*CostGraphDef_Node) MarshalTo

func (m *CostGraphDef_Node) MarshalTo(dAtA []byte) (int, error)

func (*CostGraphDef_Node) ProtoMessage

func (*CostGraphDef_Node) ProtoMessage()

func (*CostGraphDef_Node) Reset

func (m *CostGraphDef_Node) Reset()

func (*CostGraphDef_Node) Size

func (m *CostGraphDef_Node) Size() (n int)

func (*CostGraphDef_Node) String

func (m *CostGraphDef_Node) String() string

func (*CostGraphDef_Node) Unmarshal

func (m *CostGraphDef_Node) Unmarshal(dAtA []byte) error

func (*CostGraphDef_Node) XXX_DiscardUnknown added in v0.3.1

func (m *CostGraphDef_Node) XXX_DiscardUnknown()

func (*CostGraphDef_Node) XXX_Marshal added in v0.3.1

func (m *CostGraphDef_Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CostGraphDef_Node) XXX_Merge added in v0.3.1

func (m *CostGraphDef_Node) XXX_Merge(src proto.Message)

func (*CostGraphDef_Node) XXX_Size added in v0.3.1

func (m *CostGraphDef_Node) XXX_Size() int

func (*CostGraphDef_Node) XXX_Unmarshal added in v0.3.1

func (m *CostGraphDef_Node) XXX_Unmarshal(b []byte) error

type CostGraphDef_Node_InputInfo

type CostGraphDef_Node_InputInfo struct {
	PrecedingNode int32 `protobuf:"varint,1,opt,name=preceding_node,json=precedingNode,proto3" json:"preceding_node,omitempty"`
	PrecedingPort int32 `protobuf:"varint,2,opt,name=preceding_port,json=precedingPort,proto3" json:"preceding_port,omitempty"`
}

Inputs of this node. They must be executed before this node can be executed. An input is a particular output of another node, specified by the node id and the output index.

func (*CostGraphDef_Node_InputInfo) Descriptor

func (*CostGraphDef_Node_InputInfo) Descriptor() ([]byte, []int)

func (*CostGraphDef_Node_InputInfo) GetPrecedingNode

func (m *CostGraphDef_Node_InputInfo) GetPrecedingNode() int32

func (*CostGraphDef_Node_InputInfo) GetPrecedingPort

func (m *CostGraphDef_Node_InputInfo) GetPrecedingPort() int32

func (*CostGraphDef_Node_InputInfo) Marshal

func (m *CostGraphDef_Node_InputInfo) Marshal() (dAtA []byte, err error)

func (*CostGraphDef_Node_InputInfo) MarshalTo

func (m *CostGraphDef_Node_InputInfo) MarshalTo(dAtA []byte) (int, error)

func (*CostGraphDef_Node_InputInfo) ProtoMessage

func (*CostGraphDef_Node_InputInfo) ProtoMessage()

func (*CostGraphDef_Node_InputInfo) Reset

func (m *CostGraphDef_Node_InputInfo) Reset()

func (*CostGraphDef_Node_InputInfo) Size

func (m *CostGraphDef_Node_InputInfo) Size() (n int)

func (*CostGraphDef_Node_InputInfo) String

func (m *CostGraphDef_Node_InputInfo) String() string

func (*CostGraphDef_Node_InputInfo) Unmarshal

func (m *CostGraphDef_Node_InputInfo) Unmarshal(dAtA []byte) error

func (*CostGraphDef_Node_InputInfo) XXX_DiscardUnknown added in v0.3.1

func (m *CostGraphDef_Node_InputInfo) XXX_DiscardUnknown()

func (*CostGraphDef_Node_InputInfo) XXX_Marshal added in v0.3.1

func (m *CostGraphDef_Node_InputInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CostGraphDef_Node_InputInfo) XXX_Merge added in v0.3.1

func (m *CostGraphDef_Node_InputInfo) XXX_Merge(src proto.Message)

func (*CostGraphDef_Node_InputInfo) XXX_Size added in v0.3.1

func (m *CostGraphDef_Node_InputInfo) XXX_Size() int

func (*CostGraphDef_Node_InputInfo) XXX_Unmarshal added in v0.3.1

func (m *CostGraphDef_Node_InputInfo) XXX_Unmarshal(b []byte) error

type CostGraphDef_Node_OutputInfo

type CostGraphDef_Node_OutputInfo struct {
	Size_ int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// If >= 0, the output is an alias of an input. Note that an alias input
	// may itself be an alias. The algorithm will therefore need to follow
	// those pointers.
	AliasInputPort int64             `protobuf:"varint,2,opt,name=alias_input_port,json=aliasInputPort,proto3" json:"alias_input_port,omitempty"`
	Shape          *TensorShapeProto `protobuf:"bytes,3,opt,name=shape,proto3" json:"shape,omitempty"`
	Dtype          DataType          `protobuf:"varint,4,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
}

Outputs of this node.

func (*CostGraphDef_Node_OutputInfo) Descriptor

func (*CostGraphDef_Node_OutputInfo) Descriptor() ([]byte, []int)

func (*CostGraphDef_Node_OutputInfo) GetAliasInputPort

func (m *CostGraphDef_Node_OutputInfo) GetAliasInputPort() int64

func (*CostGraphDef_Node_OutputInfo) GetDtype

func (m *CostGraphDef_Node_OutputInfo) GetDtype() DataType

func (*CostGraphDef_Node_OutputInfo) GetShape

func (*CostGraphDef_Node_OutputInfo) GetSize_

func (m *CostGraphDef_Node_OutputInfo) GetSize_() int64

func (*CostGraphDef_Node_OutputInfo) Marshal

func (m *CostGraphDef_Node_OutputInfo) Marshal() (dAtA []byte, err error)

func (*CostGraphDef_Node_OutputInfo) MarshalTo

func (m *CostGraphDef_Node_OutputInfo) MarshalTo(dAtA []byte) (int, error)

func (*CostGraphDef_Node_OutputInfo) ProtoMessage

func (*CostGraphDef_Node_OutputInfo) ProtoMessage()

func (*CostGraphDef_Node_OutputInfo) Reset

func (m *CostGraphDef_Node_OutputInfo) Reset()

func (*CostGraphDef_Node_OutputInfo) Size

func (m *CostGraphDef_Node_OutputInfo) Size() (n int)

func (*CostGraphDef_Node_OutputInfo) String

func (*CostGraphDef_Node_OutputInfo) Unmarshal

func (m *CostGraphDef_Node_OutputInfo) Unmarshal(dAtA []byte) error

func (*CostGraphDef_Node_OutputInfo) XXX_DiscardUnknown added in v0.3.1

func (m *CostGraphDef_Node_OutputInfo) XXX_DiscardUnknown()

func (*CostGraphDef_Node_OutputInfo) XXX_Marshal added in v0.3.1

func (m *CostGraphDef_Node_OutputInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CostGraphDef_Node_OutputInfo) XXX_Merge added in v0.3.1

func (m *CostGraphDef_Node_OutputInfo) XXX_Merge(src proto.Message)

func (*CostGraphDef_Node_OutputInfo) XXX_Size added in v0.3.1

func (m *CostGraphDef_Node_OutputInfo) XXX_Size() int

func (*CostGraphDef_Node_OutputInfo) XXX_Unmarshal added in v0.3.1

func (m *CostGraphDef_Node_OutputInfo) XXX_Unmarshal(b []byte) error

type CreateContextRequest added in v0.3.1

type CreateContextRequest struct {
	// Identifies the full cluster, and this particular worker's position within.
	ServerDef *ServerDef `protobuf:"bytes,1,opt,name=server_def,json=serverDef,proto3" json:"server_def,omitempty"`
	// Whether the ops on the worker should be executed synchronously or
	// asynchronously. By default, ops are executed synchronously.
	Async bool `protobuf:"varint,2,opt,name=async,proto3" json:"async,omitempty"`
	// Number of seconds to keep the context alive. If more than keep_alive_secs
	// has passed since a particular context has been communicated with, it will
	// be garbage collected.
	KeepAliveSecs int64 `protobuf:"varint,3,opt,name=keep_alive_secs,json=keepAliveSecs,proto3" json:"keep_alive_secs,omitempty"`
	// This is the version for all the ops that will be enqueued by the client.
	VersionDef *VersionDef `protobuf:"bytes,4,opt,name=version_def,json=versionDef,proto3" json:"version_def,omitempty"`
	// This ID will be used for all future communications. It is essential that
	// both ends use this ID for selecting a rendezvous to get everything to
	// match.
	RendezvousId int64 `protobuf:"varint,5,opt,name=rendezvous_id,json=rendezvousId,proto3" json:"rendezvous_id,omitempty"`
}

func (*CreateContextRequest) Descriptor added in v0.3.1

func (*CreateContextRequest) Descriptor() ([]byte, []int)

func (*CreateContextRequest) GetAsync added in v0.3.1

func (m *CreateContextRequest) GetAsync() bool

func (*CreateContextRequest) GetKeepAliveSecs added in v0.3.1

func (m *CreateContextRequest) GetKeepAliveSecs() int64

func (*CreateContextRequest) GetRendezvousId added in v0.3.1

func (m *CreateContextRequest) GetRendezvousId() int64

func (*CreateContextRequest) GetServerDef added in v0.3.1

func (m *CreateContextRequest) GetServerDef() *ServerDef

func (*CreateContextRequest) GetVersionDef added in v0.3.1

func (m *CreateContextRequest) GetVersionDef() *VersionDef

func (*CreateContextRequest) Marshal added in v0.3.1

func (m *CreateContextRequest) Marshal() (dAtA []byte, err error)

func (*CreateContextRequest) MarshalTo added in v0.3.1

func (m *CreateContextRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateContextRequest) ProtoMessage added in v0.3.1

func (*CreateContextRequest) ProtoMessage()

func (*CreateContextRequest) Reset added in v0.3.1

func (m *CreateContextRequest) Reset()

func (*CreateContextRequest) Size added in v0.3.1

func (m *CreateContextRequest) Size() (n int)

func (*CreateContextRequest) String added in v0.3.1

func (m *CreateContextRequest) String() string

func (*CreateContextRequest) Unmarshal added in v0.3.1

func (m *CreateContextRequest) Unmarshal(dAtA []byte) error

func (*CreateContextRequest) XXX_DiscardUnknown added in v0.3.1

func (m *CreateContextRequest) XXX_DiscardUnknown()

func (*CreateContextRequest) XXX_Marshal added in v0.3.1

func (m *CreateContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateContextRequest) XXX_Merge added in v0.3.1

func (m *CreateContextRequest) XXX_Merge(src proto.Message)

func (*CreateContextRequest) XXX_Size added in v0.3.1

func (m *CreateContextRequest) XXX_Size() int

func (*CreateContextRequest) XXX_Unmarshal added in v0.3.1

func (m *CreateContextRequest) XXX_Unmarshal(b []byte) error

type CreateContextResponse added in v0.3.1

type CreateContextResponse struct {
	// The ID of the created context. This is usually a randomly generated number,
	// that will be used to identify the context in future requests to the
	// service. Contexts are not persisted through server restarts.
	ContextId uint64 `protobuf:"fixed64,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"`
	// List of devices that are locally accessible to the worker.
	DeviceAttributes []*DeviceAttributes `protobuf:"bytes,2,rep,name=device_attributes,json=deviceAttributes,proto3" json:"device_attributes,omitempty"`
}

func (*CreateContextResponse) Descriptor added in v0.3.1

func (*CreateContextResponse) Descriptor() ([]byte, []int)

func (*CreateContextResponse) GetContextId added in v0.3.1

func (m *CreateContextResponse) GetContextId() uint64

func (*CreateContextResponse) GetDeviceAttributes added in v0.3.1

func (m *CreateContextResponse) GetDeviceAttributes() []*DeviceAttributes

func (*CreateContextResponse) Marshal added in v0.3.1

func (m *CreateContextResponse) Marshal() (dAtA []byte, err error)

func (*CreateContextResponse) MarshalTo added in v0.3.1

func (m *CreateContextResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateContextResponse) ProtoMessage added in v0.3.1

func (*CreateContextResponse) ProtoMessage()

func (*CreateContextResponse) Reset added in v0.3.1

func (m *CreateContextResponse) Reset()

func (*CreateContextResponse) Size added in v0.3.1

func (m *CreateContextResponse) Size() (n int)

func (*CreateContextResponse) String added in v0.3.1

func (m *CreateContextResponse) String() string

func (*CreateContextResponse) Unmarshal added in v0.3.1

func (m *CreateContextResponse) Unmarshal(dAtA []byte) error

func (*CreateContextResponse) XXX_DiscardUnknown added in v0.3.1

func (m *CreateContextResponse) XXX_DiscardUnknown()

func (*CreateContextResponse) XXX_Marshal added in v0.3.1

func (m *CreateContextResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateContextResponse) XXX_Merge added in v0.3.1

func (m *CreateContextResponse) XXX_Merge(src proto.Message)

func (*CreateContextResponse) XXX_Size added in v0.3.1

func (m *CreateContextResponse) XXX_Size() int

func (*CreateContextResponse) XXX_Unmarshal added in v0.3.1

func (m *CreateContextResponse) XXX_Unmarshal(b []byte) error

type CreateSessionRequest

type CreateSessionRequest struct {
	// The initial graph definition.
	GraphDef *GraphDef `protobuf:"bytes,1,opt,name=graph_def,json=graphDef,proto3" json:"graph_def,omitempty"`
	// Configuration options.
	Config *ConfigProto `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// The target string used from the client's perspective.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
}

func (*CreateSessionRequest) Descriptor

func (*CreateSessionRequest) Descriptor() ([]byte, []int)

func (*CreateSessionRequest) GetConfig

func (m *CreateSessionRequest) GetConfig() *ConfigProto

func (*CreateSessionRequest) GetGraphDef

func (m *CreateSessionRequest) GetGraphDef() *GraphDef

func (*CreateSessionRequest) GetTarget

func (m *CreateSessionRequest) GetTarget() string

func (*CreateSessionRequest) Marshal

func (m *CreateSessionRequest) Marshal() (dAtA []byte, err error)

func (*CreateSessionRequest) MarshalTo

func (m *CreateSessionRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateSessionRequest) ProtoMessage

func (*CreateSessionRequest) ProtoMessage()

func (*CreateSessionRequest) Reset

func (m *CreateSessionRequest) Reset()

func (*CreateSessionRequest) Size

func (m *CreateSessionRequest) Size() (n int)

func (*CreateSessionRequest) String

func (m *CreateSessionRequest) String() string

func (*CreateSessionRequest) Unmarshal

func (m *CreateSessionRequest) Unmarshal(dAtA []byte) error

func (*CreateSessionRequest) XXX_DiscardUnknown added in v0.3.1

func (m *CreateSessionRequest) XXX_DiscardUnknown()

func (*CreateSessionRequest) XXX_Marshal added in v0.3.1

func (m *CreateSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateSessionRequest) XXX_Merge added in v0.3.1

func (m *CreateSessionRequest) XXX_Merge(src proto.Message)

func (*CreateSessionRequest) XXX_Size added in v0.3.1

func (m *CreateSessionRequest) XXX_Size() int

func (*CreateSessionRequest) XXX_Unmarshal added in v0.3.1

func (m *CreateSessionRequest) XXX_Unmarshal(b []byte) error

type CreateSessionResponse

type CreateSessionResponse struct {
	// The session handle to be used in subsequent calls for the created session.
	//
	// The client must arrange to call CloseSession with this returned
	// session handle to close the session.
	SessionHandle string `protobuf:"bytes,1,opt,name=session_handle,json=sessionHandle,proto3" json:"session_handle,omitempty"`
	// The initial version number for the graph, to be used in the next call
	// to ExtendSession.
	GraphVersion int64 `protobuf:"varint,2,opt,name=graph_version,json=graphVersion,proto3" json:"graph_version,omitempty"`
}

func (*CreateSessionResponse) Descriptor

func (*CreateSessionResponse) Descriptor() ([]byte, []int)

func (*CreateSessionResponse) GetGraphVersion

func (m *CreateSessionResponse) GetGraphVersion() int64

func (*CreateSessionResponse) GetSessionHandle

func (m *CreateSessionResponse) GetSessionHandle() string

func (*CreateSessionResponse) Marshal

func (m *CreateSessionResponse) Marshal() (dAtA []byte, err error)

func (*CreateSessionResponse) MarshalTo

func (m *CreateSessionResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateSessionResponse) ProtoMessage

func (*CreateSessionResponse) ProtoMessage()

func (*CreateSessionResponse) Reset

func (m *CreateSessionResponse) Reset()

func (*CreateSessionResponse) Size

func (m *CreateSessionResponse) Size() (n int)

func (*CreateSessionResponse) String

func (m *CreateSessionResponse) String() string

func (*CreateSessionResponse) Unmarshal

func (m *CreateSessionResponse) Unmarshal(dAtA []byte) error

func (*CreateSessionResponse) XXX_DiscardUnknown added in v0.3.1

func (m *CreateSessionResponse) XXX_DiscardUnknown()

func (*CreateSessionResponse) XXX_Marshal added in v0.3.1

func (m *CreateSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateSessionResponse) XXX_Merge added in v0.3.1

func (m *CreateSessionResponse) XXX_Merge(src proto.Message)

func (*CreateSessionResponse) XXX_Size added in v0.3.1

func (m *CreateSessionResponse) XXX_Size() int

func (*CreateSessionResponse) XXX_Unmarshal added in v0.3.1

func (m *CreateSessionResponse) XXX_Unmarshal(b []byte) error

type CreateWorkerSessionRequest

type CreateWorkerSessionRequest struct {
	// Sessions are identified by a given handle.
	SessionHandle string `protobuf:"bytes,1,opt,name=session_handle,json=sessionHandle,proto3" json:"session_handle,omitempty"`
	// Defines the configuration of a TensorFlow worker.
	ServerDef *ServerDef `protobuf:"bytes,2,opt,name=server_def,json=serverDef,proto3" json:"server_def,omitempty"`
	// If true, any resources such as Variables used in the session will not be
	// shared with other sessions.
	IsolateSessionState bool `protobuf:"varint,3,opt,name=isolate_session_state,json=isolateSessionState,proto3" json:"isolate_session_state,omitempty"`
}

func (*CreateWorkerSessionRequest) Descriptor

func (*CreateWorkerSessionRequest) Descriptor() ([]byte, []int)

func (*CreateWorkerSessionRequest) GetIsolateSessionState added in v0.3.1

func (m *CreateWorkerSessionRequest) GetIsolateSessionState() bool

func (*CreateWorkerSessionRequest) GetServerDef

func (m *CreateWorkerSessionRequest) GetServerDef() *ServerDef

func (*CreateWorkerSessionRequest) GetSessionHandle

func (m *CreateWorkerSessionRequest) GetSessionHandle() string

func (*CreateWorkerSessionRequest) Marshal

func (m *CreateWorkerSessionRequest) Marshal() (dAtA []byte, err error)

func (*CreateWorkerSessionRequest) MarshalTo

func (m *CreateWorkerSessionRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateWorkerSessionRequest) ProtoMessage

func (*CreateWorkerSessionRequest) ProtoMessage()

func (*CreateWorkerSessionRequest) Reset

func (m *CreateWorkerSessionRequest) Reset()

func (*CreateWorkerSessionRequest) Size

func (m *CreateWorkerSessionRequest) Size() (n int)

func (*CreateWorkerSessionRequest) String

func (m *CreateWorkerSessionRequest) String() string

func (*CreateWorkerSessionRequest) Unmarshal

func (m *CreateWorkerSessionRequest) Unmarshal(dAtA []byte) error

func (*CreateWorkerSessionRequest) XXX_DiscardUnknown added in v0.3.1

func (m *CreateWorkerSessionRequest) XXX_DiscardUnknown()

func (*CreateWorkerSessionRequest) XXX_Marshal added in v0.3.1

func (m *CreateWorkerSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateWorkerSessionRequest) XXX_Merge added in v0.3.1

func (m *CreateWorkerSessionRequest) XXX_Merge(src proto.Message)

func (*CreateWorkerSessionRequest) XXX_Size added in v0.3.1

func (m *CreateWorkerSessionRequest) XXX_Size() int

func (*CreateWorkerSessionRequest) XXX_Unmarshal added in v0.3.1

func (m *CreateWorkerSessionRequest) XXX_Unmarshal(b []byte) error

type CreateWorkerSessionResponse

type CreateWorkerSessionResponse struct {
}

func (*CreateWorkerSessionResponse) Descriptor

func (*CreateWorkerSessionResponse) Descriptor() ([]byte, []int)

func (*CreateWorkerSessionResponse) Marshal

func (m *CreateWorkerSessionResponse) Marshal() (dAtA []byte, err error)

func (*CreateWorkerSessionResponse) MarshalTo

func (m *CreateWorkerSessionResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateWorkerSessionResponse) ProtoMessage

func (*CreateWorkerSessionResponse) ProtoMessage()

func (*CreateWorkerSessionResponse) Reset

func (m *CreateWorkerSessionResponse) Reset()

func (*CreateWorkerSessionResponse) Size

func (m *CreateWorkerSessionResponse) Size() (n int)

func (*CreateWorkerSessionResponse) String

func (m *CreateWorkerSessionResponse) String() string

func (*CreateWorkerSessionResponse) Unmarshal

func (m *CreateWorkerSessionResponse) Unmarshal(dAtA []byte) error

func (*CreateWorkerSessionResponse) XXX_DiscardUnknown added in v0.3.1

func (m *CreateWorkerSessionResponse) XXX_DiscardUnknown()

func (*CreateWorkerSessionResponse) XXX_Marshal added in v0.3.1

func (m *CreateWorkerSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateWorkerSessionResponse) XXX_Merge added in v0.3.1

func (m *CreateWorkerSessionResponse) XXX_Merge(src proto.Message)

func (*CreateWorkerSessionResponse) XXX_Size added in v0.3.1

func (m *CreateWorkerSessionResponse) XXX_Size() int

func (*CreateWorkerSessionResponse) XXX_Unmarshal added in v0.3.1

func (m *CreateWorkerSessionResponse) XXX_Unmarshal(b []byte) error

type CriticalSectionDef added in v0.3.1

type CriticalSectionDef struct {
	// Name of the critical section handle.
	CriticalSectionName string `protobuf:"bytes,1,opt,name=critical_section_name,json=criticalSectionName,proto3" json:"critical_section_name,omitempty"`
}

Protocol buffer representing a CriticalSection.

func (*CriticalSectionDef) Descriptor added in v0.3.1

func (*CriticalSectionDef) Descriptor() ([]byte, []int)

func (*CriticalSectionDef) GetCriticalSectionName added in v0.3.1

func (m *CriticalSectionDef) GetCriticalSectionName() string

func (*CriticalSectionDef) Marshal added in v0.3.1

func (m *CriticalSectionDef) Marshal() (dAtA []byte, err error)

func (*CriticalSectionDef) MarshalTo added in v0.3.1

func (m *CriticalSectionDef) MarshalTo(dAtA []byte) (int, error)

func (*CriticalSectionDef) ProtoMessage added in v0.3.1

func (*CriticalSectionDef) ProtoMessage()

func (*CriticalSectionDef) Reset added in v0.3.1

func (m *CriticalSectionDef) Reset()

func (*CriticalSectionDef) Size added in v0.3.1

func (m *CriticalSectionDef) Size() (n int)

func (*CriticalSectionDef) String added in v0.3.1

func (m *CriticalSectionDef) String() string

func (*CriticalSectionDef) Unmarshal added in v0.3.1

func (m *CriticalSectionDef) Unmarshal(dAtA []byte) error

func (*CriticalSectionDef) XXX_DiscardUnknown added in v0.3.1

func (m *CriticalSectionDef) XXX_DiscardUnknown()

func (*CriticalSectionDef) XXX_Marshal added in v0.3.1

func (m *CriticalSectionDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CriticalSectionDef) XXX_Merge added in v0.3.1

func (m *CriticalSectionDef) XXX_Merge(src proto.Message)

func (*CriticalSectionDef) XXX_Size added in v0.3.1

func (m *CriticalSectionDef) XXX_Size() int

func (*CriticalSectionDef) XXX_Unmarshal added in v0.3.1

func (m *CriticalSectionDef) XXX_Unmarshal(b []byte) error

type CriticalSectionExecutionDef added in v0.3.1

type CriticalSectionExecutionDef struct {
	// Name of the critical section handle.
	ExecuteInCriticalSectionName string `` /* 151-byte string literal not displayed */
	// Whether this operation requires exclusive access to its resources,
	// (i.e., no other CriticalSections may request the same resources).
	ExclusiveResourceAccess bool `` /* 133-byte string literal not displayed */
}

Protocol buffer representing a CriticalSection execution.

func (*CriticalSectionExecutionDef) Descriptor added in v0.3.1

func (*CriticalSectionExecutionDef) Descriptor() ([]byte, []int)

func (*CriticalSectionExecutionDef) GetExclusiveResourceAccess added in v0.3.1

func (m *CriticalSectionExecutionDef) GetExclusiveResourceAccess() bool

func (*CriticalSectionExecutionDef) GetExecuteInCriticalSectionName added in v0.3.1

func (m *CriticalSectionExecutionDef) GetExecuteInCriticalSectionName() string

func (*CriticalSectionExecutionDef) Marshal added in v0.3.1

func (m *CriticalSectionExecutionDef) Marshal() (dAtA []byte, err error)

func (*CriticalSectionExecutionDef) MarshalTo added in v0.3.1

func (m *CriticalSectionExecutionDef) MarshalTo(dAtA []byte) (int, error)

func (*CriticalSectionExecutionDef) ProtoMessage added in v0.3.1

func (*CriticalSectionExecutionDef) ProtoMessage()

func (*CriticalSectionExecutionDef) Reset added in v0.3.1

func (m *CriticalSectionExecutionDef) Reset()

func (*CriticalSectionExecutionDef) Size added in v0.3.1

func (m *CriticalSectionExecutionDef) Size() (n int)

func (*CriticalSectionExecutionDef) String added in v0.3.1

func (m *CriticalSectionExecutionDef) String() string

func (*CriticalSectionExecutionDef) Unmarshal added in v0.3.1

func (m *CriticalSectionExecutionDef) Unmarshal(dAtA []byte) error

func (*CriticalSectionExecutionDef) XXX_DiscardUnknown added in v0.3.1

func (m *CriticalSectionExecutionDef) XXX_DiscardUnknown()

func (*CriticalSectionExecutionDef) XXX_Marshal added in v0.3.1

func (m *CriticalSectionExecutionDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CriticalSectionExecutionDef) XXX_Merge added in v0.3.1

func (m *CriticalSectionExecutionDef) XXX_Merge(src proto.Message)

func (*CriticalSectionExecutionDef) XXX_Size added in v0.3.1

func (m *CriticalSectionExecutionDef) XXX_Size() int

func (*CriticalSectionExecutionDef) XXX_Unmarshal added in v0.3.1

func (m *CriticalSectionExecutionDef) XXX_Unmarshal(b []byte) error

type DataType

type DataType int32

LINT.IfChange

const (
	// Not a legal value for DataType.  Used to indicate a DataType field
	// has not been set.
	DataType_DT_INVALID DataType = 0
	// Data types that all computation devices are expected to be
	// capable to support.
	DataType_DT_FLOAT      DataType = 1
	DataType_DT_DOUBLE     DataType = 2
	DataType_DT_INT32      DataType = 3
	DataType_DT_UINT8      DataType = 4
	DataType_DT_INT16      DataType = 5
	DataType_DT_INT8       DataType = 6
	DataType_DT_STRING     DataType = 7
	DataType_DT_COMPLEX64  DataType = 8
	DataType_DT_INT64      DataType = 9
	DataType_DT_BOOL       DataType = 10
	DataType_DT_QINT8      DataType = 11
	DataType_DT_QUINT8     DataType = 12
	DataType_DT_QINT32     DataType = 13
	DataType_DT_BFLOAT16   DataType = 14
	DataType_DT_QINT16     DataType = 15
	DataType_DT_QUINT16    DataType = 16
	DataType_DT_UINT16     DataType = 17
	DataType_DT_COMPLEX128 DataType = 18
	DataType_DT_HALF       DataType = 19
	DataType_DT_RESOURCE   DataType = 20
	DataType_DT_VARIANT    DataType = 21
	DataType_DT_UINT32     DataType = 22
	DataType_DT_UINT64     DataType = 23
	// Do not use!  These are only for parameters.  Every enum above
	// should have a corresponding value below (verified by types_test).
	DataType_DT_FLOAT_REF      DataType = 101
	DataType_DT_DOUBLE_REF     DataType = 102
	DataType_DT_INT32_REF      DataType = 103
	DataType_DT_UINT8_REF      DataType = 104
	DataType_DT_INT16_REF      DataType = 105
	DataType_DT_INT8_REF       DataType = 106
	DataType_DT_STRING_REF     DataType = 107
	DataType_DT_COMPLEX64_REF  DataType = 108
	DataType_DT_INT64_REF      DataType = 109
	DataType_DT_BOOL_REF       DataType = 110
	DataType_DT_QINT8_REF      DataType = 111
	DataType_DT_QUINT8_REF     DataType = 112
	DataType_DT_QINT32_REF     DataType = 113
	DataType_DT_BFLOAT16_REF   DataType = 114
	DataType_DT_QINT16_REF     DataType = 115
	DataType_DT_QUINT16_REF    DataType = 116
	DataType_DT_UINT16_REF     DataType = 117
	DataType_DT_COMPLEX128_REF DataType = 118
	DataType_DT_HALF_REF       DataType = 119
	DataType_DT_RESOURCE_REF   DataType = 120
	DataType_DT_VARIANT_REF    DataType = 121
	DataType_DT_UINT32_REF     DataType = 122
	DataType_DT_UINT64_REF     DataType = 123
)

func (DataType) EnumDescriptor

func (DataType) EnumDescriptor() ([]byte, []int)

func (DataType) String

func (x DataType) String() string

type DebugOptions

type DebugOptions struct {
	// Debugging options
	DebugTensorWatchOpts []*DebugTensorWatch `protobuf:"bytes,4,rep,name=debug_tensor_watch_opts,json=debugTensorWatchOpts,proto3" json:"debug_tensor_watch_opts,omitempty"`
	// Caller-specified global step count.
	// Note that this is distinct from the session run count and the executor
	// step count.
	GlobalStep int64 `protobuf:"varint,10,opt,name=global_step,json=globalStep,proto3" json:"global_step,omitempty"`
	// Whether the total disk usage of tfdbg is to be reset to zero
	// in this Session.run call. This is used by wrappers and hooks
	// such as the local CLI ones to indicate that the dumped tensors
	// are cleaned up from the disk after each Session.run.
	ResetDiskByteUsage bool `protobuf:"varint,11,opt,name=reset_disk_byte_usage,json=resetDiskByteUsage,proto3" json:"reset_disk_byte_usage,omitempty"`
}

Options for initializing DebuggerState in TensorFlow Debugger (tfdbg).

func (*DebugOptions) Descriptor

func (*DebugOptions) Descriptor() ([]byte, []int)

func (*DebugOptions) GetDebugTensorWatchOpts

func (m *DebugOptions) GetDebugTensorWatchOpts() []*DebugTensorWatch

func (*DebugOptions) GetGlobalStep

func (m *DebugOptions) GetGlobalStep() int64

func (*DebugOptions) GetResetDiskByteUsage added in v0.3.1

func (m *DebugOptions) GetResetDiskByteUsage() bool

func (*DebugOptions) Marshal

func (m *DebugOptions) Marshal() (dAtA []byte, err error)

func (*DebugOptions) MarshalTo

func (m *DebugOptions) MarshalTo(dAtA []byte) (int, error)

func (*DebugOptions) ProtoMessage

func (*DebugOptions) ProtoMessage()

func (*DebugOptions) Reset

func (m *DebugOptions) Reset()

func (*DebugOptions) Size

func (m *DebugOptions) Size() (n int)

func (*DebugOptions) String

func (m *DebugOptions) String() string

func (*DebugOptions) Unmarshal

func (m *DebugOptions) Unmarshal(dAtA []byte) error

func (*DebugOptions) XXX_DiscardUnknown added in v0.3.1

func (m *DebugOptions) XXX_DiscardUnknown()

func (*DebugOptions) XXX_Marshal added in v0.3.1

func (m *DebugOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebugOptions) XXX_Merge added in v0.3.1

func (m *DebugOptions) XXX_Merge(src proto.Message)

func (*DebugOptions) XXX_Size added in v0.3.1

func (m *DebugOptions) XXX_Size() int

func (*DebugOptions) XXX_Unmarshal added in v0.3.1

func (m *DebugOptions) XXX_Unmarshal(b []byte) error

type DebugTensorWatch

type DebugTensorWatch struct {
	// Name of the node to watch.
	NodeName string `protobuf:"bytes,1,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	// Output slot to watch.
	// The semantics of output_slot == -1 is that the node is only watched for
	// completion, but not for any output tensors. See NodeCompletionCallback
	// in debug_gateway.h.
	// TODO(cais): Implement this semantics.
	OutputSlot int32 `protobuf:"varint,2,opt,name=output_slot,json=outputSlot,proto3" json:"output_slot,omitempty"`
	// Name(s) of the debugging op(s).
	// One or more than one probes on a tensor.
	// e.g., {"DebugIdentity", "DebugNanCount"}
	DebugOps []string `protobuf:"bytes,3,rep,name=debug_ops,json=debugOps,proto3" json:"debug_ops,omitempty"`
	// URL(s) for debug targets(s).
	//
	// Supported URL formats are:
	//   - file:///foo/tfdbg_dump: Writes out Event content to file
	//     /foo/tfdbg_dump.  Assumes all directories can be created if they don't
	//     already exist.
	//   - grpc://localhost:11011: Sends an RPC request to an EventListener
	//     service running at localhost:11011 with the event.
	//   - memcbk:///event_key: Routes tensors to clients using the
	//     callback registered with the DebugCallbackRegistry for event_key.
	//
	// Each debug op listed in debug_ops will publish its output tensor (debug
	// signal) to all URLs in debug_urls.
	//
	// N.B. Session::Run() supports concurrent invocations of the same inputs
	// (feed keys), outputs and target nodes. If such concurrent invocations
	// are to be debugged, the callers of Session::Run() must use distinct
	// debug_urls to make sure that the streamed or dumped events do not overlap
	// among the invocations.
	// TODO(cais): More visible documentation of this in g3docs.
	DebugUrls []string `protobuf:"bytes,4,rep,name=debug_urls,json=debugUrls,proto3" json:"debug_urls,omitempty"`
	// Do not error out if debug op creation fails (e.g., due to dtype
	// incompatibility). Instead, just log the failure.
	TolerateDebugOpCreationFailures bool `` /* 161-byte string literal not displayed */
}

Option for watching a node in TensorFlow Debugger (tfdbg).

func (*DebugTensorWatch) Descriptor

func (*DebugTensorWatch) Descriptor() ([]byte, []int)

func (*DebugTensorWatch) GetDebugOps

func (m *DebugTensorWatch) GetDebugOps() []string

func (*DebugTensorWatch) GetDebugUrls

func (m *DebugTensorWatch) GetDebugUrls() []string

func (*DebugTensorWatch) GetNodeName

func (m *DebugTensorWatch) GetNodeName() string

func (*DebugTensorWatch) GetOutputSlot

func (m *DebugTensorWatch) GetOutputSlot() int32

func (*DebugTensorWatch) GetTolerateDebugOpCreationFailures

func (m *DebugTensorWatch) GetTolerateDebugOpCreationFailures() bool

func (*DebugTensorWatch) Marshal

func (m *DebugTensorWatch) Marshal() (dAtA []byte, err error)

func (*DebugTensorWatch) MarshalTo

func (m *DebugTensorWatch) MarshalTo(dAtA []byte) (int, error)

func (*DebugTensorWatch) ProtoMessage

func (*DebugTensorWatch) ProtoMessage()

func (*DebugTensorWatch) Reset

func (m *DebugTensorWatch) Reset()

func (*DebugTensorWatch) Size

func (m *DebugTensorWatch) Size() (n int)

func (*DebugTensorWatch) String

func (m *DebugTensorWatch) String() string

func (*DebugTensorWatch) Unmarshal

func (m *DebugTensorWatch) Unmarshal(dAtA []byte) error

func (*DebugTensorWatch) XXX_DiscardUnknown added in v0.3.1

func (m *DebugTensorWatch) XXX_DiscardUnknown()

func (*DebugTensorWatch) XXX_Marshal added in v0.3.1

func (m *DebugTensorWatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebugTensorWatch) XXX_Merge added in v0.3.1

func (m *DebugTensorWatch) XXX_Merge(src proto.Message)

func (*DebugTensorWatch) XXX_Size added in v0.3.1

func (m *DebugTensorWatch) XXX_Size() int

func (*DebugTensorWatch) XXX_Unmarshal added in v0.3.1

func (m *DebugTensorWatch) XXX_Unmarshal(b []byte) error

type DebuggedSourceFile added in v0.3.1

type DebuggedSourceFile struct {
	// The host name on which a source code file is located.
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// Path to the source code file.
	FilePath string `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
	// The timestamp at which the source code file is last modified.
	LastModified int64 `protobuf:"varint,3,opt,name=last_modified,json=lastModified,proto3" json:"last_modified,omitempty"`
	// Byte size of the file.
	Bytes int64 `protobuf:"varint,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// Line-by-line content of the source code file.
	Lines []string `protobuf:"bytes,5,rep,name=lines,proto3" json:"lines,omitempty"`
}

func (*DebuggedSourceFile) Descriptor added in v0.3.1

func (*DebuggedSourceFile) Descriptor() ([]byte, []int)

func (*DebuggedSourceFile) GetBytes added in v0.3.1

func (m *DebuggedSourceFile) GetBytes() int64

func (*DebuggedSourceFile) GetFilePath added in v0.3.1

func (m *DebuggedSourceFile) GetFilePath() string

func (*DebuggedSourceFile) GetHost added in v0.3.1

func (m *DebuggedSourceFile) GetHost() string

func (*DebuggedSourceFile) GetLastModified added in v0.3.1

func (m *DebuggedSourceFile) GetLastModified() int64

func (*DebuggedSourceFile) GetLines added in v0.3.1

func (m *DebuggedSourceFile) GetLines() []string

func (*DebuggedSourceFile) Marshal added in v0.3.1

func (m *DebuggedSourceFile) Marshal() (dAtA []byte, err error)

func (*DebuggedSourceFile) MarshalTo added in v0.3.1

func (m *DebuggedSourceFile) MarshalTo(dAtA []byte) (int, error)

func (*DebuggedSourceFile) ProtoMessage added in v0.3.1

func (*DebuggedSourceFile) ProtoMessage()

func (*DebuggedSourceFile) Reset added in v0.3.1

func (m *DebuggedSourceFile) Reset()

func (*DebuggedSourceFile) Size added in v0.3.1

func (m *DebuggedSourceFile) Size() (n int)

func (*DebuggedSourceFile) String added in v0.3.1

func (m *DebuggedSourceFile) String() string

func (*DebuggedSourceFile) Unmarshal added in v0.3.1

func (m *DebuggedSourceFile) Unmarshal(dAtA []byte) error

func (*DebuggedSourceFile) XXX_DiscardUnknown added in v0.3.1

func (m *DebuggedSourceFile) XXX_DiscardUnknown()

func (*DebuggedSourceFile) XXX_Marshal added in v0.3.1

func (m *DebuggedSourceFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebuggedSourceFile) XXX_Merge added in v0.3.1

func (m *DebuggedSourceFile) XXX_Merge(src proto.Message)

func (*DebuggedSourceFile) XXX_Size added in v0.3.1

func (m *DebuggedSourceFile) XXX_Size() int

func (*DebuggedSourceFile) XXX_Unmarshal added in v0.3.1

func (m *DebuggedSourceFile) XXX_Unmarshal(b []byte) error

type DebuggedSourceFiles added in v0.3.1

type DebuggedSourceFiles struct {
	// A collection of source code files.
	SourceFiles []*DebuggedSourceFile `protobuf:"bytes,1,rep,name=source_files,json=sourceFiles,proto3" json:"source_files,omitempty"`
}

func (*DebuggedSourceFiles) Descriptor added in v0.3.1

func (*DebuggedSourceFiles) Descriptor() ([]byte, []int)

func (*DebuggedSourceFiles) GetSourceFiles added in v0.3.1

func (m *DebuggedSourceFiles) GetSourceFiles() []*DebuggedSourceFile

func (*DebuggedSourceFiles) Marshal added in v0.3.1

func (m *DebuggedSourceFiles) Marshal() (dAtA []byte, err error)

func (*DebuggedSourceFiles) MarshalTo added in v0.3.1

func (m *DebuggedSourceFiles) MarshalTo(dAtA []byte) (int, error)

func (*DebuggedSourceFiles) ProtoMessage added in v0.3.1

func (*DebuggedSourceFiles) ProtoMessage()

func (*DebuggedSourceFiles) Reset added in v0.3.1

func (m *DebuggedSourceFiles) Reset()

func (*DebuggedSourceFiles) Size added in v0.3.1

func (m *DebuggedSourceFiles) Size() (n int)

func (*DebuggedSourceFiles) String added in v0.3.1

func (m *DebuggedSourceFiles) String() string

func (*DebuggedSourceFiles) Unmarshal added in v0.3.1

func (m *DebuggedSourceFiles) Unmarshal(dAtA []byte) error

func (*DebuggedSourceFiles) XXX_DiscardUnknown added in v0.3.1

func (m *DebuggedSourceFiles) XXX_DiscardUnknown()

func (*DebuggedSourceFiles) XXX_Marshal added in v0.3.1

func (m *DebuggedSourceFiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebuggedSourceFiles) XXX_Merge added in v0.3.1

func (m *DebuggedSourceFiles) XXX_Merge(src proto.Message)

func (*DebuggedSourceFiles) XXX_Size added in v0.3.1

func (m *DebuggedSourceFiles) XXX_Size() int

func (*DebuggedSourceFiles) XXX_Unmarshal added in v0.3.1

func (m *DebuggedSourceFiles) XXX_Unmarshal(b []byte) error

type DeleteWorkerSessionRequest added in v0.3.1

type DeleteWorkerSessionRequest struct {
	// Sessions are identified by a given handle.
	SessionHandle string `protobuf:"bytes,1,opt,name=session_handle,json=sessionHandle,proto3" json:"session_handle,omitempty"`
}

func (*DeleteWorkerSessionRequest) Descriptor added in v0.3.1

func (*DeleteWorkerSessionRequest) Descriptor() ([]byte, []int)

func (*DeleteWorkerSessionRequest) GetSessionHandle added in v0.3.1

func (m *DeleteWorkerSessionRequest) GetSessionHandle() string

func (*DeleteWorkerSessionRequest) Marshal added in v0.3.1

func (m *DeleteWorkerSessionRequest) Marshal() (dAtA []byte, err error)

func (*DeleteWorkerSessionRequest) MarshalTo added in v0.3.1

func (m *DeleteWorkerSessionRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeleteWorkerSessionRequest) ProtoMessage added in v0.3.1

func (*DeleteWorkerSessionRequest) ProtoMessage()

func (*DeleteWorkerSessionRequest) Reset added in v0.3.1

func (m *DeleteWorkerSessionRequest) Reset()

func (*DeleteWorkerSessionRequest) Size added in v0.3.1

func (m *DeleteWorkerSessionRequest) Size() (n int)

func (*DeleteWorkerSessionRequest) String added in v0.3.1

func (m *DeleteWorkerSessionRequest) String() string

func (*DeleteWorkerSessionRequest) Unmarshal added in v0.3.1

func (m *DeleteWorkerSessionRequest) Unmarshal(dAtA []byte) error

func (*DeleteWorkerSessionRequest) XXX_DiscardUnknown added in v0.3.1

func (m *DeleteWorkerSessionRequest) XXX_DiscardUnknown()

func (*DeleteWorkerSessionRequest) XXX_Marshal added in v0.3.1

func (m *DeleteWorkerSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteWorkerSessionRequest) XXX_Merge added in v0.3.1

func (m *DeleteWorkerSessionRequest) XXX_Merge(src proto.Message)

func (*DeleteWorkerSessionRequest) XXX_Size added in v0.3.1

func (m *DeleteWorkerSessionRequest) XXX_Size() int

func (*DeleteWorkerSessionRequest) XXX_Unmarshal added in v0.3.1

func (m *DeleteWorkerSessionRequest) XXX_Unmarshal(b []byte) error

type DeleteWorkerSessionResponse added in v0.3.1

type DeleteWorkerSessionResponse struct {
}

func (*DeleteWorkerSessionResponse) Descriptor added in v0.3.1

func (*DeleteWorkerSessionResponse) Descriptor() ([]byte, []int)

func (*DeleteWorkerSessionResponse) Marshal added in v0.3.1

func (m *DeleteWorkerSessionResponse) Marshal() (dAtA []byte, err error)

func (*DeleteWorkerSessionResponse) MarshalTo added in v0.3.1

func (m *DeleteWorkerSessionResponse) MarshalTo(dAtA []byte) (int, error)

func (*DeleteWorkerSessionResponse) ProtoMessage added in v0.3.1

func (*DeleteWorkerSessionResponse) ProtoMessage()

func (*DeleteWorkerSessionResponse) Reset added in v0.3.1

func (m *DeleteWorkerSessionResponse) Reset()

func (*DeleteWorkerSessionResponse) Size added in v0.3.1

func (m *DeleteWorkerSessionResponse) Size() (n int)

func (*DeleteWorkerSessionResponse) String added in v0.3.1

func (m *DeleteWorkerSessionResponse) String() string

func (*DeleteWorkerSessionResponse) Unmarshal added in v0.3.1

func (m *DeleteWorkerSessionResponse) Unmarshal(dAtA []byte) error

func (*DeleteWorkerSessionResponse) XXX_DiscardUnknown added in v0.3.1

func (m *DeleteWorkerSessionResponse) XXX_DiscardUnknown()

func (*DeleteWorkerSessionResponse) XXX_Marshal added in v0.3.1

func (m *DeleteWorkerSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteWorkerSessionResponse) XXX_Merge added in v0.3.1

func (m *DeleteWorkerSessionResponse) XXX_Merge(src proto.Message)

func (*DeleteWorkerSessionResponse) XXX_Size added in v0.3.1

func (m *DeleteWorkerSessionResponse) XXX_Size() int

func (*DeleteWorkerSessionResponse) XXX_Unmarshal added in v0.3.1

func (m *DeleteWorkerSessionResponse) XXX_Unmarshal(b []byte) error

type DeregisterGraphRequest

type DeregisterGraphRequest struct {
	// The session_handle used when registering the graph. If session_handle is
	// empty, a single global namespace is used.
	SessionHandle string `protobuf:"bytes,2,opt,name=session_handle,json=sessionHandle,proto3" json:"session_handle,omitempty"`
	// Set to true if `CreateWorkerSession` was called for `session_handle`.
	CreateWorkerSessionCalled bool `` /* 141-byte string literal not displayed */
	// REQUIRED: graph_handle must be returned by a RegisterGraph call
	// to the same WorkerService.
	GraphHandle string `protobuf:"bytes,1,opt,name=graph_handle,json=graphHandle,proto3" json:"graph_handle,omitempty"`
}

func (*DeregisterGraphRequest) Descriptor

func (*DeregisterGraphRequest) Descriptor() ([]byte, []int)

func (*DeregisterGraphRequest) GetCreateWorkerSessionCalled added in v0.3.1

func (m *DeregisterGraphRequest) GetCreateWorkerSessionCalled() bool

func (*DeregisterGraphRequest) GetGraphHandle

func (m *DeregisterGraphRequest) GetGraphHandle() string

func (*DeregisterGraphRequest) GetSessionHandle

func (m *DeregisterGraphRequest) GetSessionHandle() string

func (*DeregisterGraphRequest) Marshal

func (m *DeregisterGraphRequest) Marshal() (dAtA []byte, err error)

func (*DeregisterGraphRequest) MarshalTo

func (m *DeregisterGraphRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeregisterGraphRequest) ProtoMessage

func (*DeregisterGraphRequest) ProtoMessage()

func (*DeregisterGraphRequest) Reset

func (m *DeregisterGraphRequest) Reset()

func (*DeregisterGraphRequest) Size

func (m *DeregisterGraphRequest) Size() (n int)

func (*DeregisterGraphRequest) String

func (m *DeregisterGraphRequest) String() string

func (*DeregisterGraphRequest) Unmarshal

func (m *DeregisterGraphRequest) Unmarshal(dAtA []byte) error

func (*DeregisterGraphRequest) XXX_DiscardUnknown added in v0.3.1

func (m *DeregisterGraphRequest) XXX_DiscardUnknown()

func (*DeregisterGraphRequest) XXX_Marshal added in v0.3.1

func (m *DeregisterGraphRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeregisterGraphRequest) XXX_Merge added in v0.3.1

func (m *DeregisterGraphRequest) XXX_Merge(src proto.Message)

func (*DeregisterGraphRequest) XXX_Size added in v0.3.1

func (m *DeregisterGraphRequest) XXX_Size() int

func (*DeregisterGraphRequest) XXX_Unmarshal added in v0.3.1

func (m *DeregisterGraphRequest) XXX_Unmarshal(b []byte) error

type DeregisterGraphResponse

type DeregisterGraphResponse struct {
}

func (*DeregisterGraphResponse) Descriptor

func (*DeregisterGraphResponse) Descriptor() ([]byte, []int)

func (*DeregisterGraphResponse) Marshal

func (m *DeregisterGraphResponse) Marshal() (dAtA []byte, err error)

func (*DeregisterGraphResponse) MarshalTo

func (m *DeregisterGraphResponse) MarshalTo(dAtA []byte) (int, error)

func (*DeregisterGraphResponse) ProtoMessage

func (*DeregisterGraphResponse) ProtoMessage()

func (*DeregisterGraphResponse) Reset

func (m *DeregisterGraphResponse) Reset()

func (*DeregisterGraphResponse) Size

func (m *DeregisterGraphResponse) Size() (n int)

func (*DeregisterGraphResponse) String

func (m *DeregisterGraphResponse) String() string

func (*DeregisterGraphResponse) Unmarshal

func (m *DeregisterGraphResponse) Unmarshal(dAtA []byte) error

func (*DeregisterGraphResponse) XXX_DiscardUnknown added in v0.3.1

func (m *DeregisterGraphResponse) XXX_DiscardUnknown()

func (*DeregisterGraphResponse) XXX_Marshal added in v0.3.1

func (m *DeregisterGraphResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeregisterGraphResponse) XXX_Merge added in v0.3.1

func (m *DeregisterGraphResponse) XXX_Merge(src proto.Message)

func (*DeregisterGraphResponse) XXX_Size added in v0.3.1

func (m *DeregisterGraphResponse) XXX_Size() int

func (*DeregisterGraphResponse) XXX_Unmarshal added in v0.3.1

func (m *DeregisterGraphResponse) XXX_Unmarshal(b []byte) error

type DeviceAttributes

type DeviceAttributes struct {
	// Fully specified name of the device within a cluster.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// String representation of device_type.
	DeviceType string `protobuf:"bytes,2,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
	// Memory capacity of device in bytes.
	MemoryLimit int64 `protobuf:"varint,4,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
	// Platform-specific data about device that may be useful
	// for supporting efficient data transfers.
	Locality *DeviceLocality `protobuf:"bytes,5,opt,name=locality,proto3" json:"locality,omitempty"`
	// A device is assigned a global unique number each time it is
	// initialized. "incarnation" should never be 0.
	Incarnation uint64 `protobuf:"fixed64,6,opt,name=incarnation,proto3" json:"incarnation,omitempty"`
	// String representation of the physical device that this device maps to.
	PhysicalDeviceDesc string `protobuf:"bytes,7,opt,name=physical_device_desc,json=physicalDeviceDesc,proto3" json:"physical_device_desc,omitempty"`
}

func (*DeviceAttributes) Descriptor

func (*DeviceAttributes) Descriptor() ([]byte, []int)

func (*DeviceAttributes) GetDeviceType

func (m *DeviceAttributes) GetDeviceType() string

func (*DeviceAttributes) GetIncarnation

func (m *DeviceAttributes) GetIncarnation() uint64

func (*DeviceAttributes) GetLocality

func (m *DeviceAttributes) GetLocality() *DeviceLocality

func (*DeviceAttributes) GetMemoryLimit

func (m *DeviceAttributes) GetMemoryLimit() int64

func (*DeviceAttributes) GetName

func (m *DeviceAttributes) GetName() string

func (*DeviceAttributes) GetPhysicalDeviceDesc

func (m *DeviceAttributes) GetPhysicalDeviceDesc() string

func (*DeviceAttributes) Marshal

func (m *DeviceAttributes) Marshal() (dAtA []byte, err error)

func (*DeviceAttributes) MarshalTo

func (m *DeviceAttributes) MarshalTo(dAtA []byte) (int, error)

func (*DeviceAttributes) ProtoMessage

func (*DeviceAttributes) ProtoMessage()

func (*DeviceAttributes) Reset

func (m *DeviceAttributes) Reset()

func (*DeviceAttributes) Size

func (m *DeviceAttributes) Size() (n int)

func (*DeviceAttributes) String

func (m *DeviceAttributes) String() string

func (*DeviceAttributes) Unmarshal

func (m *DeviceAttributes) Unmarshal(dAtA []byte) error

func (*DeviceAttributes) XXX_DiscardUnknown added in v0.3.1

func (m *DeviceAttributes) XXX_DiscardUnknown()

func (*DeviceAttributes) XXX_Marshal added in v0.3.1

func (m *DeviceAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeviceAttributes) XXX_Merge added in v0.3.1

func (m *DeviceAttributes) XXX_Merge(src proto.Message)

func (*DeviceAttributes) XXX_Size added in v0.3.1

func (m *DeviceAttributes) XXX_Size() int

func (*DeviceAttributes) XXX_Unmarshal added in v0.3.1

func (m *DeviceAttributes) XXX_Unmarshal(b []byte) error

type DeviceLocality

type DeviceLocality struct {
	// Optional bus locality of device.  Default value of 0 means
	// no specific locality.  Specific localities are indexed from 1.
	BusId int32 `protobuf:"varint,1,opt,name=bus_id,json=busId,proto3" json:"bus_id,omitempty"`
	// Optional NUMA locality of device.
	NumaNode int32 `protobuf:"varint,2,opt,name=numa_node,json=numaNode,proto3" json:"numa_node,omitempty"`
	// Optional local interconnect links to other devices.
	Links *LocalLinks `protobuf:"bytes,3,opt,name=links,proto3" json:"links,omitempty"`
}

func (*DeviceLocality) Descriptor

func (*DeviceLocality) Descriptor() ([]byte, []int)

func (*DeviceLocality) GetBusId

func (m *DeviceLocality) GetBusId() int32
func (m *DeviceLocality) GetLinks() *LocalLinks

func (*DeviceLocality) GetNumaNode added in v0.3.1

func (m *DeviceLocality) GetNumaNode() int32

func (*DeviceLocality) Marshal

func (m *DeviceLocality) Marshal() (dAtA []byte, err error)

func (*DeviceLocality) MarshalTo

func (m *DeviceLocality) MarshalTo(dAtA []byte) (int, error)

func (*DeviceLocality) ProtoMessage

func (*DeviceLocality) ProtoMessage()

func (*DeviceLocality) Reset

func (m *DeviceLocality) Reset()

func (*DeviceLocality) Size

func (m *DeviceLocality) Size() (n int)

func (*DeviceLocality) String

func (m *DeviceLocality) String() string

func (*DeviceLocality) Unmarshal

func (m *DeviceLocality) Unmarshal(dAtA []byte) error

func (*DeviceLocality) XXX_DiscardUnknown added in v0.3.1

func (m *DeviceLocality) XXX_DiscardUnknown()

func (*DeviceLocality) XXX_Marshal added in v0.3.1

func (m *DeviceLocality) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeviceLocality) XXX_Merge added in v0.3.1

func (m *DeviceLocality) XXX_Merge(src proto.Message)

func (*DeviceLocality) XXX_Size added in v0.3.1

func (m *DeviceLocality) XXX_Size() int

func (*DeviceLocality) XXX_Unmarshal added in v0.3.1

func (m *DeviceLocality) XXX_Unmarshal(b []byte) error

type DeviceProperties

type DeviceProperties struct {
	// Device type (CPU, GPU, ...)
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Vendor (Intel, nvidia, ...)
	Vendor string `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Model (Haswell, K40, ...)
	Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
	// Core Frequency in Mhz
	Frequency int64 `protobuf:"varint,4,opt,name=frequency,proto3" json:"frequency,omitempty"`
	// Number of cores
	NumCores int64 `protobuf:"varint,5,opt,name=num_cores,json=numCores,proto3" json:"num_cores,omitempty"`
	// Version of the tools and libraries used with this device (e.g. gcc 4.9,
	// cudnn 5.1)
	Environment map[string]string `` /* 163-byte string literal not displayed */
	// Number of registers per core.
	NumRegisters int64 `protobuf:"varint,7,opt,name=num_registers,json=numRegisters,proto3" json:"num_registers,omitempty"`
	// L1 cache size in bytes
	L1CacheSize int64 `protobuf:"varint,8,opt,name=l1_cache_size,json=l1CacheSize,proto3" json:"l1_cache_size,omitempty"`
	// L2 cache size in bytes
	L2CacheSize int64 `protobuf:"varint,9,opt,name=l2_cache_size,json=l2CacheSize,proto3" json:"l2_cache_size,omitempty"`
	// L3 cache size in bytes
	L3CacheSize int64 `protobuf:"varint,10,opt,name=l3_cache_size,json=l3CacheSize,proto3" json:"l3_cache_size,omitempty"`
	// Shared memory size per multiprocessor in bytes. This field is
	// applicable to GPUs only.
	SharedMemorySizePerMultiprocessor int64 `` /* 168-byte string literal not displayed */
	// Memory size in bytes
	MemorySize int64 `protobuf:"varint,12,opt,name=memory_size,json=memorySize,proto3" json:"memory_size,omitempty"`
	// Memory bandwidth in KB/s
	Bandwidth int64 `protobuf:"varint,13,opt,name=bandwidth,proto3" json:"bandwidth,omitempty"`
}

func (*DeviceProperties) Descriptor

func (*DeviceProperties) Descriptor() ([]byte, []int)

func (*DeviceProperties) GetBandwidth

func (m *DeviceProperties) GetBandwidth() int64

func (*DeviceProperties) GetEnvironment

func (m *DeviceProperties) GetEnvironment() map[string]string

func (*DeviceProperties) GetFrequency

func (m *DeviceProperties) GetFrequency() int64

func (*DeviceProperties) GetL1CacheSize

func (m *DeviceProperties) GetL1CacheSize() int64

func (*DeviceProperties) GetL2CacheSize

func (m *DeviceProperties) GetL2CacheSize() int64

func (*DeviceProperties) GetL3CacheSize

func (m *DeviceProperties) GetL3CacheSize() int64

func (*DeviceProperties) GetMemorySize

func (m *DeviceProperties) GetMemorySize() int64

func (*DeviceProperties) GetModel

func (m *DeviceProperties) GetModel() string

func (*DeviceProperties) GetNumCores

func (m *DeviceProperties) GetNumCores() int64

func (*DeviceProperties) GetNumRegisters

func (m *DeviceProperties) GetNumRegisters() int64

func (*DeviceProperties) GetSharedMemorySizePerMultiprocessor

func (m *DeviceProperties) GetSharedMemorySizePerMultiprocessor() int64

func (*DeviceProperties) GetType

func (m *DeviceProperties) GetType() string

func (*DeviceProperties) GetVendor

func (m *DeviceProperties) GetVendor() string

func (*DeviceProperties) Marshal

func (m *DeviceProperties) Marshal() (dAtA []byte, err error)

func (*DeviceProperties) MarshalTo

func (m *DeviceProperties) MarshalTo(dAtA []byte) (int, error)

func (*DeviceProperties) ProtoMessage

func (*DeviceProperties) ProtoMessage()

func (*DeviceProperties) Reset

func (m *DeviceProperties) Reset()

func (*DeviceProperties) Size

func (m *DeviceProperties) Size() (n int)

func (*DeviceProperties) String

func (m *DeviceProperties) String() string

func (*DeviceProperties) Unmarshal

func (m *DeviceProperties) Unmarshal(dAtA []byte) error

func (*DeviceProperties) XXX_DiscardUnknown added in v0.3.1

func (m *DeviceProperties) XXX_DiscardUnknown()

func (*DeviceProperties) XXX_Marshal added in v0.3.1

func (m *DeviceProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeviceProperties) XXX_Merge added in v0.3.1

func (m *DeviceProperties) XXX_Merge(src proto.Message)

func (*DeviceProperties) XXX_Size added in v0.3.1

func (m *DeviceProperties) XXX_Size() int

func (*DeviceProperties) XXX_Unmarshal added in v0.3.1

func (m *DeviceProperties) XXX_Unmarshal(b []byte) error

type DeviceStepStats

type DeviceStepStats struct {
	Device    string           `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	NodeStats []*NodeExecStats `protobuf:"bytes,2,rep,name=node_stats,json=nodeStats,proto3" json:"node_stats,omitempty"`
}

func (*DeviceStepStats) Descriptor

func (*DeviceStepStats) Descriptor() ([]byte, []int)

func (*DeviceStepStats) GetDevice

func (m *DeviceStepStats) GetDevice() string

func (*DeviceStepStats) GetNodeStats

func (m *DeviceStepStats) GetNodeStats() []*NodeExecStats

func (*DeviceStepStats) Marshal

func (m *DeviceStepStats) Marshal() (dAtA []byte, err error)

func (*DeviceStepStats) MarshalTo

func (m *DeviceStepStats) MarshalTo(dAtA []byte) (int, error)

func (*DeviceStepStats) ProtoMessage

func (*DeviceStepStats) ProtoMessage()

func (*DeviceStepStats) Reset

func (m *DeviceStepStats) Reset()

func (*DeviceStepStats) Size

func (m *DeviceStepStats) Size() (n int)

func (*DeviceStepStats) String

func (m *DeviceStepStats) String() string

func (*DeviceStepStats) Unmarshal

func (m *DeviceStepStats) Unmarshal(dAtA []byte) error

func (*DeviceStepStats) XXX_DiscardUnknown added in v0.3.1

func (m *DeviceStepStats) XXX_DiscardUnknown()

func (*DeviceStepStats) XXX_Marshal added in v0.3.1

func (m *DeviceStepStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeviceStepStats) XXX_Merge added in v0.3.1

func (m *DeviceStepStats) XXX_Merge(src proto.Message)

func (*DeviceStepStats) XXX_Size added in v0.3.1

func (m *DeviceStepStats) XXX_Size() int

func (*DeviceStepStats) XXX_Unmarshal added in v0.3.1

func (m *DeviceStepStats) XXX_Unmarshal(b []byte) error

type EagerServiceClient added in v0.3.1

type EagerServiceClient interface {
	// This initializes the worker, informing it about the other workers in the
	// cluster and exchanging authentication tokens which will be used in all
	// other RPCs to detect whether the worker has restarted.
	CreateContext(ctx context.Context, in *CreateContextRequest, opts ...grpc.CallOption) (*CreateContextResponse, error)
	// This takes a list of Execute and DeleteTensorHandle operations and enqueues
	// (in async mode) or executes (in sync mode) them on the remote server.
	// All outputs of ops which were not explicitly deleted with
	// DeleteTensorHandle entries will be assumed to be alive and are usable by
	// future calls to Enqueue.
	Enqueue(ctx context.Context, in *EnqueueRequest, opts ...grpc.CallOption) (*EnqueueResponse, error)
	// Takes a set of op IDs and waits until those ops are done. Returns any error
	// in the stream so far.
	WaitQueueDone(ctx context.Context, in *WaitQueueDoneRequest, opts ...grpc.CallOption) (*WaitQueueDoneResponse, error)
	// Contexts are always created with a deadline and no RPCs within a deadline
	// will trigger a context garbage collection. KeepAlive calls can be used to
	// delay this.
	KeepAlive(ctx context.Context, in *KeepAliveRequest, opts ...grpc.CallOption) (*KeepAliveResponse, error)
	// Closes the context. No calls to other methods using the existing context ID
	// are valid after this.
	CloseContext(ctx context.Context, in *CloseContextRequest, opts ...grpc.CallOption) (*CloseContextResponse, error)
	// Takes a FunctionDef and makes it enqueable on the remote worker.
	RegisterFunction(ctx context.Context, in *RegisterFunctionRequest, opts ...grpc.CallOption) (*RegisterFunctionResponse, error)
	// An RPC to push tensors to the server. At times, certain environments don't
	// allow the server to connect back to the client.
	SendTensor(ctx context.Context, in *SendTensorRequest, opts ...grpc.CallOption) (*SendTensorResponse, error)
}

EagerServiceClient is the client API for EagerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewEagerServiceClient added in v0.3.1

func NewEagerServiceClient(cc *grpc.ClientConn) EagerServiceClient

type EagerServiceServer added in v0.3.1

type EagerServiceServer interface {
	// This initializes the worker, informing it about the other workers in the
	// cluster and exchanging authentication tokens which will be used in all
	// other RPCs to detect whether the worker has restarted.
	CreateContext(context.Context, *CreateContextRequest) (*CreateContextResponse, error)
	// This takes a list of Execute and DeleteTensorHandle operations and enqueues
	// (in async mode) or executes (in sync mode) them on the remote server.
	// All outputs of ops which were not explicitly deleted with
	// DeleteTensorHandle entries will be assumed to be alive and are usable by
	// future calls to Enqueue.
	Enqueue(context.Context, *EnqueueRequest) (*EnqueueResponse, error)
	// Takes a set of op IDs and waits until those ops are done. Returns any error
	// in the stream so far.
	WaitQueueDone(context.Context, *WaitQueueDoneRequest) (*WaitQueueDoneResponse, error)
	// Contexts are always created with a deadline and no RPCs within a deadline
	// will trigger a context garbage collection. KeepAlive calls can be used to
	// delay this.
	KeepAlive(context.Context, *KeepAliveRequest) (*KeepAliveResponse, error)
	// Closes the context. No calls to other methods using the existing context ID
	// are valid after this.
	CloseContext(context.Context, *CloseContextRequest) (*CloseContextResponse, error)
	// Takes a FunctionDef and makes it enqueable on the remote worker.
	RegisterFunction(context.Context, *RegisterFunctionRequest) (*RegisterFunctionResponse, error)
	// An RPC to push tensors to the server. At times, certain environments don't
	// allow the server to connect back to the client.
	SendTensor(context.Context, *SendTensorRequest) (*SendTensorResponse, error)
}

EagerServiceServer is the server API for EagerService service.

type EnqueueRequest added in v0.3.1

type EnqueueRequest struct {
	ContextId uint64       `protobuf:"fixed64,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"`
	Queue     []*QueueItem `protobuf:"bytes,3,rep,name=queue,proto3" json:"queue,omitempty"`
}

func (*EnqueueRequest) Descriptor added in v0.3.1

func (*EnqueueRequest) Descriptor() ([]byte, []int)

func (*EnqueueRequest) GetContextId added in v0.3.1

func (m *EnqueueRequest) GetContextId() uint64

func (*EnqueueRequest) GetQueue added in v0.3.1

func (m *EnqueueRequest) GetQueue() []*QueueItem

func (*EnqueueRequest) Marshal added in v0.3.1

func (m *EnqueueRequest) Marshal() (dAtA []byte, err error)

func (*EnqueueRequest) MarshalTo added in v0.3.1

func (m *EnqueueRequest) MarshalTo(dAtA []byte) (int, error)

func (*EnqueueRequest) ProtoMessage added in v0.3.1

func (*EnqueueRequest) ProtoMessage()

func (*EnqueueRequest) Reset added in v0.3.1

func (m *EnqueueRequest) Reset()

func (*EnqueueRequest) Size added in v0.3.1

func (m *EnqueueRequest) Size() (n int)

func (*EnqueueRequest) String added in v0.3.1

func (m *EnqueueRequest) String() string

func (*EnqueueRequest) Unmarshal added in v0.3.1

func (m *EnqueueRequest) Unmarshal(dAtA []byte) error

func (*EnqueueRequest) XXX_DiscardUnknown added in v0.3.1

func (m *EnqueueRequest) XXX_DiscardUnknown()

func (*EnqueueRequest) XXX_Marshal added in v0.3.1

func (m *EnqueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EnqueueRequest) XXX_Merge added in v0.3.1

func (m *EnqueueRequest) XXX_Merge(src proto.Message)

func (*EnqueueRequest) XXX_Size added in v0.3.1

func (m *EnqueueRequest) XXX_Size() int

func (*EnqueueRequest) XXX_Unmarshal added in v0.3.1

func (m *EnqueueRequest) XXX_Unmarshal(b []byte) error

type EnqueueResponse added in v0.3.1

type EnqueueResponse struct {
	// A single operation response for every item in the request.
	QueueResponse []*QueueResponse `protobuf:"bytes,1,rep,name=queue_response,json=queueResponse,proto3" json:"queue_response,omitempty"`
}

func (*EnqueueResponse) Descriptor added in v0.3.1

func (*EnqueueResponse) Descriptor() ([]byte, []int)

func (*EnqueueResponse) GetQueueResponse added in v0.3.1

func (m *EnqueueResponse) GetQueueResponse() []*QueueResponse

func (*EnqueueResponse) Marshal added in v0.3.1

func (m *EnqueueResponse) Marshal() (dAtA []byte, err error)

func (*EnqueueResponse) MarshalTo added in v0.3.1

func (m *EnqueueResponse) MarshalTo(dAtA []byte) (int, error)

func (*EnqueueResponse) ProtoMessage added in v0.3.1

func (*EnqueueResponse) ProtoMessage()

func (*EnqueueResponse) Reset added in v0.3.1

func (m *EnqueueResponse) Reset()

func (*EnqueueResponse) Size added in v0.3.1

func (m *EnqueueResponse) Size() (n int)

func (*EnqueueResponse) String added in v0.3.1

func (m *EnqueueResponse) String() string

func (*EnqueueResponse) Unmarshal added in v0.3.1

func (m *EnqueueResponse) Unmarshal(dAtA []byte) error

func (*EnqueueResponse) XXX_DiscardUnknown added in v0.3.1

func (m *EnqueueResponse) XXX_DiscardUnknown()

func (*EnqueueResponse) XXX_Marshal added in v0.3.1

func (m *EnqueueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EnqueueResponse) XXX_Merge added in v0.3.1

func (m *EnqueueResponse) XXX_Merge(src proto.Message)

func (*EnqueueResponse) XXX_Size added in v0.3.1

func (m *EnqueueResponse) XXX_Size() int

func (*EnqueueResponse) XXX_Unmarshal added in v0.3.1

func (m *EnqueueResponse) XXX_Unmarshal(b []byte) error

type Event added in v0.3.1

type Event struct {
	// Timestamp of the event.
	WallTime float64 `protobuf:"fixed64,1,opt,name=wall_time,json=wallTime,proto3" json:"wall_time,omitempty"`
	// Global step of the event.
	Step int64 `protobuf:"varint,2,opt,name=step,proto3" json:"step,omitempty"`
	// Types that are valid to be assigned to What:
	//	*Event_FileVersion
	//	*Event_GraphDef
	//	*Event_Summary
	//	*Event_LogMessage
	//	*Event_SessionLog
	//	*Event_TaggedRunMetadata
	//	*Event_MetaGraphDef
	What isEvent_What `protobuf_oneof:"what"`
}

Protocol buffer representing an event that happened during the execution of a Brain model.

func (*Event) Descriptor added in v0.3.1

func (*Event) Descriptor() ([]byte, []int)

func (*Event) GetFileVersion added in v0.3.1

func (m *Event) GetFileVersion() string

func (*Event) GetGraphDef added in v0.3.1

func (m *Event) GetGraphDef() []byte

func (*Event) GetLogMessage added in v0.3.1

func (m *Event) GetLogMessage() *LogMessage

func (*Event) GetMetaGraphDef added in v0.3.1

func (m *Event) GetMetaGraphDef() []byte

func (*Event) GetSessionLog added in v0.3.1

func (m *Event) GetSessionLog() *SessionLog

func (*Event) GetStep added in v0.3.1

func (m *Event) GetStep() int64

func (*Event) GetSummary added in v0.3.1

func (m *Event) GetSummary() *Summary

func (*Event) GetTaggedRunMetadata added in v0.3.1

func (m *Event) GetTaggedRunMetadata() *TaggedRunMetadata

func (*Event) GetWallTime added in v0.3.1

func (m *Event) GetWallTime() float64

func (*Event) GetWhat added in v0.3.1

func (m *Event) GetWhat() isEvent_What

func (*Event) Marshal added in v0.3.1

func (m *Event) Marshal() (dAtA []byte, err error)

func (*Event) MarshalTo added in v0.3.1

func (m *Event) MarshalTo(dAtA []byte) (int, error)

func (*Event) ProtoMessage added in v0.3.1

func (*Event) ProtoMessage()

func (*Event) Reset added in v0.3.1

func (m *Event) Reset()

func (*Event) Size added in v0.3.1

func (m *Event) Size() (n int)

func (*Event) String added in v0.3.1

func (m *Event) String() string

func (*Event) Unmarshal added in v0.3.1

func (m *Event) Unmarshal(dAtA []byte) error

func (*Event) XXX_DiscardUnknown added in v0.3.1

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal added in v0.3.1

func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Event) XXX_Merge added in v0.3.1

func (m *Event) XXX_Merge(src proto.Message)

func (*Event) XXX_OneofFuncs added in v0.3.1

func (*Event) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*Event) XXX_Size added in v0.3.1

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal added in v0.3.1

func (m *Event) XXX_Unmarshal(b []byte) error

type Event_FileVersion added in v0.3.1

type Event_FileVersion struct {
	FileVersion string `protobuf:"bytes,3,opt,name=file_version,json=fileVersion,proto3,oneof"`
}

func (*Event_FileVersion) MarshalTo added in v0.3.1

func (m *Event_FileVersion) MarshalTo(dAtA []byte) (int, error)

func (*Event_FileVersion) Size added in v0.3.1

func (m *Event_FileVersion) Size() (n int)

type Event_GraphDef added in v0.3.1

type Event_GraphDef struct {
	GraphDef []byte `protobuf:"bytes,4,opt,name=graph_def,json=graphDef,proto3,oneof"`
}

func (*Event_GraphDef) MarshalTo added in v0.3.1

func (m *Event_GraphDef) MarshalTo(dAtA []byte) (int, error)

func (*Event_GraphDef) Size added in v0.3.1

func (m *Event_GraphDef) Size() (n int)

type Event_LogMessage added in v0.3.1

type Event_LogMessage struct {
	LogMessage *LogMessage `protobuf:"bytes,6,opt,name=log_message,json=logMessage,proto3,oneof"`
}

func (*Event_LogMessage) MarshalTo added in v0.3.1

func (m *Event_LogMessage) MarshalTo(dAtA []byte) (int, error)

func (*Event_LogMessage) Size added in v0.3.1

func (m *Event_LogMessage) Size() (n int)

type Event_MetaGraphDef added in v0.3.1

type Event_MetaGraphDef struct {
	MetaGraphDef []byte `protobuf:"bytes,9,opt,name=meta_graph_def,json=metaGraphDef,proto3,oneof"`
}

func (*Event_MetaGraphDef) MarshalTo added in v0.3.1

func (m *Event_MetaGraphDef) MarshalTo(dAtA []byte) (int, error)

func (*Event_MetaGraphDef) Size added in v0.3.1

func (m *Event_MetaGraphDef) Size() (n int)

type Event_SessionLog added in v0.3.1

type Event_SessionLog struct {
	SessionLog *SessionLog `protobuf:"bytes,7,opt,name=session_log,json=sessionLog,proto3,oneof"`
}

func (*Event_SessionLog) MarshalTo added in v0.3.1

func (m *Event_SessionLog) MarshalTo(dAtA []byte) (int, error)

func (*Event_SessionLog) Size added in v0.3.1

func (m *Event_SessionLog) Size() (n int)

type Event_Summary added in v0.3.1

type Event_Summary struct {
	Summary *Summary `protobuf:"bytes,5,opt,name=summary,proto3,oneof"`
}

func (*Event_Summary) MarshalTo added in v0.3.1

func (m *Event_Summary) MarshalTo(dAtA []byte) (int, error)

func (*Event_Summary) Size added in v0.3.1

func (m *Event_Summary) Size() (n int)

type Event_TaggedRunMetadata added in v0.3.1

type Event_TaggedRunMetadata struct {
	TaggedRunMetadata *TaggedRunMetadata `protobuf:"bytes,8,opt,name=tagged_run_metadata,json=taggedRunMetadata,proto3,oneof"`
}

func (*Event_TaggedRunMetadata) MarshalTo added in v0.3.1

func (m *Event_TaggedRunMetadata) MarshalTo(dAtA []byte) (int, error)

func (*Event_TaggedRunMetadata) Size added in v0.3.1

func (m *Event_TaggedRunMetadata) Size() (n int)

type ExecutorOpts

type ExecutorOpts struct {
	RecordCosts                    bool `protobuf:"varint,1,opt,name=record_costs,json=recordCosts,proto3" json:"record_costs,omitempty"`
	RecordTimeline                 bool `protobuf:"varint,3,opt,name=record_timeline,json=recordTimeline,proto3" json:"record_timeline,omitempty"`
	RecordPartitionGraphs          bool `` /* 127-byte string literal not displayed */
	ReportTensorAllocationsUponOom bool `` /* 158-byte string literal not displayed */
}

Options specific to the execution of a single step.

func (*ExecutorOpts) Descriptor

func (*ExecutorOpts) Descriptor() ([]byte, []int)

func (*ExecutorOpts) GetRecordCosts

func (m *ExecutorOpts) GetRecordCosts() bool

func (*ExecutorOpts) GetRecordPartitionGraphs added in v0.3.1

func (m *ExecutorOpts) GetRecordPartitionGraphs() bool

func (*ExecutorOpts) GetRecordTimeline

func (m *ExecutorOpts) GetRecordTimeline() bool

func (*ExecutorOpts) GetReportTensorAllocationsUponOom added in v0.3.1

func (m *ExecutorOpts) GetReportTensorAllocationsUponOom() bool

func (*ExecutorOpts) Marshal

func (m *ExecutorOpts) Marshal() (dAtA []byte, err error)

func (*ExecutorOpts) MarshalTo

func (m *ExecutorOpts) MarshalTo(dAtA []byte) (int, error)

func (*ExecutorOpts) ProtoMessage

func (*ExecutorOpts) ProtoMessage()

func (*ExecutorOpts) Reset

func (m *ExecutorOpts) Reset()

func (*ExecutorOpts) Size

func (m *ExecutorOpts) Size() (n int)

func (*ExecutorOpts) String

func (m *ExecutorOpts) String() string

func (*ExecutorOpts) Unmarshal

func (m *ExecutorOpts) Unmarshal(dAtA []byte) error

func (*ExecutorOpts) XXX_DiscardUnknown added in v0.3.1

func (m *ExecutorOpts) XXX_DiscardUnknown()

func (*ExecutorOpts) XXX_Marshal added in v0.3.1

func (m *ExecutorOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecutorOpts) XXX_Merge added in v0.3.1

func (m *ExecutorOpts) XXX_Merge(src proto.Message)

func (*ExecutorOpts) XXX_Size added in v0.3.1

func (m *ExecutorOpts) XXX_Size() int

func (*ExecutorOpts) XXX_Unmarshal added in v0.3.1

func (m *ExecutorOpts) XXX_Unmarshal(b []byte) error

type ExtendSessionRequest

type ExtendSessionRequest struct {
	// REQUIRED: session_handle must be returned by a CreateSession call
	// to the same master service.
	SessionHandle string `protobuf:"bytes,1,opt,name=session_handle,json=sessionHandle,proto3" json:"session_handle,omitempty"`
	// REQUIRED: The nodes to be added to the session's graph. If any node has
	// the same name as an existing node, the operation will fail with
	// ILLEGAL_ARGUMENT.
	GraphDef *GraphDef `protobuf:"bytes,2,opt,name=graph_def,json=graphDef,proto3" json:"graph_def,omitempty"`
	// REQUIRED: The version number of the graph to be extended. This will be
	// tested against the current server-side version number, and the operation
	// will fail with FAILED_PRECONDITION if they do not match.
	CurrentGraphVersion int64 `protobuf:"varint,3,opt,name=current_graph_version,json=currentGraphVersion,proto3" json:"current_graph_version,omitempty"`
}

func (*ExtendSessionRequest) Descriptor

func (*ExtendSessionRequest) Descriptor() ([]byte, []int)

func (*ExtendSessionRequest) GetCurrentGraphVersion

func (m *ExtendSessionRequest) GetCurrentGraphVersion() int64

func (*ExtendSessionRequest) GetGraphDef

func (m *ExtendSessionRequest) GetGraphDef() *GraphDef

func (*ExtendSessionRequest) GetSessionHandle

func (m *ExtendSessionRequest) GetSessionHandle() string

func (*ExtendSessionRequest) Marshal

func (m *ExtendSessionRequest) Marshal() (dAtA []byte, err error)

func (*ExtendSessionRequest) MarshalTo

func (m *ExtendSessionRequest) MarshalTo(dAtA []byte) (int, error)

func (*ExtendSessionRequest) ProtoMessage

func (*ExtendSessionRequest) ProtoMessage()

func (*ExtendSessionRequest) Reset

func (m *ExtendSessionRequest) Reset()

func (*ExtendSessionRequest) Size

func (m *ExtendSessionRequest) Size() (n int)

func (*ExtendSessionRequest) String

func (m *ExtendSessionRequest) String() string

func (*ExtendSessionRequest) Unmarshal

func (m *ExtendSessionRequest) Unmarshal(dAtA []byte) error

func (*ExtendSessionRequest) XXX_DiscardUnknown added in v0.3.1

func (m *ExtendSessionRequest) XXX_DiscardUnknown()

func (*ExtendSessionRequest) XXX_Marshal added in v0.3.1

func (m *ExtendSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExtendSessionRequest) XXX_Merge added in v0.3.1

func (m *ExtendSessionRequest) XXX_Merge(src proto.Message)

func (*ExtendSessionRequest) XXX_Size added in v0.3.1

func (m *ExtendSessionRequest) XXX_Size() int

func (*ExtendSessionRequest) XXX_Unmarshal added in v0.3.1

func (m *ExtendSessionRequest) XXX_Unmarshal(b []byte) error

type ExtendSessionResponse

type ExtendSessionResponse struct {
	// The new version number for the extended graph, to be used in the next call
	// to ExtendSession.
	NewGraphVersion int64 `protobuf:"varint,4,opt,name=new_graph_version,json=newGraphVersion,proto3" json:"new_graph_version,omitempty"`
}

func (*ExtendSessionResponse) Descriptor

func (*ExtendSessionResponse) Descriptor() ([]byte, []int)

func (*ExtendSessionResponse) GetNewGraphVersion

func (m *ExtendSessionResponse) GetNewGraphVersion() int64

func (*ExtendSessionResponse) Marshal

func (m *ExtendSessionResponse) Marshal() (dAtA []byte, err error)

func (*ExtendSessionResponse) MarshalTo

func (m *ExtendSessionResponse) MarshalTo(dAtA []byte) (int, error)

func (*ExtendSessionResponse) ProtoMessage

func (*ExtendSessionResponse) ProtoMessage()

func (*ExtendSessionResponse) Reset

func (m *ExtendSessionResponse) Reset()

func (*ExtendSessionResponse) Size

func (m *ExtendSessionResponse) Size() (n int)

func (*ExtendSessionResponse) String

func (m *ExtendSessionResponse) String() string

func (*ExtendSessionResponse) Unmarshal

func (m *ExtendSessionResponse) Unmarshal(dAtA []byte) error

func (*ExtendSessionResponse) XXX_DiscardUnknown added in v0.3.1

func (m *ExtendSessionResponse) XXX_DiscardUnknown()

func (*ExtendSessionResponse) XXX_Marshal added in v0.3.1

func (m *ExtendSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExtendSessionResponse) XXX_Merge added in v0.3.1

func (m *ExtendSessionResponse) XXX_Merge(src proto.Message)

func (*ExtendSessionResponse) XXX_Size added in v0.3.1

func (m *ExtendSessionResponse) XXX_Size() int

func (*ExtendSessionResponse) XXX_Unmarshal added in v0.3.1

func (m *ExtendSessionResponse) XXX_Unmarshal(b []byte) error

type FunctionDef

type FunctionDef struct {
	// The definition of the function's name, arguments, return values,
	// attrs etc.
	Signature *OpDef `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	// Attributes specific to this function definition.
	Attr map[string]*AttrValue `` /* 149-byte string literal not displayed */
	// By convention, "op" in node_def is resolved by consulting with a
	// user-defined library first. If not resolved, "func" is assumed to
	// be a builtin op.
	NodeDef []*NodeDef `protobuf:"bytes,3,rep,name=node_def,json=nodeDef,proto3" json:"node_def,omitempty"`
	// A mapping from the output arg names from `signature` to the
	// outputs from `node_def` that should be returned by the function.
	Ret map[string]string `` /* 147-byte string literal not displayed */
}

A function can be instantiated when the runtime can bind every attr with a value. When a GraphDef has a call to a function, it must have binding for every attr defined in the signature.

TODO(zhifengc):

  • device spec, etc.

func (*FunctionDef) Descriptor

func (*FunctionDef) Descriptor() ([]byte, []int)

func (*FunctionDef) GetAttr

func (m *FunctionDef) GetAttr() map[string]*AttrValue

func (*FunctionDef) GetNodeDef

func (m *FunctionDef) GetNodeDef() []*NodeDef

func (*FunctionDef) GetRet

func (m *FunctionDef) GetRet() map[string]string

func (*FunctionDef) GetSignature

func (m *FunctionDef) GetSignature() *OpDef

func (*FunctionDef) Marshal

func (m *FunctionDef) Marshal() (dAtA []byte, err error)

func (*FunctionDef) MarshalTo

func (m *FunctionDef) MarshalTo(dAtA []byte) (int, error)

func (*FunctionDef) ProtoMessage

func (*FunctionDef) ProtoMessage()

func (*FunctionDef) Reset

func (m *FunctionDef) Reset()

func (*FunctionDef) Size

func (m *FunctionDef) Size() (n int)

func (*FunctionDef) String

func (m *FunctionDef) String() string

func (*FunctionDef) Unmarshal

func (m *FunctionDef) Unmarshal(dAtA []byte) error

func (*FunctionDef) XXX_DiscardUnknown added in v0.3.1

func (m *FunctionDef) XXX_DiscardUnknown()

func (*FunctionDef) XXX_Marshal added in v0.3.1

func (m *FunctionDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FunctionDef) XXX_Merge added in v0.3.1

func (m *FunctionDef) XXX_Merge(src proto.Message)

func (*FunctionDef) XXX_Size added in v0.3.1

func (m *FunctionDef) XXX_Size() int

func (*FunctionDef) XXX_Unmarshal added in v0.3.1

func (m *FunctionDef) XXX_Unmarshal(b []byte) error

type FunctionDefLibrary

type FunctionDefLibrary struct {
	Function []*FunctionDef `protobuf:"bytes,1,rep,name=function,proto3" json:"function,omitempty"`
	Gradient []*GradientDef `protobuf:"bytes,2,rep,name=gradient,proto3" json:"gradient,omitempty"`
}

A library is a set of named functions.

func (*FunctionDefLibrary) Descriptor

func (*FunctionDefLibrary) Descriptor() ([]byte, []int)

func (*FunctionDefLibrary) GetFunction

func (m *FunctionDefLibrary) GetFunction() []*FunctionDef

func (*FunctionDefLibrary) GetGradient

func (m *FunctionDefLibrary) GetGradient() []*GradientDef

func (*FunctionDefLibrary) Marshal

func (m *FunctionDefLibrary) Marshal() (dAtA []byte, err error)

func (*FunctionDefLibrary) MarshalTo

func (m *FunctionDefLibrary) MarshalTo(dAtA []byte) (int, error)

func (*FunctionDefLibrary) ProtoMessage

func (*FunctionDefLibrary) ProtoMessage()

func (*FunctionDefLibrary) Reset

func (m *FunctionDefLibrary) Reset()

func (*FunctionDefLibrary) Size

func (m *FunctionDefLibrary) Size() (n int)

func (*FunctionDefLibrary) String

func (m *FunctionDefLibrary) String() string

func (*FunctionDefLibrary) Unmarshal

func (m *FunctionDefLibrary) Unmarshal(dAtA []byte) error

func (*FunctionDefLibrary) XXX_DiscardUnknown added in v0.3.1

func (m *FunctionDefLibrary) XXX_DiscardUnknown()

func (*FunctionDefLibrary) XXX_Marshal added in v0.3.1

func (m *FunctionDefLibrary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FunctionDefLibrary) XXX_Merge added in v0.3.1

func (m *FunctionDefLibrary) XXX_Merge(src proto.Message)

func (*FunctionDefLibrary) XXX_Size added in v0.3.1

func (m *FunctionDefLibrary) XXX_Size() int

func (*FunctionDefLibrary) XXX_Unmarshal added in v0.3.1

func (m *FunctionDefLibrary) XXX_Unmarshal(b []byte) error

type GPUOptions

type GPUOptions struct {
	// Fraction of the available GPU memory to allocate for each process.
	// 1 means to allocate all of the GPU memory, 0.5 means the process
	// allocates up to ~50% of the available GPU memory.
	//
	// GPU memory is pre-allocated unless the allow_growth option is enabled.
	//
	// If greater than 1.0, uses CUDA unified memory to potentially oversubscribe
	// the amount of memory available on the GPU device by using host memory as a
	// swap space. Accessing memory not available on the device will be
	// significantly slower as that would require memory transfer between the host
	// and the device. Options to reduce the memory requirement should be
	// considered before enabling this option as this may come with a negative
	// performance impact. Oversubscription using the unified memory requires
	// Pascal class or newer GPUs and it is currently only supported on the Linux
	// operating system. See
	// https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#um-requirements
	// for the detailed requirements.
	PerProcessGpuMemoryFraction float64 `` /* 150-byte string literal not displayed */
	// If true, the allocator does not pre-allocate the entire specified
	// GPU memory region, instead starting small and growing as needed.
	AllowGrowth bool `protobuf:"varint,4,opt,name=allow_growth,json=allowGrowth,proto3" json:"allow_growth,omitempty"`
	// The type of GPU allocation strategy to use.
	//
	// Allowed values:
	// "": The empty string (default) uses a system-chosen default
	//     which may change over time.
	//
	// "BFC": A "Best-fit with coalescing" algorithm, simplified from a
	//        version of dlmalloc.
	AllocatorType string `protobuf:"bytes,2,opt,name=allocator_type,json=allocatorType,proto3" json:"allocator_type,omitempty"`
	// Delay deletion of up to this many bytes to reduce the number of
	// interactions with gpu driver code.  If 0, the system chooses
	// a reasonable default (several MBs).
	DeferredDeletionBytes int64 `` /* 127-byte string literal not displayed */
	// A comma-separated list of GPU ids that determines the 'visible'
	// to 'virtual' mapping of GPU devices.  For example, if TensorFlow
	// can see 8 GPU devices in the process, and one wanted to map
	// visible GPU devices 5 and 3 as "/device:GPU:0", and "/device:GPU:1",
	// then one would specify this field as "5,3".  This field is similar in
	// spirit to the CUDA_VISIBLE_DEVICES environment variable, except
	// it applies to the visible GPU devices in the process.
	//
	// NOTE:
	// 1. The GPU driver provides the process with the visible GPUs
	//    in an order which is not guaranteed to have any correlation to
	//    the *physical* GPU id in the machine.  This field is used for
	//    remapping "visible" to "virtual", which means this operates only
	//    after the process starts.  Users are required to use vendor
	//    specific mechanisms (e.g., CUDA_VISIBLE_DEVICES) to control the
	//    physical to visible device mapping prior to invoking TensorFlow.
	// 2. In the code, the ids in this list are also called "platform GPU id"s,
	//    and the 'virtual' ids of GPU devices (i.e. the ids in the device
	//    name "/device:GPU:<id>") are also called "TF GPU id"s. Please
	//    refer to third_party/tensorflow/core/common_runtime/gpu/gpu_id.h
	//    for more information.
	VisibleDeviceList string `protobuf:"bytes,5,opt,name=visible_device_list,json=visibleDeviceList,proto3" json:"visible_device_list,omitempty"`
	// In the event polling loop sleep this many microseconds between
	// PollEvents calls, when the queue is not empty.  If value is not
	// set or set to 0, gets set to a non-zero default.
	PollingActiveDelayUsecs int32 `` /* 135-byte string literal not displayed */
	// This field is deprecated and ignored.
	PollingInactiveDelayMsecs int32 `` /* 141-byte string literal not displayed */
	// Force all tensors to be gpu_compatible. On a GPU-enabled TensorFlow,
	// enabling this option forces all CPU tensors to be allocated with Cuda
	// pinned memory. Normally, TensorFlow will infer which tensors should be
	// allocated as the pinned memory. But in case where the inference is
	// incomplete, this option can significantly speed up the cross-device memory
	// copy performance as long as it fits the memory.
	// Note that this option is not something that should be
	// enabled by default for unknown or very large models, since all Cuda pinned
	// memory is unpageable, having too much pinned memory might negatively impact
	// the overall host system performance.
	ForceGpuCompatible bool `protobuf:"varint,8,opt,name=force_gpu_compatible,json=forceGpuCompatible,proto3" json:"force_gpu_compatible,omitempty"`
	// Everything inside experimental is subject to change and is not subject
	// to API stability guarantees in
	// https://www.tensorflow.org/guide/version_compat.
	Experimental *GPUOptions_Experimental `protobuf:"bytes,9,opt,name=experimental,proto3" json:"experimental,omitempty"`
}

func (*GPUOptions) Descriptor

func (*GPUOptions) Descriptor() ([]byte, []int)

func (*GPUOptions) GetAllocatorType

func (m *GPUOptions) GetAllocatorType() string

func (*GPUOptions) GetAllowGrowth

func (m *GPUOptions) GetAllowGrowth() bool

func (*GPUOptions) GetDeferredDeletionBytes

func (m *GPUOptions) GetDeferredDeletionBytes() int64

func (*GPUOptions) GetExperimental added in v0.3.1

func (m *GPUOptions) GetExperimental() *GPUOptions_Experimental

func (*GPUOptions) GetForceGpuCompatible

func (m *GPUOptions) GetForceGpuCompatible() bool

func (*GPUOptions) GetPerProcessGpuMemoryFraction

func (m *GPUOptions) GetPerProcessGpuMemoryFraction() float64

func (*GPUOptions) GetPollingActiveDelayUsecs

func (m *GPUOptions) GetPollingActiveDelayUsecs() int32

func (*GPUOptions) GetPollingInactiveDelayMsecs

func (m *GPUOptions) GetPollingInactiveDelayMsecs() int32

func (*GPUOptions) GetVisibleDeviceList

func (m *GPUOptions) GetVisibleDeviceList() string

func (*GPUOptions) Marshal

func (m *GPUOptions) Marshal() (dAtA []byte, err error)

func (*GPUOptions) MarshalTo

func (m *GPUOptions) MarshalTo(dAtA []byte) (int, error)

func (*GPUOptions) ProtoMessage

func (*GPUOptions) ProtoMessage()

func (*GPUOptions) Reset

func (m *GPUOptions) Reset()

func (*GPUOptions) Size

func (m *GPUOptions) Size() (n int)

func (*GPUOptions) String

func (m *GPUOptions) String() string

func (*GPUOptions) Unmarshal

func (m *GPUOptions) Unmarshal(dAtA []byte) error

func (*GPUOptions) XXX_DiscardUnknown added in v0.3.1

func (m *GPUOptions) XXX_DiscardUnknown()

func (*GPUOptions) XXX_Marshal added in v0.3.1

func (m *GPUOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GPUOptions) XXX_Merge added in v0.3.1

func (m *GPUOptions) XXX_Merge(src proto.Message)

func (*GPUOptions) XXX_Size added in v0.3.1

func (m *GPUOptions) XXX_Size() int

func (*GPUOptions) XXX_Unmarshal added in v0.3.1

func (m *GPUOptions) XXX_Unmarshal(b []byte) error

type GPUOptions_Experimental added in v0.3.1

type GPUOptions_Experimental struct {
	// The multi virtual device settings. If empty (not set), it will create
	// single virtual device on each visible GPU, according to the settings
	// in "visible_device_list" above. Otherwise, the number of elements in the
	// list must be the same as the number of visible GPUs (after
	// "visible_device_list" filtering if it is set), and the string represented
	// device names (e.g. /device:GPU:<id>) will refer to the virtual
	// devices and have the <id> field assigned sequentially starting from 0,
	// according to the order they appear in this list and the "memory_limit"
	// list inside each element. For example,
	//   visible_device_list = "1,0"
	//   virtual_devices { memory_limit: 1GB memory_limit: 2GB }
	//   virtual_devices {}
	// will create three virtual devices as:
	//   /device:GPU:0 -> visible GPU 1 with 1GB memory
	//   /device:GPU:1 -> visible GPU 1 with 2GB memory
	//   /device:GPU:2 -> visible GPU 0 with all available memory
	//
	// NOTE:
	// 1. It's invalid to set both this and "per_process_gpu_memory_fraction"
	//    at the same time.
	// 2. Currently this setting is per-process, not per-session. Using
	//    different settings in different sessions within same process will
	//    result in undefined behavior.
	VirtualDevices []*GPUOptions_Experimental_VirtualDevices `protobuf:"bytes,1,rep,name=virtual_devices,json=virtualDevices,proto3" json:"virtual_devices,omitempty"`
	// If true, uses CUDA unified memory for memory allocations. If
	// per_process_gpu_memory_fraction option is greater than 1.0, then unified
	// memory is used regardless of the value for this field. See comments for
	// per_process_gpu_memory_fraction field for more details and requirements
	// of the unified memory. This option is useful to oversubscribe memory if
	// multiple processes are sharing a single GPU while individually using less
	// than 1.0 per process memory fraction.
	UseUnifiedMemory bool `protobuf:"varint,2,opt,name=use_unified_memory,json=useUnifiedMemory,proto3" json:"use_unified_memory,omitempty"`
	// If > 1, the number of device-to-device copy streams to create
	// for each GPUDevice.  Default value is 0, which is automatically
	// converted to 1.
	NumDevToDevCopyStreams int32 `` /* 136-byte string literal not displayed */
}

func (*GPUOptions_Experimental) Descriptor added in v0.3.1

func (*GPUOptions_Experimental) Descriptor() ([]byte, []int)

func (*GPUOptions_Experimental) GetNumDevToDevCopyStreams added in v0.3.1

func (m *GPUOptions_Experimental) GetNumDevToDevCopyStreams() int32

func (*GPUOptions_Experimental) GetUseUnifiedMemory added in v0.3.1

func (m *GPUOptions_Experimental) GetUseUnifiedMemory() bool

func (*GPUOptions_Experimental) GetVirtualDevices added in v0.3.1

func (*GPUOptions_Experimental) Marshal added in v0.3.1

func (m *GPUOptions_Experimental) Marshal() (dAtA []byte, err error)

func (*GPUOptions_Experimental) MarshalTo added in v0.3.1

func (m *GPUOptions_Experimental) MarshalTo(dAtA []byte) (int, error)

func (*GPUOptions_Experimental) ProtoMessage added in v0.3.1

func (*GPUOptions_Experimental) ProtoMessage()

func (*GPUOptions_Experimental) Reset added in v0.3.1

func (m *GPUOptions_Experimental) Reset()

func (*GPUOptions_Experimental) Size added in v0.3.1

func (m *GPUOptions_Experimental) Size() (n int)

func (*GPUOptions_Experimental) String added in v0.3.1

func (m *GPUOptions_Experimental) String() string

func (*GPUOptions_Experimental) Unmarshal added in v0.3.1

func (m *GPUOptions_Experimental) Unmarshal(dAtA []byte) error

func (*GPUOptions_Experimental) XXX_DiscardUnknown added in v0.3.1

func (m *GPUOptions_Experimental) XXX_DiscardUnknown()

func (*GPUOptions_Experimental) XXX_Marshal added in v0.3.1

func (m *GPUOptions_Experimental) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GPUOptions_Experimental) XXX_Merge added in v0.3.1

func (m *GPUOptions_Experimental) XXX_Merge(src proto.Message)

func (*GPUOptions_Experimental) XXX_Size added in v0.3.1

func (m *GPUOptions_Experimental) XXX_Size() int

func (*GPUOptions_Experimental) XXX_Unmarshal added in v0.3.1

func (m *GPUOptions_Experimental) XXX_Unmarshal(b []byte) error

type GPUOptions_Experimental_VirtualDevices added in v0.3.1

type GPUOptions_Experimental_VirtualDevices struct {
	// Per "virtual" device memory limit, in MB. The number of elements in
	// the list is the number of virtual devices to create on the
	// corresponding visible GPU (see "virtual_devices" below).
	// If empty, it will create single virtual device taking all available
	// memory from the device.
	//
	// For the concept of "visible" and "virtual" GPU, see the comments for
	// "visible_device_list" above for more information.
	MemoryLimitMb []float32 `protobuf:"fixed32,1,rep,packed,name=memory_limit_mb,json=memoryLimitMb,proto3" json:"memory_limit_mb,omitempty"`
}

Configuration for breaking down a visible GPU into multiple "virtual" devices.

func (*GPUOptions_Experimental_VirtualDevices) Descriptor added in v0.3.1

func (*GPUOptions_Experimental_VirtualDevices) Descriptor() ([]byte, []int)

func (*GPUOptions_Experimental_VirtualDevices) GetMemoryLimitMb added in v0.3.1

func (m *GPUOptions_Experimental_VirtualDevices) GetMemoryLimitMb() []float32

func (*GPUOptions_Experimental_VirtualDevices) Marshal added in v0.3.1

func (m *GPUOptions_Experimental_VirtualDevices) Marshal() (dAtA []byte, err error)

func (*GPUOptions_Experimental_VirtualDevices) MarshalTo added in v0.3.1

func (m *GPUOptions_Experimental_VirtualDevices) MarshalTo(dAtA []byte) (int, error)

func (*GPUOptions_Experimental_VirtualDevices) ProtoMessage added in v0.3.1

func (*GPUOptions_Experimental_VirtualDevices) Reset added in v0.3.1

func (*GPUOptions_Experimental_VirtualDevices) Size added in v0.3.1

func (*GPUOptions_Experimental_VirtualDevices) String added in v0.3.1

func (*GPUOptions_Experimental_VirtualDevices) Unmarshal added in v0.3.1

func (m *GPUOptions_Experimental_VirtualDevices) Unmarshal(dAtA []byte) error

func (*GPUOptions_Experimental_VirtualDevices) XXX_DiscardUnknown added in v0.3.1

func (m *GPUOptions_Experimental_VirtualDevices) XXX_DiscardUnknown()

func (*GPUOptions_Experimental_VirtualDevices) XXX_Marshal added in v0.3.1

func (m *GPUOptions_Experimental_VirtualDevices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GPUOptions_Experimental_VirtualDevices) XXX_Merge added in v0.3.1

func (*GPUOptions_Experimental_VirtualDevices) XXX_Size added in v0.3.1

func (*GPUOptions_Experimental_VirtualDevices) XXX_Unmarshal added in v0.3.1

func (m *GPUOptions_Experimental_VirtualDevices) XXX_Unmarshal(b []byte) error

type GetStatusRequest

type GetStatusRequest struct {
}

func (*GetStatusRequest) Descriptor

func (*GetStatusRequest) Descriptor() ([]byte, []int)

func (*GetStatusRequest) Marshal

func (m *GetStatusRequest) Marshal() (dAtA []byte, err error)

func (*GetStatusRequest) MarshalTo

func (m *GetStatusRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetStatusRequest) ProtoMessage

func (*GetStatusRequest) ProtoMessage()

func (*GetStatusRequest) Reset

func (m *GetStatusRequest) Reset()

func (*GetStatusRequest) Size

func (m *GetStatusRequest) Size() (n int)

func (*GetStatusRequest) String

func (m *GetStatusRequest) String() string

func (*GetStatusRequest) Unmarshal

func (m *GetStatusRequest) Unmarshal(dAtA []byte) error

func (*GetStatusRequest) XXX_DiscardUnknown added in v0.3.1

func (m *GetStatusRequest) XXX_DiscardUnknown()

func (*GetStatusRequest) XXX_Marshal added in v0.3.1

func (m *GetStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetStatusRequest) XXX_Merge added in v0.3.1

func (m *GetStatusRequest) XXX_Merge(src proto.Message)

func (*GetStatusRequest) XXX_Size added in v0.3.1

func (m *GetStatusRequest) XXX_Size() int

func (*GetStatusRequest) XXX_Unmarshal added in v0.3.1

func (m *GetStatusRequest) XXX_Unmarshal(b []byte) error

type GetStatusResponse

type GetStatusResponse struct {
	DeviceAttributes []*DeviceAttributes `protobuf:"bytes,1,rep,name=device_attributes,json=deviceAttributes,proto3" json:"device_attributes,omitempty"`
}

func (*GetStatusResponse) Descriptor

func (*GetStatusResponse) Descriptor() ([]byte, []int)

func (*GetStatusResponse) GetDeviceAttributes

func (m *GetStatusResponse) GetDeviceAttributes() []*DeviceAttributes

func (*GetStatusResponse) Marshal

func (m *GetStatusResponse) Marshal() (dAtA []byte, err error)

func (*GetStatusResponse) MarshalTo

func (m *GetStatusResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetStatusResponse) ProtoMessage

func (*GetStatusResponse) ProtoMessage()

func (*GetStatusResponse) Reset

func (m *GetStatusResponse) Reset()

func (*GetStatusResponse) Size

func (m *GetStatusResponse) Size() (n int)

func (*GetStatusResponse) String

func (m *GetStatusResponse) String() string

func (*GetStatusResponse) Unmarshal

func (m *GetStatusResponse) Unmarshal(dAtA []byte) error

func (*GetStatusResponse) XXX_DiscardUnknown added in v0.3.1

func (m *GetStatusResponse) XXX_DiscardUnknown()

func (*GetStatusResponse) XXX_Marshal added in v0.3.1

func (m *GetStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetStatusResponse) XXX_Merge added in v0.3.1

func (m *GetStatusResponse) XXX_Merge(src proto.Message)

func (*GetStatusResponse) XXX_Size added in v0.3.1

func (m *GetStatusResponse) XXX_Size() int

func (*GetStatusResponse) XXX_Unmarshal added in v0.3.1

func (m *GetStatusResponse) XXX_Unmarshal(b []byte) error

type GetStepSequenceRequest added in v0.3.1

type GetStepSequenceRequest struct {
	GraphKey []int64 `protobuf:"varint,1,rep,packed,name=graph_key,json=graphKey,proto3" json:"graph_key,omitempty"`
}

Request for next agreed-upon step_id for the specified graph_keys. This is used to enable multiple graphs containing nodes from a common collective instance to coordinate using the same step_ids.

func (*GetStepSequenceRequest) Descriptor added in v0.3.1

func (*GetStepSequenceRequest) Descriptor() ([]byte, []int)

func (*GetStepSequenceRequest) GetGraphKey added in v0.3.1

func (m *GetStepSequenceRequest) GetGraphKey() []int64

func (*GetStepSequenceRequest) Marshal added in v0.3.1

func (m *GetStepSequenceRequest) Marshal() (dAtA []byte, err error)

func (*GetStepSequenceRequest) MarshalTo added in v0.3.1

func (m *GetStepSequenceRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetStepSequenceRequest) ProtoMessage added in v0.3.1

func (*GetStepSequenceRequest) ProtoMessage()

func (*GetStepSequenceRequest) Reset added in v0.3.1

func (m *GetStepSequenceRequest) Reset()

func (*GetStepSequenceRequest) Size added in v0.3.1

func (m *GetStepSequenceRequest) Size() (n int)

func (*GetStepSequenceRequest) String added in v0.3.1

func (m *GetStepSequenceRequest) String() string

func (*GetStepSequenceRequest) Unmarshal added in v0.3.1

func (m *GetStepSequenceRequest) Unmarshal(dAtA []byte) error

func (*GetStepSequenceRequest) XXX_DiscardUnknown added in v0.3.1

func (m *GetStepSequenceRequest) XXX_DiscardUnknown()

func (*GetStepSequenceRequest) XXX_Marshal added in v0.3.1

func (m *GetStepSequenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetStepSequenceRequest) XXX_Merge added in v0.3.1

func (m *GetStepSequenceRequest) XXX_Merge(src proto.Message)

func (*GetStepSequenceRequest) XXX_Size added in v0.3.1

func (m *GetStepSequenceRequest) XXX_Size() int

func (*GetStepSequenceRequest) XXX_Unmarshal added in v0.3.1

func (m *GetStepSequenceRequest) XXX_Unmarshal(b []byte) error

type GetStepSequenceResponse added in v0.3.1

type GetStepSequenceResponse struct {
	StepSequence []*StepSequence `protobuf:"bytes,1,rep,name=step_sequence,json=stepSequence,proto3" json:"step_sequence,omitempty"`
}

Next valid step_ids for one or more graph_keys.

func (*GetStepSequenceResponse) Descriptor added in v0.3.1

func (*GetStepSequenceResponse) Descriptor() ([]byte, []int)

func (*GetStepSequenceResponse) GetStepSequence added in v0.3.1

func (m *GetStepSequenceResponse) GetStepSequence() []*StepSequence

func (*GetStepSequenceResponse) Marshal added in v0.3.1

func (m *GetStepSequenceResponse) Marshal() (dAtA []byte, err error)

func (*GetStepSequenceResponse) MarshalTo added in v0.3.1

func (m *GetStepSequenceResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetStepSequenceResponse) ProtoMessage added in v0.3.1

func (*GetStepSequenceResponse) ProtoMessage()

func (*GetStepSequenceResponse) Reset added in v0.3.1

func (m *GetStepSequenceResponse) Reset()

func (*GetStepSequenceResponse) Size added in v0.3.1

func (m *GetStepSequenceResponse) Size() (n int)

func (*GetStepSequenceResponse) String added in v0.3.1

func (m *GetStepSequenceResponse) String() string

func (*GetStepSequenceResponse) Unmarshal added in v0.3.1

func (m *GetStepSequenceResponse) Unmarshal(dAtA []byte) error

func (*GetStepSequenceResponse) XXX_DiscardUnknown added in v0.3.1

func (m *GetStepSequenceResponse) XXX_DiscardUnknown()

func (*GetStepSequenceResponse) XXX_Marshal added in v0.3.1

func (m *GetStepSequenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetStepSequenceResponse) XXX_Merge added in v0.3.1

func (m *GetStepSequenceResponse) XXX_Merge(src proto.Message)

func (*GetStepSequenceResponse) XXX_Size added in v0.3.1

func (m *GetStepSequenceResponse) XXX_Size() int

func (*GetStepSequenceResponse) XXX_Unmarshal added in v0.3.1

func (m *GetStepSequenceResponse) XXX_Unmarshal(b []byte) error

type GradientDef

type GradientDef struct {
	FunctionName string `protobuf:"bytes,1,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
	GradientFunc string `protobuf:"bytes,2,opt,name=gradient_func,json=gradientFunc,proto3" json:"gradient_func,omitempty"`
}

GradientDef defines the gradient function of a function defined in a function library.

A gradient function g (specified by gradient_func) for a function f (specified by function_name) must follow the following:

The function 'f' must be a numerical function which takes N inputs and produces M outputs. Its gradient function 'g', which is a function taking N + M inputs and produces N outputs.

I.e. if we have

(y1, y2, ..., y_M) = f(x1, x2, ..., x_N),

then, g is

(dL/dx1, dL/dx2, ..., dL/dx_N) = g(x1, x2, ..., x_N,
                                  dL/dy1, dL/dy2, ..., dL/dy_M),

where L is a scalar-value function of (x1, x2, ..., xN) (e.g., the loss function). dL/dx_i is the partial derivative of L with respect to x_i.

func (*GradientDef) Descriptor

func (*GradientDef) Descriptor() ([]byte, []int)

func (*GradientDef) GetFunctionName

func (m *GradientDef) GetFunctionName() string

func (*GradientDef) GetGradientFunc

func (m *GradientDef) GetGradientFunc() string

func (*GradientDef) Marshal

func (m *GradientDef) Marshal() (dAtA []byte, err error)

func (*GradientDef) MarshalTo

func (m *GradientDef) MarshalTo(dAtA []byte) (int, error)

func (*GradientDef) ProtoMessage

func (*GradientDef) ProtoMessage()

func (*GradientDef) Reset

func (m *GradientDef) Reset()

func (*GradientDef) Size

func (m *GradientDef) Size() (n int)

func (*GradientDef) String

func (m *GradientDef) String() string

func (*GradientDef) Unmarshal

func (m *GradientDef) Unmarshal(dAtA []byte) error

func (*GradientDef) XXX_DiscardUnknown added in v0.3.1

func (m *GradientDef) XXX_DiscardUnknown()

func (*GradientDef) XXX_Marshal added in v0.3.1

func (m *GradientDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GradientDef) XXX_Merge added in v0.3.1

func (m *GradientDef) XXX_Merge(src proto.Message)

func (*GradientDef) XXX_Size added in v0.3.1

func (m *GradientDef) XXX_Size() int

func (*GradientDef) XXX_Unmarshal added in v0.3.1

func (m *GradientDef) XXX_Unmarshal(b []byte) error

type GraphDef

type GraphDef struct {
	Node []*NodeDef `protobuf:"bytes,1,rep,name=node,proto3" json:"node,omitempty"`
	// Compatibility versions of the graph.  See core/public/version.h for version
	// history.  The GraphDef version is distinct from the TensorFlow version, and
	// each release of TensorFlow will support a range of GraphDef versions.
	Versions *VersionDef `protobuf:"bytes,4,opt,name=versions,proto3" json:"versions,omitempty"`
	// Deprecated single version field; use versions above instead.  Since all
	// GraphDef changes before "versions" was introduced were forward
	// compatible, this field is entirely ignored.
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` // Deprecated: Do not use.
	// EXPERIMENTAL. DO NOT USE OR DEPEND ON THIS YET.
	//
	// "library" provides user-defined functions.
	//
	// Naming:
	//   * library.function.name are in a flat namespace.
	//     NOTE: We may need to change it to be hierarchical to support
	//     different orgs. E.g.,
	//     { "/google/nn", { ... }},
	//     { "/google/vision", { ... }}
	//     { "/org_foo/module_bar", { ... }}
	//     map<string, FunctionDefLib> named_lib;
	//   * If node[i].op is the name of one function in "library",
	//     node[i] is deemed as a function call. Otherwise, node[i].op
	//     must be a primitive operation supported by the runtime.
	//
	//
	// Function call semantics:
	//
	//   * The callee may start execution as soon as some of its inputs
	//     are ready. The caller may want to use Tuple() mechanism to
	//     ensure all inputs are ready in the same time.
	//
	//   * The consumer of return values may start executing as soon as
	//     the return values the consumer depends on are ready.  The
	//     consumer may want to use Tuple() mechanism to ensure the
	//     consumer does not start until all return values of the callee
	//     function are ready.
	Library *FunctionDefLibrary `protobuf:"bytes,2,opt,name=library,proto3" json:"library,omitempty"`
}

Represents the graph of operations

func FromCheckpoint

func FromCheckpoint(r io.Reader) (*GraphDef, error)

func (*GraphDef) Descriptor

func (*GraphDef) Descriptor() ([]byte, []int)

func (*GraphDef) GetLibrary

func (m *GraphDef) GetLibrary() *FunctionDefLibrary

func (*GraphDef) GetNode

func (m *GraphDef) GetNode() []*NodeDef

func (*GraphDef) GetVersion deprecated

func (m *GraphDef) GetVersion() int32

Deprecated: Do not use.

func (*GraphDef) GetVersions

func (m *GraphDef) GetVersions() *VersionDef

func (*GraphDef) Marshal

func (m *GraphDef) Marshal() (dAtA []byte, err error)

func (*GraphDef) MarshalTo

func (m *GraphDef) MarshalTo(dAtA []byte) (int, error)

func (*GraphDef) ProtoMessage

func (*GraphDef) ProtoMessage()

func (*GraphDef) Reset

func (m *GraphDef) Reset()

func (*GraphDef) Size

func (m *GraphDef) Size() (n int)

func (*GraphDef) String

func (m *GraphDef) String() string

func (*GraphDef) Unmarshal

func (m *GraphDef) Unmarshal(dAtA []byte) error

func (*GraphDef) XXX_DiscardUnknown added in v0.3.1

func (m *GraphDef) XXX_DiscardUnknown()

func (*GraphDef) XXX_Marshal added in v0.3.1

func (m *GraphDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GraphDef) XXX_Merge added in v0.3.1

func (m *GraphDef) XXX_Merge(src proto.Message)

func (*GraphDef) XXX_Size added in v0.3.1

func (m *GraphDef) XXX_Size() int

func (*GraphDef) XXX_Unmarshal added in v0.3.1

func (m *GraphDef) XXX_Unmarshal(b []byte) error

type GraphOptions

type GraphOptions struct {
	// If true, use control flow to schedule the activation of Recv nodes.
	// (Currently ignored.)
	EnableRecvScheduling bool `protobuf:"varint,2,opt,name=enable_recv_scheduling,json=enableRecvScheduling,proto3" json:"enable_recv_scheduling,omitempty"`
	// Options controlling how graph is optimized.
	OptimizerOptions *OptimizerOptions `protobuf:"bytes,3,opt,name=optimizer_options,json=optimizerOptions,proto3" json:"optimizer_options,omitempty"`
	// The number of steps to run before returning a cost model detailing
	// the memory usage and performance of each node of the graph. 0 means
	// no cost model.
	BuildCostModel int64 `protobuf:"varint,4,opt,name=build_cost_model,json=buildCostModel,proto3" json:"build_cost_model,omitempty"`
	// The number of steps to skip before collecting statistics for the
	// cost model.
	BuildCostModelAfter int64 `protobuf:"varint,9,opt,name=build_cost_model_after,json=buildCostModelAfter,proto3" json:"build_cost_model_after,omitempty"`
	// Annotate each Node with Op output shape data, to the extent it can
	// be statically inferred.
	InferShapes bool `protobuf:"varint,5,opt,name=infer_shapes,json=inferShapes,proto3" json:"infer_shapes,omitempty"`
	// Only place the subgraphs that are run, rather than the entire graph.
	//
	// This is useful for interactive graph building, where one might
	// produce graphs that cannot be placed during the debugging
	// process.  In particular, it allows the client to continue work in
	// a session after adding a node to a graph whose placement
	// constraints are unsatisfiable.
	PlacePrunedGraph bool `protobuf:"varint,6,opt,name=place_pruned_graph,json=placePrunedGraph,proto3" json:"place_pruned_graph,omitempty"`
	// If true, transfer float values between processes as bfloat16.
	EnableBfloat16Sendrecv bool `` /* 130-byte string literal not displayed */
	// If > 0, record a timeline every this many steps.
	// EXPERIMENTAL: This currently has no effect in MasterSession.
	TimelineStep int32 `protobuf:"varint,8,opt,name=timeline_step,json=timelineStep,proto3" json:"timeline_step,omitempty"`
	// Options that control the type and amount of graph rewriting.
	// Not currently configurable via the public Python API (i.e. there is no API
	// stability guarantee if you import RewriterConfig explicitly).
	RewriteOptions *RewriterConfig `protobuf:"bytes,10,opt,name=rewrite_options,json=rewriteOptions,proto3" json:"rewrite_options,omitempty"`
}

func (*GraphOptions) Descriptor

func (*GraphOptions) Descriptor() ([]byte, []int)

func (*GraphOptions) GetBuildCostModel

func (m *GraphOptions) GetBuildCostModel() int64

func (*GraphOptions) GetBuildCostModelAfter

func (m *GraphOptions) GetBuildCostModelAfter() int64

func (*GraphOptions) GetEnableBfloat16Sendrecv

func (m *GraphOptions) GetEnableBfloat16Sendrecv() bool

func (*GraphOptions) GetEnableRecvScheduling

func (m *GraphOptions) GetEnableRecvScheduling() bool

func (*GraphOptions) GetInferShapes

func (m *GraphOptions) GetInferShapes() bool

func (*GraphOptions) GetOptimizerOptions

func (m *GraphOptions) GetOptimizerOptions() *OptimizerOptions

func (*GraphOptions) GetPlacePrunedGraph

func (m *GraphOptions) GetPlacePrunedGraph() bool

func (*GraphOptions) GetRewriteOptions

func (m *GraphOptions) GetRewriteOptions() *RewriterConfig

func (*GraphOptions) GetTimelineStep

func (m *GraphOptions) GetTimelineStep() int32

func (*GraphOptions) Marshal

func (m *GraphOptions) Marshal() (dAtA []byte, err error)

func (*GraphOptions) MarshalTo

func (m *GraphOptions) MarshalTo(dAtA []byte) (int, error)

func (*GraphOptions) ProtoMessage

func (*GraphOptions) ProtoMessage()

func (*GraphOptions) Reset

func (m *GraphOptions) Reset()

func (*GraphOptions) Size

func (m *GraphOptions) Size() (n int)

func (*GraphOptions) String

func (m *GraphOptions) String() string

func (*GraphOptions) Unmarshal

func (m *GraphOptions) Unmarshal(dAtA []byte) error

func (*GraphOptions) XXX_DiscardUnknown added in v0.3.1

func (m *GraphOptions) XXX_DiscardUnknown()

func (*GraphOptions) XXX_Marshal added in v0.3.1

func (m *GraphOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GraphOptions) XXX_Merge added in v0.3.1

func (m *GraphOptions) XXX_Merge(src proto.Message)

func (*GraphOptions) XXX_Size added in v0.3.1

func (m *GraphOptions) XXX_Size() int

func (*GraphOptions) XXX_Unmarshal added in v0.3.1

func (m *GraphOptions) XXX_Unmarshal(b []byte) error

type GraphTransferConstNodeInfo added in v0.3.1

type GraphTransferConstNodeInfo struct {
	Name   string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	NodeId int32    `protobuf:"varint,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Shape  []int64  `protobuf:"varint,3,rep,packed,name=shape,proto3" json:"shape,omitempty"`
	Data   []byte   `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	Dtype  DataType `protobuf:"varint,5,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
}

func (*GraphTransferConstNodeInfo) Descriptor added in v0.3.1

func (*GraphTransferConstNodeInfo) Descriptor() ([]byte, []int)

func (*GraphTransferConstNodeInfo) GetData added in v0.3.1

func (m *GraphTransferConstNodeInfo) GetData() []byte

func (*GraphTransferConstNodeInfo) GetDtype added in v0.3.1

func (m *GraphTransferConstNodeInfo) GetDtype() DataType

func (*GraphTransferConstNodeInfo) GetName added in v0.3.1

func (m *GraphTransferConstNodeInfo) GetName() string

func (*GraphTransferConstNodeInfo) GetNodeId added in v0.3.1

func (m *GraphTransferConstNodeInfo) GetNodeId() int32

func (*GraphTransferConstNodeInfo) GetShape added in v0.3.1

func (m *GraphTransferConstNodeInfo) GetShape() []int64

func (*GraphTransferConstNodeInfo) Marshal added in v0.3.1

func (m *GraphTransferConstNodeInfo) Marshal() (dAtA []byte, err error)

func (*GraphTransferConstNodeInfo) MarshalTo added in v0.3.1

func (m *GraphTransferConstNodeInfo) MarshalTo(dAtA []byte) (int, error)

func (*GraphTransferConstNodeInfo) ProtoMessage added in v0.3.1

func (*GraphTransferConstNodeInfo) ProtoMessage()

func (*GraphTransferConstNodeInfo) Reset added in v0.3.1

func (m *GraphTransferConstNodeInfo) Reset()

func (*GraphTransferConstNodeInfo) Size added in v0.3.1

func (m *GraphTransferConstNodeInfo) Size() (n int)

func (*GraphTransferConstNodeInfo) String added in v0.3.1

func (m *GraphTransferConstNodeInfo) String() string

func (*GraphTransferConstNodeInfo) Unmarshal added in v0.3.1

func (m *GraphTransferConstNodeInfo) Unmarshal(dAtA []byte) error

func (*GraphTransferConstNodeInfo) XXX_DiscardUnknown added in v0.3.1

func (m *GraphTransferConstNodeInfo) XXX_DiscardUnknown()

func (*GraphTransferConstNodeInfo) XXX_Marshal added in v0.3.1

func (m *GraphTransferConstNodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GraphTransferConstNodeInfo) XXX_Merge added in v0.3.1

func (m *GraphTransferConstNodeInfo) XXX_Merge(src proto.Message)

func (*GraphTransferConstNodeInfo) XXX_Size added in v0.3.1

func (m *GraphTransferConstNodeInfo) XXX_Size() int

func (*GraphTransferConstNodeInfo) XXX_Unmarshal added in v0.3.1

func (m *GraphTransferConstNodeInfo) XXX_Unmarshal(b []byte) error

type GraphTransferGraphInputNodeInfo added in v0.3.1

type GraphTransferGraphInputNodeInfo struct {
	Name  string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Shape []int64  `protobuf:"varint,2,rep,packed,name=shape,proto3" json:"shape,omitempty"`
	Dtype DataType `protobuf:"varint,3,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
}

func (*GraphTransferGraphInputNodeInfo) Descriptor added in v0.3.1

func (*GraphTransferGraphInputNodeInfo) Descriptor() ([]byte, []int)

func (*GraphTransferGraphInputNodeInfo) GetDtype added in v0.3.1

func (*GraphTransferGraphInputNodeInfo) GetName added in v0.3.1

func (*GraphTransferGraphInputNodeInfo) GetShape added in v0.3.1

func (m *GraphTransferGraphInputNodeInfo) GetShape() []int64

func (*GraphTransferGraphInputNodeInfo) Marshal added in v0.3.1

func (m *GraphTransferGraphInputNodeInfo) Marshal() (dAtA []byte, err error)

func (*GraphTransferGraphInputNodeInfo) MarshalTo added in v0.3.1

func (m *GraphTransferGraphInputNodeInfo) MarshalTo(dAtA []byte) (int, error)

func (*GraphTransferGraphInputNodeInfo) ProtoMessage added in v0.3.1

func (*GraphTransferGraphInputNodeInfo) ProtoMessage()

func (*GraphTransferGraphInputNodeInfo) Reset added in v0.3.1

func (*GraphTransferGraphInputNodeInfo) Size added in v0.3.1

func (m *GraphTransferGraphInputNodeInfo) Size() (n int)

func (*GraphTransferGraphInputNodeInfo) String added in v0.3.1

func (*GraphTransferGraphInputNodeInfo) Unmarshal added in v0.3.1

func (m *GraphTransferGraphInputNodeInfo) Unmarshal(dAtA []byte) error

func (*GraphTransferGraphInputNodeInfo) XXX_DiscardUnknown added in v0.3.1

func (m *GraphTransferGraphInputNodeInfo) XXX_DiscardUnknown()

func (*GraphTransferGraphInputNodeInfo) XXX_Marshal added in v0.3.1

func (m *GraphTransferGraphInputNodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GraphTransferGraphInputNodeInfo) XXX_Merge added in v0.3.1

func (m *GraphTransferGraphInputNodeInfo) XXX_Merge(src proto.Message)

func (*GraphTransferGraphInputNodeInfo) XXX_Size added in v0.3.1

func (m *GraphTransferGraphInputNodeInfo) XXX_Size() int

func (*GraphTransferGraphInputNodeInfo) XXX_Unmarshal added in v0.3.1

func (m *GraphTransferGraphInputNodeInfo) XXX_Unmarshal(b []byte) error

type GraphTransferGraphOutputNodeInfo added in v0.3.1

type GraphTransferGraphOutputNodeInfo struct {
	Name  string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Shape []int64  `protobuf:"varint,2,rep,packed,name=shape,proto3" json:"shape,omitempty"`
	Dtype DataType `protobuf:"varint,3,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
}

func (*GraphTransferGraphOutputNodeInfo) Descriptor added in v0.3.1

func (*GraphTransferGraphOutputNodeInfo) Descriptor() ([]byte, []int)

func (*GraphTransferGraphOutputNodeInfo) GetDtype added in v0.3.1

func (*GraphTransferGraphOutputNodeInfo) GetName added in v0.3.1

func (*GraphTransferGraphOutputNodeInfo) GetShape added in v0.3.1

func (m *GraphTransferGraphOutputNodeInfo) GetShape() []int64

func (*GraphTransferGraphOutputNodeInfo) Marshal added in v0.3.1

func (m *GraphTransferGraphOutputNodeInfo) Marshal() (dAtA []byte, err error)

func (*GraphTransferGraphOutputNodeInfo) MarshalTo added in v0.3.1

func (m *GraphTransferGraphOutputNodeInfo) MarshalTo(dAtA []byte) (int, error)

func (*GraphTransferGraphOutputNodeInfo) ProtoMessage added in v0.3.1

func (*GraphTransferGraphOutputNodeInfo) ProtoMessage()

func (*GraphTransferGraphOutputNodeInfo) Reset added in v0.3.1

func (*GraphTransferGraphOutputNodeInfo) Size added in v0.3.1

func (m *GraphTransferGraphOutputNodeInfo) Size() (n int)

func (*GraphTransferGraphOutputNodeInfo) String added in v0.3.1

func (*GraphTransferGraphOutputNodeInfo) Unmarshal added in v0.3.1

func (m *GraphTransferGraphOutputNodeInfo) Unmarshal(dAtA []byte) error

func (*GraphTransferGraphOutputNodeInfo) XXX_DiscardUnknown added in v0.3.1

func (m *GraphTransferGraphOutputNodeInfo) XXX_DiscardUnknown()

func (*GraphTransferGraphOutputNodeInfo) XXX_Marshal added in v0.3.1

func (m *GraphTransferGraphOutputNodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GraphTransferGraphOutputNodeInfo) XXX_Merge added in v0.3.1

func (*GraphTransferGraphOutputNodeInfo) XXX_Size added in v0.3.1

func (m *GraphTransferGraphOutputNodeInfo) XXX_Size() int

func (*GraphTransferGraphOutputNodeInfo) XXX_Unmarshal added in v0.3.1

func (m *GraphTransferGraphOutputNodeInfo) XXX_Unmarshal(b []byte) error

type GraphTransferInfo

type GraphTransferInfo struct {
	NodeInfo       []*GraphTransferNodeInfo       `protobuf:"bytes,1,rep,name=node_info,json=nodeInfo,proto3" json:"node_info,omitempty"`
	ConstNodeInfo  []*GraphTransferConstNodeInfo  `protobuf:"bytes,2,rep,name=const_node_info,json=constNodeInfo,proto3" json:"const_node_info,omitempty"`
	NodeInputInfo  []*GraphTransferNodeInputInfo  `protobuf:"bytes,3,rep,name=node_input_info,json=nodeInputInfo,proto3" json:"node_input_info,omitempty"`
	NodeOutputInfo []*GraphTransferNodeOutputInfo `protobuf:"bytes,4,rep,name=node_output_info,json=nodeOutputInfo,proto3" json:"node_output_info,omitempty"`
	// Input Node parameters of transferred graph
	GraphInputNodeInfo  []*GraphTransferGraphInputNodeInfo  `protobuf:"bytes,5,rep,name=graph_input_node_info,json=graphInputNodeInfo,proto3" json:"graph_input_node_info,omitempty"`
	GraphOutputNodeInfo []*GraphTransferGraphOutputNodeInfo `protobuf:"bytes,6,rep,name=graph_output_node_info,json=graphOutputNodeInfo,proto3" json:"graph_output_node_info,omitempty"`
	// Destination of graph transfer
	Destination GraphTransferInfo_Destination `protobuf:"varint,7,opt,name=destination,proto3,enum=tensorflow.GraphTransferInfo_Destination" json:"destination,omitempty"`
}

Protocol buffer representing a handle to a tensorflow resource. Handles are not valid across executions, but can be serialized back and forth from within a single run.

func (*GraphTransferInfo) Descriptor

func (*GraphTransferInfo) Descriptor() ([]byte, []int)

func (*GraphTransferInfo) GetConstNodeInfo

func (m *GraphTransferInfo) GetConstNodeInfo() []*GraphTransferConstNodeInfo

func (*GraphTransferInfo) GetDestination

func (*GraphTransferInfo) GetGraphInputNodeInfo

func (m *GraphTransferInfo) GetGraphInputNodeInfo() []*GraphTransferGraphInputNodeInfo

func (*GraphTransferInfo) GetGraphOutputNodeInfo

func (m *GraphTransferInfo) GetGraphOutputNodeInfo() []*GraphTransferGraphOutputNodeInfo

func (*GraphTransferInfo) GetNodeInfo

func (m *GraphTransferInfo) GetNodeInfo() []*GraphTransferNodeInfo

func (*GraphTransferInfo) GetNodeInputInfo

func (m *GraphTransferInfo) GetNodeInputInfo() []*GraphTransferNodeInputInfo

func (*GraphTransferInfo) GetNodeOutputInfo

func (m *GraphTransferInfo) GetNodeOutputInfo() []*GraphTransferNodeOutputInfo

func (*GraphTransferInfo) Marshal

func (m *GraphTransferInfo) Marshal() (dAtA []byte, err error)

func (*GraphTransferInfo) MarshalTo

func (m *GraphTransferInfo) MarshalTo(dAtA []byte) (int, error)

func (*GraphTransferInfo) ProtoMessage

func (*GraphTransferInfo) ProtoMessage()

func (*GraphTransferInfo) Reset

func (m *GraphTransferInfo) Reset()

func (*GraphTransferInfo) Size

func (m *GraphTransferInfo) Size() (n int)

func (*GraphTransferInfo) String

func (m *GraphTransferInfo) String() string

func (*GraphTransferInfo) Unmarshal

func (m *GraphTransferInfo) Unmarshal(dAtA []byte) error

func (*GraphTransferInfo) XXX_DiscardUnknown added in v0.3.1

func (m *GraphTransferInfo) XXX_DiscardUnknown()

func (*GraphTransferInfo) XXX_Marshal added in v0.3.1

func (m *GraphTransferInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GraphTransferInfo) XXX_Merge added in v0.3.1

func (m *GraphTransferInfo) XXX_Merge(src proto.Message)

func (*GraphTransferInfo) XXX_Size added in v0.3.1

func (m *GraphTransferInfo) XXX_Size() int

func (*GraphTransferInfo) XXX_Unmarshal added in v0.3.1

func (m *GraphTransferInfo) XXX_Unmarshal(b []byte) error

type GraphTransferInfo_Destination

type GraphTransferInfo_Destination int32
const (
	GraphTransferInfo_NOP     GraphTransferInfo_Destination = 0
	GraphTransferInfo_HEXAGON GraphTransferInfo_Destination = 1
)

func (GraphTransferInfo_Destination) EnumDescriptor

func (GraphTransferInfo_Destination) EnumDescriptor() ([]byte, []int)

func (GraphTransferInfo_Destination) String

type GraphTransferNodeInfo added in v0.3.1

type GraphTransferNodeInfo struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	NodeId      int32  `protobuf:"varint,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	TypeName    string `protobuf:"bytes,3,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
	SocOpId     int32  `protobuf:"varint,4,opt,name=soc_op_id,json=socOpId,proto3" json:"soc_op_id,omitempty"`
	PaddingId   int32  `protobuf:"varint,5,opt,name=padding_id,json=paddingId,proto3" json:"padding_id,omitempty"`
	InputCount  int32  `protobuf:"varint,6,opt,name=input_count,json=inputCount,proto3" json:"input_count,omitempty"`
	OutputCount int32  `protobuf:"varint,7,opt,name=output_count,json=outputCount,proto3" json:"output_count,omitempty"`
}

func (*GraphTransferNodeInfo) Descriptor added in v0.3.1

func (*GraphTransferNodeInfo) Descriptor() ([]byte, []int)

func (*GraphTransferNodeInfo) GetInputCount added in v0.3.1

func (m *GraphTransferNodeInfo) GetInputCount() int32

func (*GraphTransferNodeInfo) GetName added in v0.3.1

func (m *GraphTransferNodeInfo) GetName() string

func (*GraphTransferNodeInfo) GetNodeId added in v0.3.1

func (m *GraphTransferNodeInfo) GetNodeId() int32

func (*GraphTransferNodeInfo) GetOutputCount added in v0.3.1

func (m *GraphTransferNodeInfo) GetOutputCount() int32

func (*GraphTransferNodeInfo) GetPaddingId added in v0.3.1

func (m *GraphTransferNodeInfo) GetPaddingId() int32

func (*GraphTransferNodeInfo) GetSocOpId added in v0.3.1

func (m *GraphTransferNodeInfo) GetSocOpId() int32

func (*GraphTransferNodeInfo) GetTypeName added in v0.3.1

func (m *GraphTransferNodeInfo) GetTypeName() string

func (*GraphTransferNodeInfo) Marshal added in v0.3.1

func (m *GraphTransferNodeInfo) Marshal() (dAtA []byte, err error)

func (*GraphTransferNodeInfo) MarshalTo added in v0.3.1

func (m *GraphTransferNodeInfo) MarshalTo(dAtA []byte) (int, error)

func (*GraphTransferNodeInfo) ProtoMessage added in v0.3.1

func (*GraphTransferNodeInfo) ProtoMessage()

func (*GraphTransferNodeInfo) Reset added in v0.3.1

func (m *GraphTransferNodeInfo) Reset()

func (*GraphTransferNodeInfo) Size added in v0.3.1

func (m *GraphTransferNodeInfo) Size() (n int)

func (*GraphTransferNodeInfo) String added in v0.3.1

func (m *GraphTransferNodeInfo) String() string

func (*GraphTransferNodeInfo) Unmarshal added in v0.3.1

func (m *GraphTransferNodeInfo) Unmarshal(dAtA []byte) error

func (*GraphTransferNodeInfo) XXX_DiscardUnknown added in v0.3.1

func (m *GraphTransferNodeInfo) XXX_DiscardUnknown()

func (*GraphTransferNodeInfo) XXX_Marshal added in v0.3.1

func (m *GraphTransferNodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GraphTransferNodeInfo) XXX_Merge added in v0.3.1

func (m *GraphTransferNodeInfo) XXX_Merge(src proto.Message)

func (*GraphTransferNodeInfo) XXX_Size added in v0.3.1

func (m *GraphTransferNodeInfo) XXX_Size() int

func (*GraphTransferNodeInfo) XXX_Unmarshal added in v0.3.1

func (m *GraphTransferNodeInfo) XXX_Unmarshal(b []byte) error

type GraphTransferNodeInput added in v0.3.1

type GraphTransferNodeInput struct {
	NodeId     int32 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	OutputPort int32 `protobuf:"varint,2,opt,name=output_port,json=outputPort,proto3" json:"output_port,omitempty"`
}

func (*GraphTransferNodeInput) Descriptor added in v0.3.1

func (*GraphTransferNodeInput) Descriptor() ([]byte, []int)

func (*GraphTransferNodeInput) GetNodeId added in v0.3.1

func (m *GraphTransferNodeInput) GetNodeId() int32

func (*GraphTransferNodeInput) GetOutputPort added in v0.3.1

func (m *GraphTransferNodeInput) GetOutputPort() int32

func (*GraphTransferNodeInput) Marshal added in v0.3.1

func (m *GraphTransferNodeInput) Marshal() (dAtA []byte, err error)

func (*GraphTransferNodeInput) MarshalTo added in v0.3.1

func (m *GraphTransferNodeInput) MarshalTo(dAtA []byte) (int, error)

func (*GraphTransferNodeInput) ProtoMessage added in v0.3.1

func (*GraphTransferNodeInput) ProtoMessage()

func (*GraphTransferNodeInput) Reset added in v0.3.1

func (m *GraphTransferNodeInput) Reset()

func (*GraphTransferNodeInput) Size added in v0.3.1

func (m *GraphTransferNodeInput) Size() (n int)

func (*GraphTransferNodeInput) String added in v0.3.1

func (m *GraphTransferNodeInput) String() string

func (*GraphTransferNodeInput) Unmarshal added in v0.3.1

func (m *GraphTransferNodeInput) Unmarshal(dAtA []byte) error

func (*GraphTransferNodeInput) XXX_DiscardUnknown added in v0.3.1

func (m *GraphTransferNodeInput) XXX_DiscardUnknown()

func (*GraphTransferNodeInput) XXX_Marshal added in v0.3.1

func (m *GraphTransferNodeInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GraphTransferNodeInput) XXX_Merge added in v0.3.1

func (m *GraphTransferNodeInput) XXX_Merge(src proto.Message)

func (*GraphTransferNodeInput) XXX_Size added in v0.3.1

func (m *GraphTransferNodeInput) XXX_Size() int

func (*GraphTransferNodeInput) XXX_Unmarshal added in v0.3.1

func (m *GraphTransferNodeInput) XXX_Unmarshal(b []byte) error

type GraphTransferNodeInputInfo added in v0.3.1

type GraphTransferNodeInputInfo struct {
	NodeId    int32                     `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeInput []*GraphTransferNodeInput `protobuf:"bytes,2,rep,name=node_input,json=nodeInput,proto3" json:"node_input,omitempty"`
}

func (*GraphTransferNodeInputInfo) Descriptor added in v0.3.1

func (*GraphTransferNodeInputInfo) Descriptor() ([]byte, []int)

func (*GraphTransferNodeInputInfo) GetNodeId added in v0.3.1

func (m *GraphTransferNodeInputInfo) GetNodeId() int32

func (*GraphTransferNodeInputInfo) GetNodeInput added in v0.3.1

func (*GraphTransferNodeInputInfo) Marshal added in v0.3.1

func (m *GraphTransferNodeInputInfo) Marshal() (dAtA []byte, err error)

func (*GraphTransferNodeInputInfo) MarshalTo added in v0.3.1

func (m *GraphTransferNodeInputInfo) MarshalTo(dAtA []byte) (int, error)

func (*GraphTransferNodeInputInfo) ProtoMessage added in v0.3.1

func (*GraphTransferNodeInputInfo) ProtoMessage()

func (*GraphTransferNodeInputInfo) Reset added in v0.3.1

func (m *GraphTransferNodeInputInfo) Reset()

func (*GraphTransferNodeInputInfo) Size added in v0.3.1

func (m *GraphTransferNodeInputInfo) Size() (n int)

func (*GraphTransferNodeInputInfo) String added in v0.3.1

func (m *GraphTransferNodeInputInfo) String() string

func (*GraphTransferNodeInputInfo) Unmarshal added in v0.3.1

func (m *GraphTransferNodeInputInfo) Unmarshal(dAtA []byte) error

func (*GraphTransferNodeInputInfo) XXX_DiscardUnknown added in v0.3.1

func (m *GraphTransferNodeInputInfo) XXX_DiscardUnknown()

func (*GraphTransferNodeInputInfo) XXX_Marshal added in v0.3.1

func (m *GraphTransferNodeInputInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GraphTransferNodeInputInfo) XXX_Merge added in v0.3.1

func (m *GraphTransferNodeInputInfo) XXX_Merge(src proto.Message)

func (*GraphTransferNodeInputInfo) XXX_Size added in v0.3.1

func (m *GraphTransferNodeInputInfo) XXX_Size() int

func (*GraphTransferNodeInputInfo) XXX_Unmarshal added in v0.3.1

func (m *GraphTransferNodeInputInfo) XXX_Unmarshal(b []byte) error

type GraphTransferNodeOutputInfo added in v0.3.1

type GraphTransferNodeOutputInfo struct {
	NodeId      int32   `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	MaxByteSize []int32 `protobuf:"varint,2,rep,packed,name=max_byte_size,json=maxByteSize,proto3" json:"max_byte_size,omitempty"`
}

func (*GraphTransferNodeOutputInfo) Descriptor added in v0.3.1

func (*GraphTransferNodeOutputInfo) Descriptor() ([]byte, []int)

func (*GraphTransferNodeOutputInfo) GetMaxByteSize added in v0.3.1

func (m *GraphTransferNodeOutputInfo) GetMaxByteSize() []int32

func (*GraphTransferNodeOutputInfo) GetNodeId added in v0.3.1

func (m *GraphTransferNodeOutputInfo) GetNodeId() int32

func (*GraphTransferNodeOutputInfo) Marshal added in v0.3.1

func (m *GraphTransferNodeOutputInfo) Marshal() (dAtA []byte, err error)

func (*GraphTransferNodeOutputInfo) MarshalTo added in v0.3.1

func (m *GraphTransferNodeOutputInfo) MarshalTo(dAtA []byte) (int, error)

func (*GraphTransferNodeOutputInfo) ProtoMessage added in v0.3.1

func (*GraphTransferNodeOutputInfo) ProtoMessage()

func (*GraphTransferNodeOutputInfo) Reset added in v0.3.1

func (m *GraphTransferNodeOutputInfo) Reset()

func (*GraphTransferNodeOutputInfo) Size added in v0.3.1

func (m *GraphTransferNodeOutputInfo) Size() (n int)

func (*GraphTransferNodeOutputInfo) String added in v0.3.1

func (m *GraphTransferNodeOutputInfo) String() string

func (*GraphTransferNodeOutputInfo) Unmarshal added in v0.3.1

func (m *GraphTransferNodeOutputInfo) Unmarshal(dAtA []byte) error

func (*GraphTransferNodeOutputInfo) XXX_DiscardUnknown added in v0.3.1

func (m *GraphTransferNodeOutputInfo) XXX_DiscardUnknown()

func (*GraphTransferNodeOutputInfo) XXX_Marshal added in v0.3.1

func (m *GraphTransferNodeOutputInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GraphTransferNodeOutputInfo) XXX_Merge added in v0.3.1

func (m *GraphTransferNodeOutputInfo) XXX_Merge(src proto.Message)

func (*GraphTransferNodeOutputInfo) XXX_Size added in v0.3.1

func (m *GraphTransferNodeOutputInfo) XXX_Size() int

func (*GraphTransferNodeOutputInfo) XXX_Unmarshal added in v0.3.1

func (m *GraphTransferNodeOutputInfo) XXX_Unmarshal(b []byte) error

type HistogramProto

type HistogramProto struct {
	Min        float64 `protobuf:"fixed64,1,opt,name=min,proto3" json:"min,omitempty"`
	Max        float64 `protobuf:"fixed64,2,opt,name=max,proto3" json:"max,omitempty"`
	Num        float64 `protobuf:"fixed64,3,opt,name=num,proto3" json:"num,omitempty"`
	Sum        float64 `protobuf:"fixed64,4,opt,name=sum,proto3" json:"sum,omitempty"`
	SumSquares float64 `protobuf:"fixed64,5,opt,name=sum_squares,json=sumSquares,proto3" json:"sum_squares,omitempty"`
	// Parallel arrays encoding the bucket boundaries and the bucket values.
	// bucket(i) is the count for the bucket i.  The range for
	// a bucket is:
	//   i == 0:  -DBL_MAX .. bucket_limit(0)
	//   i != 0:  bucket_limit(i-1) .. bucket_limit(i)
	BucketLimit []float64 `protobuf:"fixed64,6,rep,packed,name=bucket_limit,json=bucketLimit,proto3" json:"bucket_limit,omitempty"`
	Bucket      []float64 `protobuf:"fixed64,7,rep,packed,name=bucket,proto3" json:"bucket,omitempty"`
}

Serialization format for histogram module in core/lib/histogram/histogram.h

func (*HistogramProto) Descriptor

func (*HistogramProto) Descriptor() ([]byte, []int)

func (*HistogramProto) GetBucket

func (m *HistogramProto) GetBucket() []float64

func (*HistogramProto) GetBucketLimit

func (m *HistogramProto) GetBucketLimit() []float64

func (*HistogramProto) GetMax

func (m *HistogramProto) GetMax() float64

func (*HistogramProto) GetMin

func (m *HistogramProto) GetMin() float64

func (*HistogramProto) GetNum

func (m *HistogramProto) GetNum() float64

func (*HistogramProto) GetSum

func (m *HistogramProto) GetSum() float64

func (*HistogramProto) GetSumSquares

func (m *HistogramProto) GetSumSquares() float64

func (*HistogramProto) Marshal

func (m *HistogramProto) Marshal() (dAtA []byte, err error)

func (*HistogramProto) MarshalTo

func (m *HistogramProto) MarshalTo(dAtA []byte) (int, error)

func (*HistogramProto) ProtoMessage

func (*HistogramProto) ProtoMessage()

func (*HistogramProto) Reset

func (m *HistogramProto) Reset()

func (*HistogramProto) Size

func (m *HistogramProto) Size() (n int)

func (*HistogramProto) String

func (m *HistogramProto) String() string

func (*HistogramProto) Unmarshal

func (m *HistogramProto) Unmarshal(dAtA []byte) error

func (*HistogramProto) XXX_DiscardUnknown added in v0.3.1

func (m *HistogramProto) XXX_DiscardUnknown()

func (*HistogramProto) XXX_Marshal added in v0.3.1

func (m *HistogramProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HistogramProto) XXX_Merge added in v0.3.1

func (m *HistogramProto) XXX_Merge(src proto.Message)

func (*HistogramProto) XXX_Size added in v0.3.1

func (m *HistogramProto) XXX_Size() int

func (*HistogramProto) XXX_Unmarshal added in v0.3.1

func (m *HistogramProto) XXX_Unmarshal(b []byte) error
type InterconnectLink struct {
	DeviceId int32  `protobuf:"varint,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Type     string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Strength int32  `protobuf:"varint,3,opt,name=strength,proto3" json:"strength,omitempty"`
}

func (*InterconnectLink) Descriptor added in v0.3.1

func (*InterconnectLink) Descriptor() ([]byte, []int)

func (*InterconnectLink) GetDeviceId added in v0.3.1

func (m *InterconnectLink) GetDeviceId() int32

func (*InterconnectLink) GetStrength added in v0.3.1

func (m *InterconnectLink) GetStrength() int32

func (*InterconnectLink) GetType added in v0.3.1

func (m *InterconnectLink) GetType() string

func (*InterconnectLink) Marshal added in v0.3.1

func (m *InterconnectLink) Marshal() (dAtA []byte, err error)

func (*InterconnectLink) MarshalTo added in v0.3.1

func (m *InterconnectLink) MarshalTo(dAtA []byte) (int, error)

func (*InterconnectLink) ProtoMessage added in v0.3.1

func (*InterconnectLink) ProtoMessage()

func (*InterconnectLink) Reset added in v0.3.1

func (m *InterconnectLink) Reset()

func (*InterconnectLink) Size added in v0.3.1

func (m *InterconnectLink) Size() (n int)

func (*InterconnectLink) String added in v0.3.1

func (m *InterconnectLink) String() string

func (*InterconnectLink) Unmarshal added in v0.3.1

func (m *InterconnectLink) Unmarshal(dAtA []byte) error

func (*InterconnectLink) XXX_DiscardUnknown added in v0.3.1

func (m *InterconnectLink) XXX_DiscardUnknown()

func (*InterconnectLink) XXX_Marshal added in v0.3.1

func (m *InterconnectLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InterconnectLink) XXX_Merge added in v0.3.1

func (m *InterconnectLink) XXX_Merge(src proto.Message)

func (*InterconnectLink) XXX_Size added in v0.3.1

func (m *InterconnectLink) XXX_Size() int

func (*InterconnectLink) XXX_Unmarshal added in v0.3.1

func (m *InterconnectLink) XXX_Unmarshal(b []byte) error

type IteratorStateMetadata added in v0.3.1

type IteratorStateMetadata struct {
	// A user-specified version string.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Keys for tensors in the VariantTensorDataProto.
	Keys []string `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"`
}

Protocol buffer representing the metadata for an iterator's state stored as a Variant tensor.

func (*IteratorStateMetadata) Descriptor added in v0.3.1

func (*IteratorStateMetadata) Descriptor() ([]byte, []int)

func (*IteratorStateMetadata) GetKeys added in v0.3.1

func (m *IteratorStateMetadata) GetKeys() []string

func (*IteratorStateMetadata) GetVersion added in v0.3.1

func (m *IteratorStateMetadata) GetVersion() string

func (*IteratorStateMetadata) Marshal added in v0.3.1

func (m *IteratorStateMetadata) Marshal() (dAtA []byte, err error)

func (*IteratorStateMetadata) MarshalTo added in v0.3.1

func (m *IteratorStateMetadata) MarshalTo(dAtA []byte) (int, error)

func (*IteratorStateMetadata) ProtoMessage added in v0.3.1

func (*IteratorStateMetadata) ProtoMessage()

func (*IteratorStateMetadata) Reset added in v0.3.1

func (m *IteratorStateMetadata) Reset()

func (*IteratorStateMetadata) Size added in v0.3.1

func (m *IteratorStateMetadata) Size() (n int)

func (*IteratorStateMetadata) String added in v0.3.1

func (m *IteratorStateMetadata) String() string

func (*IteratorStateMetadata) Unmarshal added in v0.3.1

func (m *IteratorStateMetadata) Unmarshal(dAtA []byte) error

func (*IteratorStateMetadata) XXX_DiscardUnknown added in v0.3.1

func (m *IteratorStateMetadata) XXX_DiscardUnknown()

func (*IteratorStateMetadata) XXX_Marshal added in v0.3.1

func (m *IteratorStateMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IteratorStateMetadata) XXX_Merge added in v0.3.1

func (m *IteratorStateMetadata) XXX_Merge(src proto.Message)

func (*IteratorStateMetadata) XXX_Size added in v0.3.1

func (m *IteratorStateMetadata) XXX_Size() int

func (*IteratorStateMetadata) XXX_Unmarshal added in v0.3.1

func (m *IteratorStateMetadata) XXX_Unmarshal(b []byte) error

type JobDef

type JobDef struct {
	// The name of this job.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Mapping from task ID to "hostname:port" string.
	//
	// If the `name` field contains "worker", and the `tasks` map contains a
	// mapping from 7 to "example.org:2222", then the device prefix
	// "/job:worker/task:7" will be assigned to "example.org:2222".
	Tasks map[int32]string `` /* 152-byte string literal not displayed */
}

Defines a single job in a TensorFlow cluster.

func (*JobDef) Descriptor

func (*JobDef) Descriptor() ([]byte, []int)

func (*JobDef) GetName

func (m *JobDef) GetName() string

func (*JobDef) GetTasks

func (m *JobDef) GetTasks() map[int32]string

func (*JobDef) Marshal

func (m *JobDef) Marshal() (dAtA []byte, err error)

func (*JobDef) MarshalTo

func (m *JobDef) MarshalTo(dAtA []byte) (int, error)

func (*JobDef) ProtoMessage

func (*JobDef) ProtoMessage()

func (*JobDef) Reset

func (m *JobDef) Reset()

func (*JobDef) Size

func (m *JobDef) Size() (n int)

func (*JobDef) String

func (m *JobDef) String() string

func (*JobDef) Unmarshal

func (m *JobDef) Unmarshal(dAtA []byte) error

func (*JobDef) XXX_DiscardUnknown added in v0.3.1

func (m *JobDef) XXX_DiscardUnknown()

func (*JobDef) XXX_Marshal added in v0.3.1

func (m *JobDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JobDef) XXX_Merge added in v0.3.1

func (m *JobDef) XXX_Merge(src proto.Message)

func (*JobDef) XXX_Size added in v0.3.1

func (m *JobDef) XXX_Size() int

func (*JobDef) XXX_Unmarshal added in v0.3.1

func (m *JobDef) XXX_Unmarshal(b []byte) error

type KeepAliveRequest added in v0.3.1

type KeepAliveRequest struct {
	ContextId uint64 `protobuf:"fixed64,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"`
}

func (*KeepAliveRequest) Descriptor added in v0.3.1

func (*KeepAliveRequest) Descriptor() ([]byte, []int)

func (*KeepAliveRequest) GetContextId added in v0.3.1

func (m *KeepAliveRequest) GetContextId() uint64

func (*KeepAliveRequest) Marshal added in v0.3.1

func (m *KeepAliveRequest) Marshal() (dAtA []byte, err error)

func (*KeepAliveRequest) MarshalTo added in v0.3.1

func (m *KeepAliveRequest) MarshalTo(dAtA []byte) (int, error)

func (*KeepAliveRequest) ProtoMessage added in v0.3.1

func (*KeepAliveRequest) ProtoMessage()

func (*KeepAliveRequest) Reset added in v0.3.1

func (m *KeepAliveRequest) Reset()

func (*KeepAliveRequest) Size added in v0.3.1

func (m *KeepAliveRequest) Size() (n int)

func (*KeepAliveRequest) String added in v0.3.1

func (m *KeepAliveRequest) String() string

func (*KeepAliveRequest) Unmarshal added in v0.3.1

func (m *KeepAliveRequest) Unmarshal(dAtA []byte) error

func (*KeepAliveRequest) XXX_DiscardUnknown added in v0.3.1

func (m *KeepAliveRequest) XXX_DiscardUnknown()

func (*KeepAliveRequest) XXX_Marshal added in v0.3.1

func (m *KeepAliveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeepAliveRequest) XXX_Merge added in v0.3.1

func (m *KeepAliveRequest) XXX_Merge(src proto.Message)

func (*KeepAliveRequest) XXX_Size added in v0.3.1

func (m *KeepAliveRequest) XXX_Size() int

func (*KeepAliveRequest) XXX_Unmarshal added in v0.3.1

func (m *KeepAliveRequest) XXX_Unmarshal(b []byte) error

type KeepAliveResponse added in v0.3.1

type KeepAliveResponse struct {
}

func (*KeepAliveResponse) Descriptor added in v0.3.1

func (*KeepAliveResponse) Descriptor() ([]byte, []int)

func (*KeepAliveResponse) Marshal added in v0.3.1

func (m *KeepAliveResponse) Marshal() (dAtA []byte, err error)

func (*KeepAliveResponse) MarshalTo added in v0.3.1

func (m *KeepAliveResponse) MarshalTo(dAtA []byte) (int, error)

func (*KeepAliveResponse) ProtoMessage added in v0.3.1

func (*KeepAliveResponse) ProtoMessage()

func (*KeepAliveResponse) Reset added in v0.3.1

func (m *KeepAliveResponse) Reset()

func (*KeepAliveResponse) Size added in v0.3.1

func (m *KeepAliveResponse) Size() (n int)

func (*KeepAliveResponse) String added in v0.3.1

func (m *KeepAliveResponse) String() string

func (*KeepAliveResponse) Unmarshal added in v0.3.1

func (m *KeepAliveResponse) Unmarshal(dAtA []byte) error

func (*KeepAliveResponse) XXX_DiscardUnknown added in v0.3.1

func (m *KeepAliveResponse) XXX_DiscardUnknown()

func (*KeepAliveResponse) XXX_Marshal added in v0.3.1

func (m *KeepAliveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeepAliveResponse) XXX_Merge added in v0.3.1

func (m *KeepAliveResponse) XXX_Merge(src proto.Message)

func (*KeepAliveResponse) XXX_Size added in v0.3.1

func (m *KeepAliveResponse) XXX_Size() int

func (*KeepAliveResponse) XXX_Unmarshal added in v0.3.1

func (m *KeepAliveResponse) XXX_Unmarshal(b []byte) error

type KernelDef

type KernelDef struct {
	// Must match the name of an Op.
	Op string `protobuf:"bytes,1,opt,name=op,proto3" json:"op,omitempty"`
	// Type of device this kernel runs on.
	DeviceType string                      `protobuf:"bytes,2,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
	Constraint []*KernelDef_AttrConstraint `protobuf:"bytes,3,rep,name=constraint,proto3" json:"constraint,omitempty"`
	// Names of the Op's input_/output_args that reside in host memory
	// instead of device memory.
	HostMemoryArg []string `protobuf:"bytes,4,rep,name=host_memory_arg,json=hostMemoryArg,proto3" json:"host_memory_arg,omitempty"`
	// This allows experimental kernels to be registered for an op that
	// won't be used unless the user specifies a "_kernel" attr with
	// value matching this.
	Label string `protobuf:"bytes,5,opt,name=label,proto3" json:"label,omitempty"`
}

func (*KernelDef) Descriptor

func (*KernelDef) Descriptor() ([]byte, []int)

func (*KernelDef) GetConstraint

func (m *KernelDef) GetConstraint() []*KernelDef_AttrConstraint

func (*KernelDef) GetDeviceType

func (m *KernelDef) GetDeviceType() string

func (*KernelDef) GetHostMemoryArg

func (m *KernelDef) GetHostMemoryArg() []string

func (*KernelDef) GetLabel

func (m *KernelDef) GetLabel() string

func (*KernelDef) GetOp

func (m *KernelDef) GetOp() string

func (*KernelDef) Marshal

func (m *KernelDef) Marshal() (dAtA []byte, err error)

func (*KernelDef) MarshalTo

func (m *KernelDef) MarshalTo(dAtA []byte) (int, error)

func (*KernelDef) ProtoMessage

func (*KernelDef) ProtoMessage()

func (*KernelDef) Reset

func (m *KernelDef) Reset()

func (*KernelDef) Size

func (m *KernelDef) Size() (n int)

func (*KernelDef) String

func (m *KernelDef) String() string

func (*KernelDef) Unmarshal

func (m *KernelDef) Unmarshal(dAtA []byte) error

func (*KernelDef) XXX_DiscardUnknown added in v0.3.1

func (m *KernelDef) XXX_DiscardUnknown()

func (*KernelDef) XXX_Marshal added in v0.3.1

func (m *KernelDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KernelDef) XXX_Merge added in v0.3.1

func (m *KernelDef) XXX_Merge(src proto.Message)

func (*KernelDef) XXX_Size added in v0.3.1

func (m *KernelDef) XXX_Size() int

func (*KernelDef) XXX_Unmarshal added in v0.3.1

func (m *KernelDef) XXX_Unmarshal(b []byte) error

type KernelDef_AttrConstraint

type KernelDef_AttrConstraint struct {
	// Name of an attr from the Op.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A list of values that this kernel supports for this attr.
	// Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.
	AllowedValues *AttrValue `protobuf:"bytes,2,opt,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"`
}

func (*KernelDef_AttrConstraint) Descriptor

func (*KernelDef_AttrConstraint) Descriptor() ([]byte, []int)

func (*KernelDef_AttrConstraint) GetAllowedValues

func (m *KernelDef_AttrConstraint) GetAllowedValues() *AttrValue

func (*KernelDef_AttrConstraint) GetName

func (m *KernelDef_AttrConstraint) GetName() string

func (*KernelDef_AttrConstraint) Marshal

func (m *KernelDef_AttrConstraint) Marshal() (dAtA []byte, err error)

func (*KernelDef_AttrConstraint) MarshalTo

func (m *KernelDef_AttrConstraint) MarshalTo(dAtA []byte) (int, error)

func (*KernelDef_AttrConstraint) ProtoMessage

func (*KernelDef_AttrConstraint) ProtoMessage()

func (*KernelDef_AttrConstraint) Reset

func (m *KernelDef_AttrConstraint) Reset()

func (*KernelDef_AttrConstraint) Size

func (m *KernelDef_AttrConstraint) Size() (n int)

func (*KernelDef_AttrConstraint) String

func (m *KernelDef_AttrConstraint) String() string

func (*KernelDef_AttrConstraint) Unmarshal

func (m *KernelDef_AttrConstraint) Unmarshal(dAtA []byte) error

func (*KernelDef_AttrConstraint) XXX_DiscardUnknown added in v0.3.1

func (m *KernelDef_AttrConstraint) XXX_DiscardUnknown()

func (*KernelDef_AttrConstraint) XXX_Marshal added in v0.3.1

func (m *KernelDef_AttrConstraint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KernelDef_AttrConstraint) XXX_Merge added in v0.3.1

func (m *KernelDef_AttrConstraint) XXX_Merge(src proto.Message)

func (*KernelDef_AttrConstraint) XXX_Size added in v0.3.1

func (m *KernelDef_AttrConstraint) XXX_Size() int

func (*KernelDef_AttrConstraint) XXX_Unmarshal added in v0.3.1

func (m *KernelDef_AttrConstraint) XXX_Unmarshal(b []byte) error

type KernelList added in v0.3.1

type KernelList struct {
	Kernel []*KernelDef `protobuf:"bytes,1,rep,name=kernel,proto3" json:"kernel,omitempty"`
}

A collection of KernelDefs

func (*KernelList) Descriptor added in v0.3.1

func (*KernelList) Descriptor() ([]byte, []int)

func (*KernelList) GetKernel added in v0.3.1

func (m *KernelList) GetKernel() []*KernelDef

func (*KernelList) Marshal added in v0.3.1

func (m *KernelList) Marshal() (dAtA []byte, err error)

func (*KernelList) MarshalTo added in v0.3.1

func (m *KernelList) MarshalTo(dAtA []byte) (int, error)

func (*KernelList) ProtoMessage added in v0.3.1

func (*KernelList) ProtoMessage()

func (*KernelList) Reset added in v0.3.1

func (m *KernelList) Reset()

func (*KernelList) Size added in v0.3.1

func (m *KernelList) Size() (n int)

func (*KernelList) String added in v0.3.1

func (m *KernelList) String() string

func (*KernelList) Unmarshal added in v0.3.1

func (m *KernelList) Unmarshal(dAtA []byte) error

func (*KernelList) XXX_DiscardUnknown added in v0.3.1

func (m *KernelList) XXX_DiscardUnknown()

func (*KernelList) XXX_Marshal added in v0.3.1

func (m *KernelList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KernelList) XXX_Merge added in v0.3.1

func (m *KernelList) XXX_Merge(src proto.Message)

func (*KernelList) XXX_Size added in v0.3.1

func (m *KernelList) XXX_Size() int

func (*KernelList) XXX_Unmarshal added in v0.3.1

func (m *KernelList) XXX_Unmarshal(b []byte) error

type LabeledStepStats

type LabeledStepStats struct {
	StepId    int64      `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	StepStats *StepStats `protobuf:"bytes,2,opt,name=step_stats,json=stepStats,proto3" json:"step_stats,omitempty"`
}

func (*LabeledStepStats) Descriptor

func (*LabeledStepStats) Descriptor() ([]byte, []int)

func (*LabeledStepStats) GetStepId

func (m *LabeledStepStats) GetStepId() int64

func (*LabeledStepStats) GetStepStats

func (m *LabeledStepStats) GetStepStats() *StepStats

func (*LabeledStepStats) Marshal

func (m *LabeledStepStats) Marshal() (dAtA []byte, err error)

func (*LabeledStepStats) MarshalTo

func (m *LabeledStepStats) MarshalTo(dAtA []byte) (int, error)

func (*LabeledStepStats) ProtoMessage

func (*LabeledStepStats) ProtoMessage()

func (*LabeledStepStats) Reset

func (m *LabeledStepStats) Reset()

func (*LabeledStepStats) Size

func (m *LabeledStepStats) Size() (n int)

func (*LabeledStepStats) String

func (m *LabeledStepStats) String() string

func (*LabeledStepStats) Unmarshal

func (m *LabeledStepStats) Unmarshal(dAtA []byte) error

func (*LabeledStepStats) XXX_DiscardUnknown added in v0.3.1

func (m *LabeledStepStats) XXX_DiscardUnknown()

func (*LabeledStepStats) XXX_Marshal added in v0.3.1

func (m *LabeledStepStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabeledStepStats) XXX_Merge added in v0.3.1

func (m *LabeledStepStats) XXX_Merge(src proto.Message)

func (*LabeledStepStats) XXX_Size added in v0.3.1

func (m *LabeledStepStats) XXX_Size() int

func (*LabeledStepStats) XXX_Unmarshal added in v0.3.1

func (m *LabeledStepStats) XXX_Unmarshal(b []byte) error

type ListDevicesRequest

type ListDevicesRequest struct {
	// Optional: session_handle must be returned by a CreateSession call to the
	// same master service.
	//
	// When session_handle is empty, the ClusterSpec provided when the master was
	// started is used to compute the available devices. If the session_handle is
	// provided but not recognized, an error is returned. Finally, if a valid
	// session_handle is provided, the cluster configuration for that session is
	// used when computing the response.
	SessionHandle string `protobuf:"bytes,1,opt,name=session_handle,json=sessionHandle,proto3" json:"session_handle,omitempty"`
}

func (*ListDevicesRequest) Descriptor

func (*ListDevicesRequest) Descriptor() ([]byte, []int)

func (*ListDevicesRequest) GetSessionHandle added in v0.3.1

func (m *ListDevicesRequest) GetSessionHandle() string

func (*ListDevicesRequest) Marshal

func (m *ListDevicesRequest) Marshal() (dAtA []byte, err error)

func (*ListDevicesRequest) MarshalTo

func (m *ListDevicesRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListDevicesRequest) ProtoMessage

func (*ListDevicesRequest) ProtoMessage()

func (*ListDevicesRequest) Reset

func (m *ListDevicesRequest) Reset()

func (*ListDevicesRequest) Size

func (m *ListDevicesRequest) Size() (n int)

func (*ListDevicesRequest) String

func (m *ListDevicesRequest) String() string

func (*ListDevicesRequest) Unmarshal

func (m *ListDevicesRequest) Unmarshal(dAtA []byte) error

func (*ListDevicesRequest) XXX_DiscardUnknown added in v0.3.1

func (m *ListDevicesRequest) XXX_DiscardUnknown()

func (*ListDevicesRequest) XXX_Marshal added in v0.3.1

func (m *ListDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDevicesRequest) XXX_Merge added in v0.3.1

func (m *ListDevicesRequest) XXX_Merge(src proto.Message)

func (*ListDevicesRequest) XXX_Size added in v0.3.1

func (m *ListDevicesRequest) XXX_Size() int

func (*ListDevicesRequest) XXX_Unmarshal added in v0.3.1

func (m *ListDevicesRequest) XXX_Unmarshal(b []byte) error

type ListDevicesResponse

type ListDevicesResponse struct {
	LocalDevice  []*DeviceAttributes `protobuf:"bytes,1,rep,name=local_device,json=localDevice,proto3" json:"local_device,omitempty"`
	RemoteDevice []*DeviceAttributes `protobuf:"bytes,2,rep,name=remote_device,json=remoteDevice,proto3" json:"remote_device,omitempty"`
}

func (*ListDevicesResponse) Descriptor

func (*ListDevicesResponse) Descriptor() ([]byte, []int)

func (*ListDevicesResponse) GetLocalDevice

func (m *ListDevicesResponse) GetLocalDevice() []*DeviceAttributes

func (*ListDevicesResponse) GetRemoteDevice

func (m *ListDevicesResponse) GetRemoteDevice() []*DeviceAttributes

func (*ListDevicesResponse) Marshal

func (m *ListDevicesResponse) Marshal() (dAtA []byte, err error)

func (*ListDevicesResponse) MarshalTo

func (m *ListDevicesResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListDevicesResponse) ProtoMessage

func (*ListDevicesResponse) ProtoMessage()

func (*ListDevicesResponse) Reset

func (m *ListDevicesResponse) Reset()

func (*ListDevicesResponse) Size

func (m *ListDevicesResponse) Size() (n int)

func (*ListDevicesResponse) String

func (m *ListDevicesResponse) String() string

func (*ListDevicesResponse) Unmarshal

func (m *ListDevicesResponse) Unmarshal(dAtA []byte) error

func (*ListDevicesResponse) XXX_DiscardUnknown added in v0.3.1

func (m *ListDevicesResponse) XXX_DiscardUnknown()

func (*ListDevicesResponse) XXX_Marshal added in v0.3.1

func (m *ListDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDevicesResponse) XXX_Merge added in v0.3.1

func (m *ListDevicesResponse) XXX_Merge(src proto.Message)

func (*ListDevicesResponse) XXX_Size added in v0.3.1

func (m *ListDevicesResponse) XXX_Size() int

func (*ListDevicesResponse) XXX_Unmarshal added in v0.3.1

func (m *ListDevicesResponse) XXX_Unmarshal(b []byte) error
type LocalLinks struct {
	Link []*InterconnectLink `protobuf:"bytes,1,rep,name=link,proto3" json:"link,omitempty"`
}

func (*LocalLinks) Descriptor added in v0.3.1

func (*LocalLinks) Descriptor() ([]byte, []int)
func (m *LocalLinks) GetLink() []*InterconnectLink

func (*LocalLinks) Marshal added in v0.3.1

func (m *LocalLinks) Marshal() (dAtA []byte, err error)

func (*LocalLinks) MarshalTo added in v0.3.1

func (m *LocalLinks) MarshalTo(dAtA []byte) (int, error)

func (*LocalLinks) ProtoMessage added in v0.3.1

func (*LocalLinks) ProtoMessage()

func (*LocalLinks) Reset added in v0.3.1

func (m *LocalLinks) Reset()

func (*LocalLinks) Size added in v0.3.1

func (m *LocalLinks) Size() (n int)

func (*LocalLinks) String added in v0.3.1

func (m *LocalLinks) String() string

func (*LocalLinks) Unmarshal added in v0.3.1

func (m *LocalLinks) Unmarshal(dAtA []byte) error

func (*LocalLinks) XXX_DiscardUnknown added in v0.3.1

func (m *LocalLinks) XXX_DiscardUnknown()

func (*LocalLinks) XXX_Marshal added in v0.3.1

func (m *LocalLinks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LocalLinks) XXX_Merge added in v0.3.1

func (m *LocalLinks) XXX_Merge(src proto.Message)

func (*LocalLinks) XXX_Size added in v0.3.1

func (m *LocalLinks) XXX_Size() int

func (*LocalLinks) XXX_Unmarshal added in v0.3.1

func (m *LocalLinks) XXX_Unmarshal(b []byte) error

type LogMessage added in v0.3.1

type LogMessage struct {
	Level   LogMessage_Level `protobuf:"varint,1,opt,name=level,proto3,enum=tensorflow.LogMessage_Level" json:"level,omitempty"`
	Message string           `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}

Protocol buffer used for logging messages to the events file.

func (*LogMessage) Descriptor added in v0.3.1

func (*LogMessage) Descriptor() ([]byte, []int)

func (*LogMessage) GetLevel added in v0.3.1

func (m *LogMessage) GetLevel() LogMessage_Level

func (*LogMessage) GetMessage added in v0.3.1

func (m *LogMessage) GetMessage() string

func (*LogMessage) Marshal added in v0.3.1

func (m *LogMessage) Marshal() (dAtA []byte, err error)

func (*LogMessage) MarshalTo added in v0.3.1

func (m *LogMessage) MarshalTo(dAtA []byte) (int, error)

func (*LogMessage) ProtoMessage added in v0.3.1

func (*LogMessage) ProtoMessage()

func (*LogMessage) Reset added in v0.3.1

func (m *LogMessage) Reset()

func (*LogMessage) Size added in v0.3.1

func (m *LogMessage) Size() (n int)

func (*LogMessage) String added in v0.3.1

func (m *LogMessage) String() string

func (*LogMessage) Unmarshal added in v0.3.1

func (m *LogMessage) Unmarshal(dAtA []byte) error

func (*LogMessage) XXX_DiscardUnknown added in v0.3.1

func (m *LogMessage) XXX_DiscardUnknown()

func (*LogMessage) XXX_Marshal added in v0.3.1

func (m *LogMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogMessage) XXX_Merge added in v0.3.1

func (m *LogMessage) XXX_Merge(src proto.Message)

func (*LogMessage) XXX_Size added in v0.3.1

func (m *LogMessage) XXX_Size() int

func (*LogMessage) XXX_Unmarshal added in v0.3.1

func (m *LogMessage) XXX_Unmarshal(b []byte) error

type LogMessage_Level added in v0.3.1

type LogMessage_Level int32
const (
	LogMessage_UNKNOWN LogMessage_Level = 0
	// Note: The logging level 10 cannot be named DEBUG. Some software
	// projects compile their C/C++ code with -DDEBUG in debug builds. So the
	// C++ code generated from this file should not have an identifier named
	// DEBUG.
	LogMessage_DEBUGGING LogMessage_Level = 10
	LogMessage_INFO      LogMessage_Level = 20
	LogMessage_WARN      LogMessage_Level = 30
	LogMessage_ERROR     LogMessage_Level = 40
	LogMessage_FATAL     LogMessage_Level = 50
)

func (LogMessage_Level) EnumDescriptor added in v0.3.1

func (LogMessage_Level) EnumDescriptor() ([]byte, []int)

func (LogMessage_Level) String added in v0.3.1

func (x LogMessage_Level) String() string

type LoggingRequest

type LoggingRequest struct {
	// If true, RPC logging will be enabled.
	EnableRpcLogging bool `protobuf:"varint,1,opt,name=enable_rpc_logging,json=enableRpcLogging,proto3" json:"enable_rpc_logging,omitempty"`
	// If true, RPC logging will be disabled.
	DisableRpcLogging bool `protobuf:"varint,4,opt,name=disable_rpc_logging,json=disableRpcLogging,proto3" json:"disable_rpc_logging,omitempty"`
	// If true, discard any saved logging data (for all steps).
	Clear bool `protobuf:"varint,2,opt,name=clear,proto3" json:"clear,omitempty"`
	// When set, requests all saved log data pertaining to the step.
	// Any log data retrieved is eliminated from the store and cannot be
	// retrieved again.
	FetchStepId []int64 `protobuf:"varint,3,rep,packed,name=fetch_step_id,json=fetchStepId,proto3" json:"fetch_step_id,omitempty"`
}

Out-of-band request to begin or end logging, or to retrieve logs for particular steps.

func (*LoggingRequest) Descriptor

func (*LoggingRequest) Descriptor() ([]byte, []int)

func (*LoggingRequest) GetClear

func (m *LoggingRequest) GetClear() bool

func (*LoggingRequest) GetDisableRpcLogging added in v0.3.1

func (m *LoggingRequest) GetDisableRpcLogging() bool

func (*LoggingRequest) GetEnableRpcLogging added in v0.3.1

func (m *LoggingRequest) GetEnableRpcLogging() bool

func (*LoggingRequest) GetFetchStepId

func (m *LoggingRequest) GetFetchStepId() []int64

func (*LoggingRequest) Marshal

func (m *LoggingRequest) Marshal() (dAtA []byte, err error)

func (*LoggingRequest) MarshalTo

func (m *LoggingRequest) MarshalTo(dAtA []byte) (int, error)

func (*LoggingRequest) ProtoMessage

func (*LoggingRequest) ProtoMessage()

func (*LoggingRequest) Reset

func (m *LoggingRequest) Reset()

func (*LoggingRequest) Size

func (m *LoggingRequest) Size() (n int)

func (*LoggingRequest) String

func (m *LoggingRequest) String() string

func (*LoggingRequest) Unmarshal

func (m *LoggingRequest) Unmarshal(dAtA []byte) error

func (*LoggingRequest) XXX_DiscardUnknown added in v0.3.1

func (m *LoggingRequest) XXX_DiscardUnknown()

func (*LoggingRequest) XXX_Marshal added in v0.3.1

func (m *LoggingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoggingRequest) XXX_Merge added in v0.3.1

func (m *LoggingRequest) XXX_Merge(src proto.Message)

func (*LoggingRequest) XXX_Size added in v0.3.1

func (m *LoggingRequest) XXX_Size() int

func (*LoggingRequest) XXX_Unmarshal added in v0.3.1

func (m *LoggingRequest) XXX_Unmarshal(b []byte) error

type LoggingResponse

type LoggingResponse struct {
	Step []*LabeledStepStats `protobuf:"bytes,1,rep,name=step,proto3" json:"step,omitempty"`
}

func (*LoggingResponse) Descriptor

func (*LoggingResponse) Descriptor() ([]byte, []int)

func (*LoggingResponse) GetStep

func (m *LoggingResponse) GetStep() []*LabeledStepStats

func (*LoggingResponse) Marshal

func (m *LoggingResponse) Marshal() (dAtA []byte, err error)

func (*LoggingResponse) MarshalTo

func (m *LoggingResponse) MarshalTo(dAtA []byte) (int, error)

func (*LoggingResponse) ProtoMessage

func (*LoggingResponse) ProtoMessage()

func (*LoggingResponse) Reset

func (m *LoggingResponse) Reset()

func (*LoggingResponse) Size

func (m *LoggingResponse) Size() (n int)

func (*LoggingResponse) String

func (m *LoggingResponse) String() string

func (*LoggingResponse) Unmarshal

func (m *LoggingResponse) Unmarshal(dAtA []byte) error

func (*LoggingResponse) XXX_DiscardUnknown added in v0.3.1

func (m *LoggingResponse) XXX_DiscardUnknown()

func (*LoggingResponse) XXX_Marshal added in v0.3.1

func (m *LoggingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoggingResponse) XXX_Merge added in v0.3.1

func (m *LoggingResponse) XXX_Merge(src proto.Message)

func (*LoggingResponse) XXX_Size added in v0.3.1

func (m *LoggingResponse) XXX_Size() int

func (*LoggingResponse) XXX_Unmarshal added in v0.3.1

func (m *LoggingResponse) XXX_Unmarshal(b []byte) error

type MakeCallableRequest added in v0.3.1

type MakeCallableRequest struct {
	// REQUIRED: session_handle must be returned by a CreateSession call
	// to the same master service.
	SessionHandle string `protobuf:"bytes,1,opt,name=session_handle,json=sessionHandle,proto3" json:"session_handle,omitempty"`
	// Options that define the behavior of the created callable.
	Options *CallableOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
}

func (*MakeCallableRequest) Descriptor added in v0.3.1

func (*MakeCallableRequest) Descriptor() ([]byte, []int)

func (*MakeCallableRequest) GetOptions added in v0.3.1

func (m *MakeCallableRequest) GetOptions() *CallableOptions

func (*MakeCallableRequest) GetSessionHandle added in v0.3.1

func (m *MakeCallableRequest) GetSessionHandle() string

func (*MakeCallableRequest) Marshal added in v0.3.1

func (m *MakeCallableRequest) Marshal() (dAtA []byte, err error)

func (*MakeCallableRequest) MarshalTo added in v0.3.1

func (m *MakeCallableRequest) MarshalTo(dAtA []byte) (int, error)

func (*MakeCallableRequest) ProtoMessage added in v0.3.1

func (*MakeCallableRequest) ProtoMessage()

func (*MakeCallableRequest) Reset added in v0.3.1

func (m *MakeCallableRequest) Reset()

func (*MakeCallableRequest) Size added in v0.3.1

func (m *MakeCallableRequest) Size() (n int)

func (*MakeCallableRequest) String added in v0.3.1

func (m *MakeCallableRequest) String() string

func (*MakeCallableRequest) Unmarshal added in v0.3.1

func (m *MakeCallableRequest) Unmarshal(dAtA []byte) error

func (*MakeCallableRequest) XXX_DiscardUnknown added in v0.3.1

func (m *MakeCallableRequest) XXX_DiscardUnknown()

func (*MakeCallableRequest) XXX_Marshal added in v0.3.1

func (m *MakeCallableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MakeCallableRequest) XXX_Merge added in v0.3.1

func (m *MakeCallableRequest) XXX_Merge(src proto.Message)

func (*MakeCallableRequest) XXX_Size added in v0.3.1

func (m *MakeCallableRequest) XXX_Size() int

func (*MakeCallableRequest) XXX_Unmarshal added in v0.3.1

func (m *MakeCallableRequest) XXX_Unmarshal(b []byte) error

type MakeCallableResponse added in v0.3.1

type MakeCallableResponse struct {
	// A handle to the created callable.
	Handle int64 `protobuf:"varint,1,opt,name=handle,proto3" json:"handle,omitempty"`
}

func (*MakeCallableResponse) Descriptor added in v0.3.1

func (*MakeCallableResponse) Descriptor() ([]byte, []int)

func (*MakeCallableResponse) GetHandle added in v0.3.1

func (m *MakeCallableResponse) GetHandle() int64

func (*MakeCallableResponse) Marshal added in v0.3.1

func (m *MakeCallableResponse) Marshal() (dAtA []byte, err error)

func (*MakeCallableResponse) MarshalTo added in v0.3.1

func (m *MakeCallableResponse) MarshalTo(dAtA []byte) (int, error)

func (*MakeCallableResponse) ProtoMessage added in v0.3.1

func (*MakeCallableResponse) ProtoMessage()

func (*MakeCallableResponse) Reset added in v0.3.1

func (m *MakeCallableResponse) Reset()

func (*MakeCallableResponse) Size added in v0.3.1

func (m *MakeCallableResponse) Size() (n int)

func (*MakeCallableResponse) String added in v0.3.1

func (m *MakeCallableResponse) String() string

func (*MakeCallableResponse) Unmarshal added in v0.3.1

func (m *MakeCallableResponse) Unmarshal(dAtA []byte) error

func (*MakeCallableResponse) XXX_DiscardUnknown added in v0.3.1

func (m *MakeCallableResponse) XXX_DiscardUnknown()

func (*MakeCallableResponse) XXX_Marshal added in v0.3.1

func (m *MakeCallableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MakeCallableResponse) XXX_Merge added in v0.3.1

func (m *MakeCallableResponse) XXX_Merge(src proto.Message)

func (*MakeCallableResponse) XXX_Size added in v0.3.1

func (m *MakeCallableResponse) XXX_Size() int

func (*MakeCallableResponse) XXX_Unmarshal added in v0.3.1

func (m *MakeCallableResponse) XXX_Unmarshal(b []byte) error

type MasterServiceClient

type MasterServiceClient interface {
	// Creates a session.
	CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*CreateSessionResponse, error)
	// Extends a session.
	ExtendSession(ctx context.Context, in *ExtendSessionRequest, opts ...grpc.CallOption) (*ExtendSessionResponse, error)
	// Prepares future partial run calls.
	PartialRunSetup(ctx context.Context, in *PartialRunSetupRequest, opts ...grpc.CallOption) (*PartialRunSetupResponse, error)
	// Drives the graph computation.
	RunStep(ctx context.Context, in *RunStepRequest, opts ...grpc.CallOption) (*RunStepResponse, error)
	// Closes a session.
	CloseSession(ctx context.Context, in *CloseSessionRequest, opts ...grpc.CallOption) (*CloseSessionResponse, error)
	// List the devices usable by the master.
	ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error)
	// Close and abandon all existing sessions.  Ongoing computations
	// will no longer affect fresh ones via the resources in containers listed in
	// the ResetRequest.  See ResetRequest for more details.
	Reset(ctx context.Context, in *ResetRequest, opts ...grpc.CallOption) (*ResetResponse, error)
	// Registers a callable for execution with RunCallable.
	MakeCallable(ctx context.Context, in *MakeCallableRequest, opts ...grpc.CallOption) (*MakeCallableResponse, error)
	// Executes a callable registered with MakeCallable.
	RunCallable(ctx context.Context, in *RunCallableRequest, opts ...grpc.CallOption) (*RunCallableResponse, error)
	// Frees resources associated with a callable registered with MakeCallable.
	ReleaseCallable(ctx context.Context, in *ReleaseCallableRequest, opts ...grpc.CallOption) (*ReleaseCallableResponse, error)
}

MasterServiceClient is the client API for MasterService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMasterServiceClient

func NewMasterServiceClient(cc *grpc.ClientConn) MasterServiceClient

type MasterServiceServer

type MasterServiceServer interface {
	// Creates a session.
	CreateSession(context.Context, *CreateSessionRequest) (*CreateSessionResponse, error)
	// Extends a session.
	ExtendSession(context.Context, *ExtendSessionRequest) (*ExtendSessionResponse, error)
	// Prepares future partial run calls.
	PartialRunSetup(context.Context, *PartialRunSetupRequest) (*PartialRunSetupResponse, error)
	// Drives the graph computation.
	RunStep(context.Context, *RunStepRequest) (*RunStepResponse, error)
	// Closes a session.
	CloseSession(context.Context, *CloseSessionRequest) (*CloseSessionResponse, error)
	// List the devices usable by the master.
	ListDevices(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error)
	// Close and abandon all existing sessions.  Ongoing computations
	// will no longer affect fresh ones via the resources in containers listed in
	// the ResetRequest.  See ResetRequest for more details.
	Reset(context.Context, *ResetRequest) (*ResetResponse, error)
	// Registers a callable for execution with RunCallable.
	MakeCallable(context.Context, *MakeCallableRequest) (*MakeCallableResponse, error)
	// Executes a callable registered with MakeCallable.
	RunCallable(context.Context, *RunCallableRequest) (*RunCallableResponse, error)
	// Frees resources associated with a callable registered with MakeCallable.
	ReleaseCallable(context.Context, *ReleaseCallableRequest) (*ReleaseCallableResponse, error)
}

MasterServiceServer is the server API for MasterService service.

type MemoryLogRawAllocation

type MemoryLogRawAllocation struct {
	// Process-unique step id.
	StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// Name of the operation making the allocation.
	Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
	// Number of bytes in the allocation.
	NumBytes int64 `protobuf:"varint,3,opt,name=num_bytes,json=numBytes,proto3" json:"num_bytes,omitempty"`
	// Address of the allocation.
	Ptr uint64 `protobuf:"varint,4,opt,name=ptr,proto3" json:"ptr,omitempty"`
	// Id of the tensor buffer being allocated, used to match to a
	// corresponding deallocation.
	AllocationId int64 `protobuf:"varint,5,opt,name=allocation_id,json=allocationId,proto3" json:"allocation_id,omitempty"`
	// Name of the allocator used.
	AllocatorName string `protobuf:"bytes,6,opt,name=allocator_name,json=allocatorName,proto3" json:"allocator_name,omitempty"`
}

func (*MemoryLogRawAllocation) Descriptor

func (*MemoryLogRawAllocation) Descriptor() ([]byte, []int)

func (*MemoryLogRawAllocation) GetAllocationId

func (m *MemoryLogRawAllocation) GetAllocationId() int64

func (*MemoryLogRawAllocation) GetAllocatorName

func (m *MemoryLogRawAllocation) GetAllocatorName() string

func (*MemoryLogRawAllocation) GetNumBytes

func (m *MemoryLogRawAllocation) GetNumBytes() int64

func (*MemoryLogRawAllocation) GetOperation

func (m *MemoryLogRawAllocation) GetOperation() string

func (*MemoryLogRawAllocation) GetPtr

func (m *MemoryLogRawAllocation) GetPtr() uint64

func (*MemoryLogRawAllocation) GetStepId

func (m *MemoryLogRawAllocation) GetStepId() int64

func (*MemoryLogRawAllocation) Marshal

func (m *MemoryLogRawAllocation) Marshal() (dAtA []byte, err error)

func (*MemoryLogRawAllocation) MarshalTo

func (m *MemoryLogRawAllocation) MarshalTo(dAtA []byte) (int, error)

func (*MemoryLogRawAllocation) ProtoMessage

func (*MemoryLogRawAllocation) ProtoMessage()

func (*MemoryLogRawAllocation) Reset

func (m *MemoryLogRawAllocation) Reset()

func (*MemoryLogRawAllocation) Size

func (m *MemoryLogRawAllocation) Size() (n int)

func (*MemoryLogRawAllocation) String

func (m *MemoryLogRawAllocation) String() string

func (*MemoryLogRawAllocation) Unmarshal

func (m *MemoryLogRawAllocation) Unmarshal(dAtA []byte) error

func (*MemoryLogRawAllocation) XXX_DiscardUnknown added in v0.3.1

func (m *MemoryLogRawAllocation) XXX_DiscardUnknown()

func (*MemoryLogRawAllocation) XXX_Marshal added in v0.3.1

func (m *MemoryLogRawAllocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemoryLogRawAllocation) XXX_Merge added in v0.3.1

func (m *MemoryLogRawAllocation) XXX_Merge(src proto.Message)

func (*MemoryLogRawAllocation) XXX_Size added in v0.3.1

func (m *MemoryLogRawAllocation) XXX_Size() int

func (*MemoryLogRawAllocation) XXX_Unmarshal added in v0.3.1

func (m *MemoryLogRawAllocation) XXX_Unmarshal(b []byte) error

type MemoryLogRawDeallocation

type MemoryLogRawDeallocation struct {
	// Process-unique step id.
	StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// Name of the operation making the deallocation.
	Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
	// Id of the tensor buffer being deallocated, used to match to a
	// corresponding allocation.
	AllocationId int64 `protobuf:"varint,3,opt,name=allocation_id,json=allocationId,proto3" json:"allocation_id,omitempty"`
	// Name of the allocator used.
	AllocatorName string `protobuf:"bytes,4,opt,name=allocator_name,json=allocatorName,proto3" json:"allocator_name,omitempty"`
	// True if the deallocation is queued and will be performed later,
	// e.g. for GPU lazy freeing of buffers.
	Deferred bool `protobuf:"varint,5,opt,name=deferred,proto3" json:"deferred,omitempty"`
}

func (*MemoryLogRawDeallocation) Descriptor

func (*MemoryLogRawDeallocation) Descriptor() ([]byte, []int)

func (*MemoryLogRawDeallocation) GetAllocationId

func (m *MemoryLogRawDeallocation) GetAllocationId() int64

func (*MemoryLogRawDeallocation) GetAllocatorName

func (m *MemoryLogRawDeallocation) GetAllocatorName() string

func (*MemoryLogRawDeallocation) GetDeferred

func (m *MemoryLogRawDeallocation) GetDeferred() bool

func (*MemoryLogRawDeallocation) GetOperation

func (m *MemoryLogRawDeallocation) GetOperation() string

func (*MemoryLogRawDeallocation) GetStepId

func (m *MemoryLogRawDeallocation) GetStepId() int64

func (*MemoryLogRawDeallocation) Marshal

func (m *MemoryLogRawDeallocation) Marshal() (dAtA []byte, err error)

func (*MemoryLogRawDeallocation) MarshalTo

func (m *MemoryLogRawDeallocation) MarshalTo(dAtA []byte) (int, error)

func (*MemoryLogRawDeallocation) ProtoMessage

func (*MemoryLogRawDeallocation) ProtoMessage()

func (*MemoryLogRawDeallocation) Reset

func (m *MemoryLogRawDeallocation) Reset()

func (*MemoryLogRawDeallocation) Size

func (m *MemoryLogRawDeallocation) Size() (n int)

func (*MemoryLogRawDeallocation) String

func (m *MemoryLogRawDeallocation) String() string

func (*MemoryLogRawDeallocation) Unmarshal

func (m *MemoryLogRawDeallocation) Unmarshal(dAtA []byte) error

func (*MemoryLogRawDeallocation) XXX_DiscardUnknown added in v0.3.1

func (m *MemoryLogRawDeallocation) XXX_DiscardUnknown()

func (*MemoryLogRawDeallocation) XXX_Marshal added in v0.3.1

func (m *MemoryLogRawDeallocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemoryLogRawDeallocation) XXX_Merge added in v0.3.1

func (m *MemoryLogRawDeallocation) XXX_Merge(src proto.Message)

func (*MemoryLogRawDeallocation) XXX_Size added in v0.3.1

func (m *MemoryLogRawDeallocation) XXX_Size() int

func (*MemoryLogRawDeallocation) XXX_Unmarshal added in v0.3.1

func (m *MemoryLogRawDeallocation) XXX_Unmarshal(b []byte) error

type MemoryLogStep

type MemoryLogStep struct {
	// Process-unique step id.
	StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// Handle describing the feeds and fetches of the step.
	Handle string `protobuf:"bytes,2,opt,name=handle,proto3" json:"handle,omitempty"`
}

func (*MemoryLogStep) Descriptor

func (*MemoryLogStep) Descriptor() ([]byte, []int)

func (*MemoryLogStep) GetHandle

func (m *MemoryLogStep) GetHandle() string

func (*MemoryLogStep) GetStepId

func (m *MemoryLogStep) GetStepId() int64

func (*MemoryLogStep) Marshal

func (m *MemoryLogStep) Marshal() (dAtA []byte, err error)

func (*MemoryLogStep) MarshalTo

func (m *MemoryLogStep) MarshalTo(dAtA []byte) (int, error)

func (*MemoryLogStep) ProtoMessage

func (*MemoryLogStep) ProtoMessage()

func (*MemoryLogStep) Reset

func (m *MemoryLogStep) Reset()

func (*MemoryLogStep) Size

func (m *MemoryLogStep) Size() (n int)

func (*MemoryLogStep) String

func (m *MemoryLogStep) String() string

func (*MemoryLogStep) Unmarshal

func (m *MemoryLogStep) Unmarshal(dAtA []byte) error

func (*MemoryLogStep) XXX_DiscardUnknown added in v0.3.1

func (m *MemoryLogStep) XXX_DiscardUnknown()

func (*MemoryLogStep) XXX_Marshal added in v0.3.1

func (m *MemoryLogStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemoryLogStep) XXX_Merge added in v0.3.1

func (m *MemoryLogStep) XXX_Merge(src proto.Message)

func (*MemoryLogStep) XXX_Size added in v0.3.1

func (m *MemoryLogStep) XXX_Size() int

func (*MemoryLogStep) XXX_Unmarshal added in v0.3.1

func (m *MemoryLogStep) XXX_Unmarshal(b []byte) error

type MemoryLogTensorAllocation

type MemoryLogTensorAllocation struct {
	// Process-unique step id.
	StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// Name of the kernel making the allocation as set in GraphDef,
	// e.g., "affine2/weights/Assign".
	KernelName string `protobuf:"bytes,2,opt,name=kernel_name,json=kernelName,proto3" json:"kernel_name,omitempty"`
	// Allocated tensor details.
	Tensor *TensorDescription `protobuf:"bytes,3,opt,name=tensor,proto3" json:"tensor,omitempty"`
}

func (*MemoryLogTensorAllocation) Descriptor

func (*MemoryLogTensorAllocation) Descriptor() ([]byte, []int)

func (*MemoryLogTensorAllocation) GetKernelName

func (m *MemoryLogTensorAllocation) GetKernelName() string

func (*MemoryLogTensorAllocation) GetStepId

func (m *MemoryLogTensorAllocation) GetStepId() int64

func (*MemoryLogTensorAllocation) GetTensor

func (*MemoryLogTensorAllocation) Marshal

func (m *MemoryLogTensorAllocation) Marshal() (dAtA []byte, err error)

func (*MemoryLogTensorAllocation) MarshalTo

func (m *MemoryLogTensorAllocation) MarshalTo(dAtA []byte) (int, error)

func (*MemoryLogTensorAllocation) ProtoMessage

func (*MemoryLogTensorAllocation) ProtoMessage()

func (*MemoryLogTensorAllocation) Reset

func (m *MemoryLogTensorAllocation) Reset()

func (*MemoryLogTensorAllocation) Size

func (m *MemoryLogTensorAllocation) Size() (n int)

func (*MemoryLogTensorAllocation) String

func (m *MemoryLogTensorAllocation) String() string

func (*MemoryLogTensorAllocation) Unmarshal

func (m *MemoryLogTensorAllocation) Unmarshal(dAtA []byte) error

func (*MemoryLogTensorAllocation) XXX_DiscardUnknown added in v0.3.1

func (m *MemoryLogTensorAllocation) XXX_DiscardUnknown()

func (*MemoryLogTensorAllocation) XXX_Marshal added in v0.3.1

func (m *MemoryLogTensorAllocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemoryLogTensorAllocation) XXX_Merge added in v0.3.1

func (m *MemoryLogTensorAllocation) XXX_Merge(src proto.Message)

func (*MemoryLogTensorAllocation) XXX_Size added in v0.3.1

func (m *MemoryLogTensorAllocation) XXX_Size() int

func (*MemoryLogTensorAllocation) XXX_Unmarshal added in v0.3.1

func (m *MemoryLogTensorAllocation) XXX_Unmarshal(b []byte) error

type MemoryLogTensorDeallocation

type MemoryLogTensorDeallocation struct {
	// Id of the tensor buffer being deallocated, used to match to a
	// corresponding allocation.
	AllocationId int64 `protobuf:"varint,1,opt,name=allocation_id,json=allocationId,proto3" json:"allocation_id,omitempty"`
	// Name of the allocator used.
	AllocatorName string `protobuf:"bytes,2,opt,name=allocator_name,json=allocatorName,proto3" json:"allocator_name,omitempty"`
}

func (*MemoryLogTensorDeallocation) Descriptor

func (*MemoryLogTensorDeallocation) Descriptor() ([]byte, []int)

func (*MemoryLogTensorDeallocation) GetAllocationId

func (m *MemoryLogTensorDeallocation) GetAllocationId() int64

func (*MemoryLogTensorDeallocation) GetAllocatorName

func (m *MemoryLogTensorDeallocation) GetAllocatorName() string

func (*MemoryLogTensorDeallocation) Marshal

func (m *MemoryLogTensorDeallocation) Marshal() (dAtA []byte, err error)

func (*MemoryLogTensorDeallocation) MarshalTo

func (m *MemoryLogTensorDeallocation) MarshalTo(dAtA []byte) (int, error)

func (*MemoryLogTensorDeallocation) ProtoMessage

func (*MemoryLogTensorDeallocation) ProtoMessage()

func (*MemoryLogTensorDeallocation) Reset

func (m *MemoryLogTensorDeallocation) Reset()

func (*MemoryLogTensorDeallocation) Size

func (m *MemoryLogTensorDeallocation) Size() (n int)

func (*MemoryLogTensorDeallocation) String

func (m *MemoryLogTensorDeallocation) String() string

func (*MemoryLogTensorDeallocation) Unmarshal

func (m *MemoryLogTensorDeallocation) Unmarshal(dAtA []byte) error

func (*MemoryLogTensorDeallocation) XXX_DiscardUnknown added in v0.3.1

func (m *MemoryLogTensorDeallocation) XXX_DiscardUnknown()

func (*MemoryLogTensorDeallocation) XXX_Marshal added in v0.3.1

func (m *MemoryLogTensorDeallocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemoryLogTensorDeallocation) XXX_Merge added in v0.3.1

func (m *MemoryLogTensorDeallocation) XXX_Merge(src proto.Message)

func (*MemoryLogTensorDeallocation) XXX_Size added in v0.3.1

func (m *MemoryLogTensorDeallocation) XXX_Size() int

func (*MemoryLogTensorDeallocation) XXX_Unmarshal added in v0.3.1

func (m *MemoryLogTensorDeallocation) XXX_Unmarshal(b []byte) error

type MemoryLogTensorOutput

type MemoryLogTensorOutput struct {
	// Process-unique step id.
	StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// Name of the kernel producing an output as set in GraphDef, e.g.,
	// "affine2/weights/Assign".
	KernelName string `protobuf:"bytes,2,opt,name=kernel_name,json=kernelName,proto3" json:"kernel_name,omitempty"`
	// Index of the output being set.
	Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	// Output tensor details.
	Tensor *TensorDescription `protobuf:"bytes,4,opt,name=tensor,proto3" json:"tensor,omitempty"`
}

func (*MemoryLogTensorOutput) Descriptor

func (*MemoryLogTensorOutput) Descriptor() ([]byte, []int)

func (*MemoryLogTensorOutput) GetIndex

func (m *MemoryLogTensorOutput) GetIndex() int32

func (*MemoryLogTensorOutput) GetKernelName

func (m *MemoryLogTensorOutput) GetKernelName() string

func (*MemoryLogTensorOutput) GetStepId

func (m *MemoryLogTensorOutput) GetStepId() int64

func (*MemoryLogTensorOutput) GetTensor

func (m *MemoryLogTensorOutput) GetTensor() *TensorDescription

func (*MemoryLogTensorOutput) Marshal

func (m *MemoryLogTensorOutput) Marshal() (dAtA []byte, err error)

func (*MemoryLogTensorOutput) MarshalTo

func (m *MemoryLogTensorOutput) MarshalTo(dAtA []byte) (int, error)

func (*MemoryLogTensorOutput) ProtoMessage

func (*MemoryLogTensorOutput) ProtoMessage()

func (*MemoryLogTensorOutput) Reset

func (m *MemoryLogTensorOutput) Reset()

func (*MemoryLogTensorOutput) Size

func (m *MemoryLogTensorOutput) Size() (n int)

func (*MemoryLogTensorOutput) String

func (m *MemoryLogTensorOutput) String() string

func (*MemoryLogTensorOutput) Unmarshal

func (m *MemoryLogTensorOutput) Unmarshal(dAtA []byte) error

func (*MemoryLogTensorOutput) XXX_DiscardUnknown added in v0.3.1

func (m *MemoryLogTensorOutput) XXX_DiscardUnknown()

func (*MemoryLogTensorOutput) XXX_Marshal added in v0.3.1

func (m *MemoryLogTensorOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemoryLogTensorOutput) XXX_Merge added in v0.3.1

func (m *MemoryLogTensorOutput) XXX_Merge(src proto.Message)

func (*MemoryLogTensorOutput) XXX_Size added in v0.3.1

func (m *MemoryLogTensorOutput) XXX_Size() int

func (*MemoryLogTensorOutput) XXX_Unmarshal added in v0.3.1

func (m *MemoryLogTensorOutput) XXX_Unmarshal(b []byte) error

type MemoryStats

type MemoryStats struct {
	TempMemorySize           int64   `protobuf:"varint,1,opt,name=temp_memory_size,json=tempMemorySize,proto3" json:"temp_memory_size,omitempty"`
	PersistentMemorySize     int64   `protobuf:"varint,3,opt,name=persistent_memory_size,json=persistentMemorySize,proto3" json:"persistent_memory_size,omitempty"`
	PersistentTensorAllocIds []int64 `` /* 145-byte string literal not displayed */
	DeviceTempMemorySize     int64   `` // Deprecated: Do not use.
	/* 126-byte string literal not displayed */
	DevicePersistentMemorySize int64 `` // Deprecated: Do not use.
	/* 144-byte string literal not displayed */
	DevicePersistentTensorAllocIds []int64 `` // Deprecated: Do not use.
	/* 165-byte string literal not displayed */
}

For memory tracking.

func (*MemoryStats) Descriptor

func (*MemoryStats) Descriptor() ([]byte, []int)

func (*MemoryStats) GetDevicePersistentMemorySize deprecated

func (m *MemoryStats) GetDevicePersistentMemorySize() int64

Deprecated: Do not use.

func (*MemoryStats) GetDevicePersistentTensorAllocIds deprecated

func (m *MemoryStats) GetDevicePersistentTensorAllocIds() []int64

Deprecated: Do not use.

func (*MemoryStats) GetDeviceTempMemorySize deprecated

func (m *MemoryStats) GetDeviceTempMemorySize() int64

Deprecated: Do not use.

func (*MemoryStats) GetPersistentMemorySize added in v0.3.1

func (m *MemoryStats) GetPersistentMemorySize() int64

func (*MemoryStats) GetPersistentTensorAllocIds added in v0.3.1

func (m *MemoryStats) GetPersistentTensorAllocIds() []int64

func (*MemoryStats) GetTempMemorySize added in v0.3.1

func (m *MemoryStats) GetTempMemorySize() int64

func (*MemoryStats) Marshal

func (m *MemoryStats) Marshal() (dAtA []byte, err error)

func (*MemoryStats) MarshalTo

func (m *MemoryStats) MarshalTo(dAtA []byte) (int, error)

func (*MemoryStats) ProtoMessage

func (*MemoryStats) ProtoMessage()

func (*MemoryStats) Reset

func (m *MemoryStats) Reset()

func (*MemoryStats) Size

func (m *MemoryStats) Size() (n int)

func (*MemoryStats) String

func (m *MemoryStats) String() string

func (*MemoryStats) Unmarshal

func (m *MemoryStats) Unmarshal(dAtA []byte) error

func (*MemoryStats) XXX_DiscardUnknown added in v0.3.1

func (m *MemoryStats) XXX_DiscardUnknown()

func (*MemoryStats) XXX_Marshal added in v0.3.1

func (m *MemoryStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemoryStats) XXX_Merge added in v0.3.1

func (m *MemoryStats) XXX_Merge(src proto.Message)

func (*MemoryStats) XXX_Size added in v0.3.1

func (m *MemoryStats) XXX_Size() int

func (*MemoryStats) XXX_Unmarshal added in v0.3.1

func (m *MemoryStats) XXX_Unmarshal(b []byte) error

type MetaGraphDef

type MetaGraphDef struct {
	MetaInfoDef *MetaGraphDef_MetaInfoDef `protobuf:"bytes,1,opt,name=meta_info_def,json=metaInfoDef,proto3" json:"meta_info_def,omitempty"`
	// GraphDef.
	GraphDef *GraphDef `protobuf:"bytes,2,opt,name=graph_def,json=graphDef,proto3" json:"graph_def,omitempty"`
	// SaverDef.
	SaverDef *SaverDef `protobuf:"bytes,3,opt,name=saver_def,json=saverDef,proto3" json:"saver_def,omitempty"`
	// collection_def: Map from collection name to collections.
	// See CollectionDef section for details.
	CollectionDef map[string]*CollectionDef `` /* 188-byte string literal not displayed */
	// signature_def: Map from user supplied key for a signature to a single
	// SignatureDef.
	SignatureDef map[string]*SignatureDef `` /* 185-byte string literal not displayed */
	// Asset file def to be used with the defined graph.
	AssetFileDef []*AssetFileDef `protobuf:"bytes,6,rep,name=asset_file_def,json=assetFileDef,proto3" json:"asset_file_def,omitempty"`
}

NOTE: This protocol buffer is evolving, and will go through revisions in the coming months.

Protocol buffer containing the following which are necessary to restart training, run inference. It can be used to serialize/de-serialize memory objects necessary for running computation in a graph when crossing the process boundary. It can be used for long term storage of graphs, cross-language execution of graphs, etc.

MetaInfoDef
GraphDef
SaverDef
CollectionDef
TensorInfo
SignatureDef

func (*MetaGraphDef) Descriptor

func (*MetaGraphDef) Descriptor() ([]byte, []int)

func (*MetaGraphDef) GetAssetFileDef

func (m *MetaGraphDef) GetAssetFileDef() []*AssetFileDef

func (*MetaGraphDef) GetCollectionDef

func (m *MetaGraphDef) GetCollectionDef() map[string]*CollectionDef

func (*MetaGraphDef) GetGraphDef

func (m *MetaGraphDef) GetGraphDef() *GraphDef

func (*MetaGraphDef) GetMetaInfoDef

func (m *MetaGraphDef) GetMetaInfoDef() *MetaGraphDef_MetaInfoDef

func (*MetaGraphDef) GetSaverDef

func (m *MetaGraphDef) GetSaverDef() *SaverDef

func (*MetaGraphDef) GetSignatureDef

func (m *MetaGraphDef) GetSignatureDef() map[string]*SignatureDef

func (*MetaGraphDef) Marshal

func (m *MetaGraphDef) Marshal() (dAtA []byte, err error)

func (*MetaGraphDef) MarshalTo

func (m *MetaGraphDef) MarshalTo(dAtA []byte) (int, error)

func (*MetaGraphDef) ProtoMessage

func (*MetaGraphDef) ProtoMessage()

func (*MetaGraphDef) Reset

func (m *MetaGraphDef) Reset()

func (*MetaGraphDef) Size

func (m *MetaGraphDef) Size() (n int)

func (*MetaGraphDef) String

func (m *MetaGraphDef) String() string

func (*MetaGraphDef) Unmarshal

func (m *MetaGraphDef) Unmarshal(dAtA []byte) error

func (*MetaGraphDef) XXX_DiscardUnknown added in v0.3.1

func (m *MetaGraphDef) XXX_DiscardUnknown()

func (*MetaGraphDef) XXX_Marshal added in v0.3.1

func (m *MetaGraphDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetaGraphDef) XXX_Merge added in v0.3.1

func (m *MetaGraphDef) XXX_Merge(src proto.Message)

func (*MetaGraphDef) XXX_Size added in v0.3.1

func (m *MetaGraphDef) XXX_Size() int

func (*MetaGraphDef) XXX_Unmarshal added in v0.3.1

func (m *MetaGraphDef) XXX_Unmarshal(b []byte) error

type MetaGraphDef_MetaInfoDef

type MetaGraphDef_MetaInfoDef struct {
	// User specified Version string. Can be the name of the model and revision,
	// steps this model has been trained to, etc.
	MetaGraphVersion string `protobuf:"bytes,1,opt,name=meta_graph_version,json=metaGraphVersion,proto3" json:"meta_graph_version,omitempty"`
	// A copy of the OpDefs used by the producer of this graph_def.
	// Descriptions and Ops not used in graph_def are stripped out.
	StrippedOpList *OpList `protobuf:"bytes,2,opt,name=stripped_op_list,json=strippedOpList,proto3" json:"stripped_op_list,omitempty"`
	// A serialized protobuf. Can be the time this meta graph is created, or
	// modified, or name of the model.
	AnyInfo *types.Any `protobuf:"bytes,3,opt,name=any_info,json=anyInfo,proto3" json:"any_info,omitempty"`
	// User supplied tag(s) on the meta_graph and included graph_def.
	//
	// MetaGraphDefs should be tagged with their capabilities or use-cases.
	// Examples: "train", "serve", "gpu", "tpu", etc.
	// These tags enable loaders to access the MetaGraph(s) appropriate for a
	// specific use-case or runtime environment.
	Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
	// The __version__ string of the tensorflow build used to write this graph.
	// This will be populated by the framework, which will overwrite any user
	// supplied value.
	TensorflowVersion string `protobuf:"bytes,5,opt,name=tensorflow_version,json=tensorflowVersion,proto3" json:"tensorflow_version,omitempty"`
	// The __git_version__ string of the tensorflow build used to write this
	// graph. This will be populated by the framework, which will overwrite any
	// user supplied value.
	TensorflowGitVersion string `protobuf:"bytes,6,opt,name=tensorflow_git_version,json=tensorflowGitVersion,proto3" json:"tensorflow_git_version,omitempty"`
	// A flag to denote whether default-valued attrs have been stripped from
	// the nodes in this graph_def.
	StrippedDefaultAttrs bool `protobuf:"varint,7,opt,name=stripped_default_attrs,json=strippedDefaultAttrs,proto3" json:"stripped_default_attrs,omitempty"`
}

Meta information regarding the graph to be exported. To be used by users of this protocol buffer to encode information regarding their meta graph.

func (*MetaGraphDef_MetaInfoDef) Descriptor

func (*MetaGraphDef_MetaInfoDef) Descriptor() ([]byte, []int)

func (*MetaGraphDef_MetaInfoDef) GetAnyInfo

func (m *MetaGraphDef_MetaInfoDef) GetAnyInfo() *types.Any

func (*MetaGraphDef_MetaInfoDef) GetMetaGraphVersion

func (m *MetaGraphDef_MetaInfoDef) GetMetaGraphVersion() string

func (*MetaGraphDef_MetaInfoDef) GetStrippedDefaultAttrs added in v0.3.1

func (m *MetaGraphDef_MetaInfoDef) GetStrippedDefaultAttrs() bool

func (*MetaGraphDef_MetaInfoDef) GetStrippedOpList

func (m *MetaGraphDef_MetaInfoDef) GetStrippedOpList() *OpList

func (*MetaGraphDef_MetaInfoDef) GetTags

func (m *MetaGraphDef_MetaInfoDef) GetTags() []string

func (*MetaGraphDef_MetaInfoDef) GetTensorflowGitVersion

func (m *MetaGraphDef_MetaInfoDef) GetTensorflowGitVersion() string

func (*MetaGraphDef_MetaInfoDef) GetTensorflowVersion

func (m *MetaGraphDef_MetaInfoDef) GetTensorflowVersion() string

func (*MetaGraphDef_MetaInfoDef) Marshal

func (m *MetaGraphDef_MetaInfoDef) Marshal() (dAtA []byte, err error)

func (*MetaGraphDef_MetaInfoDef) MarshalTo

func (m *MetaGraphDef_MetaInfoDef) MarshalTo(dAtA []byte) (int, error)

func (*MetaGraphDef_MetaInfoDef) ProtoMessage

func (*MetaGraphDef_MetaInfoDef) ProtoMessage()

func (*MetaGraphDef_MetaInfoDef) Reset

func (m *MetaGraphDef_MetaInfoDef) Reset()

func (*MetaGraphDef_MetaInfoDef) Size

func (m *MetaGraphDef_MetaInfoDef) Size() (n int)

func (*MetaGraphDef_MetaInfoDef) String

func (m *MetaGraphDef_MetaInfoDef) String() string

func (*MetaGraphDef_MetaInfoDef) Unmarshal

func (m *MetaGraphDef_MetaInfoDef) Unmarshal(dAtA []byte) error

func (*MetaGraphDef_MetaInfoDef) XXX_DiscardUnknown added in v0.3.1

func (m *MetaGraphDef_MetaInfoDef) XXX_DiscardUnknown()

func (*MetaGraphDef_MetaInfoDef) XXX_Marshal added in v0.3.1

func (m *MetaGraphDef_MetaInfoDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetaGraphDef_MetaInfoDef) XXX_Merge added in v0.3.1

func (m *MetaGraphDef_MetaInfoDef) XXX_Merge(src proto.Message)

func (*MetaGraphDef_MetaInfoDef) XXX_Size added in v0.3.1

func (m *MetaGraphDef_MetaInfoDef) XXX_Size() int

func (*MetaGraphDef_MetaInfoDef) XXX_Unmarshal added in v0.3.1

func (m *MetaGraphDef_MetaInfoDef) XXX_Unmarshal(b []byte) error

type NameAttrList

type NameAttrList struct {
	Name string                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Attr map[string]*AttrValue `` /* 149-byte string literal not displayed */
}

A list of attr names and their values. The whole list is attached with a string name. E.g., MatMul[T=float].

func (*NameAttrList) Descriptor

func (*NameAttrList) Descriptor() ([]byte, []int)

func (*NameAttrList) GetAttr

func (m *NameAttrList) GetAttr() map[string]*AttrValue

func (*NameAttrList) GetName

func (m *NameAttrList) GetName() string

func (*NameAttrList) Marshal

func (m *NameAttrList) Marshal() (dAtA []byte, err error)

func (*NameAttrList) MarshalTo

func (m *NameAttrList) MarshalTo(dAtA []byte) (int, error)

func (*NameAttrList) ProtoMessage

func (*NameAttrList) ProtoMessage()

func (*NameAttrList) Reset

func (m *NameAttrList) Reset()

func (*NameAttrList) Size

func (m *NameAttrList) Size() (n int)

func (*NameAttrList) String

func (m *NameAttrList) String() string

func (*NameAttrList) Unmarshal

func (m *NameAttrList) Unmarshal(dAtA []byte) error

func (*NameAttrList) XXX_DiscardUnknown added in v0.3.1

func (m *NameAttrList) XXX_DiscardUnknown()

func (*NameAttrList) XXX_Marshal added in v0.3.1

func (m *NameAttrList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NameAttrList) XXX_Merge added in v0.3.1

func (m *NameAttrList) XXX_Merge(src proto.Message)

func (*NameAttrList) XXX_Size added in v0.3.1

func (m *NameAttrList) XXX_Size() int

func (*NameAttrList) XXX_Unmarshal added in v0.3.1

func (m *NameAttrList) XXX_Unmarshal(b []byte) error

type NamedDevice added in v0.3.1

type NamedDevice struct {
	Name       string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Properties *DeviceProperties `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
}

func (*NamedDevice) Descriptor added in v0.3.1

func (*NamedDevice) Descriptor() ([]byte, []int)

func (*NamedDevice) GetName added in v0.3.1

func (m *NamedDevice) GetName() string

func (*NamedDevice) GetProperties added in v0.3.1

func (m *NamedDevice) GetProperties() *DeviceProperties

func (*NamedDevice) Marshal added in v0.3.1

func (m *NamedDevice) Marshal() (dAtA []byte, err error)

func (*NamedDevice) MarshalTo added in v0.3.1

func (m *NamedDevice) MarshalTo(dAtA []byte) (int, error)

func (*NamedDevice) ProtoMessage added in v0.3.1

func (*NamedDevice) ProtoMessage()

func (*NamedDevice) Reset added in v0.3.1

func (m *NamedDevice) Reset()

func (*NamedDevice) Size added in v0.3.1

func (m *NamedDevice) Size() (n int)

func (*NamedDevice) String added in v0.3.1

func (m *NamedDevice) String() string

func (*NamedDevice) Unmarshal added in v0.3.1

func (m *NamedDevice) Unmarshal(dAtA []byte) error

func (*NamedDevice) XXX_DiscardUnknown added in v0.3.1

func (m *NamedDevice) XXX_DiscardUnknown()

func (*NamedDevice) XXX_Marshal added in v0.3.1

func (m *NamedDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedDevice) XXX_Merge added in v0.3.1

func (m *NamedDevice) XXX_Merge(src proto.Message)

func (*NamedDevice) XXX_Size added in v0.3.1

func (m *NamedDevice) XXX_Size() int

func (*NamedDevice) XXX_Unmarshal added in v0.3.1

func (m *NamedDevice) XXX_Unmarshal(b []byte) error

type NamedTensorProto

type NamedTensorProto struct {
	// Name of the tensor.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The client can populate a TensorProto using a tensorflow::Tensor`, or
	// directly using the protobuf field accessors.
	//
	// The client specifies whether the returned tensor values should be
	// filled tensor fields (float_val, int_val, etc.) or encoded in a
	// compact form in tensor.tensor_content.
	Tensor *TensorProto `protobuf:"bytes,2,opt,name=tensor,proto3" json:"tensor,omitempty"`
}

A pair of tensor name and tensor values.

func (*NamedTensorProto) Descriptor

func (*NamedTensorProto) Descriptor() ([]byte, []int)

func (*NamedTensorProto) GetName

func (m *NamedTensorProto) GetName() string

func (*NamedTensorProto) GetTensor

func (m *NamedTensorProto) GetTensor() *TensorProto

func (*NamedTensorProto) Marshal

func (m *NamedTensorProto) Marshal() (dAtA []byte, err error)

func (*NamedTensorProto) MarshalTo

func (m *NamedTensorProto) MarshalTo(dAtA []byte) (int, error)

func (*NamedTensorProto) ProtoMessage

func (*NamedTensorProto) ProtoMessage()

func (*NamedTensorProto) Reset

func (m *NamedTensorProto) Reset()

func (*NamedTensorProto) Size

func (m *NamedTensorProto) Size() (n int)

func (*NamedTensorProto) String

func (m *NamedTensorProto) String() string

func (*NamedTensorProto) Unmarshal

func (m *NamedTensorProto) Unmarshal(dAtA []byte) error

func (*NamedTensorProto) XXX_DiscardUnknown added in v0.3.1

func (m *NamedTensorProto) XXX_DiscardUnknown()

func (*NamedTensorProto) XXX_Marshal added in v0.3.1

func (m *NamedTensorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedTensorProto) XXX_Merge added in v0.3.1

func (m *NamedTensorProto) XXX_Merge(src proto.Message)

func (*NamedTensorProto) XXX_Size added in v0.3.1

func (m *NamedTensorProto) XXX_Size() int

func (*NamedTensorProto) XXX_Unmarshal added in v0.3.1

func (m *NamedTensorProto) XXX_Unmarshal(b []byte) error

type NewReplaySession added in v0.3.1

type NewReplaySession struct {
	Devices       *ListDevicesResponse `protobuf:"bytes,1,opt,name=devices,proto3" json:"devices,omitempty"`
	SessionHandle string               `protobuf:"bytes,2,opt,name=session_handle,json=sessionHandle,proto3" json:"session_handle,omitempty"`
}

Records the creation of a new replay session. We record the device listing here to capture the state of the cluster.

func (*NewReplaySession) Descriptor added in v0.3.1

func (*NewReplaySession) Descriptor() ([]byte, []int)

func (*NewReplaySession) GetDevices added in v0.3.1

func (m *NewReplaySession) GetDevices() *ListDevicesResponse

func (*NewReplaySession) GetSessionHandle added in v0.3.1

func (m *NewReplaySession) GetSessionHandle() string

func (*NewReplaySession) Marshal added in v0.3.1

func (m *NewReplaySession) Marshal() (dAtA []byte, err error)

func (*NewReplaySession) MarshalTo added in v0.3.1

func (m *NewReplaySession) MarshalTo(dAtA []byte) (int, error)

func (*NewReplaySession) ProtoMessage added in v0.3.1

func (*NewReplaySession) ProtoMessage()

func (*NewReplaySession) Reset added in v0.3.1

func (m *NewReplaySession) Reset()

func (*NewReplaySession) Size added in v0.3.1

func (m *NewReplaySession) Size() (n int)

func (*NewReplaySession) String added in v0.3.1

func (m *NewReplaySession) String() string

func (*NewReplaySession) Unmarshal added in v0.3.1

func (m *NewReplaySession) Unmarshal(dAtA []byte) error

func (*NewReplaySession) XXX_DiscardUnknown added in v0.3.1

func (m *NewReplaySession) XXX_DiscardUnknown()

func (*NewReplaySession) XXX_Marshal added in v0.3.1

func (m *NewReplaySession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NewReplaySession) XXX_Merge added in v0.3.1

func (m *NewReplaySession) XXX_Merge(src proto.Message)

func (*NewReplaySession) XXX_Size added in v0.3.1

func (m *NewReplaySession) XXX_Size() int

func (*NewReplaySession) XXX_Unmarshal added in v0.3.1

func (m *NewReplaySession) XXX_Unmarshal(b []byte) error

type NodeDef

type NodeDef struct {
	// The name given to this operator. Used for naming inputs,
	// logging, visualization, etc.  Unique within a single GraphDef.
	// Must match the regexp "[A-Za-z0-9.][A-Za-z0-9_./]*".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The operation name.  There may be custom parameters in attrs.
	// Op names starting with an underscore are reserved for internal use.
	Op string `protobuf:"bytes,2,opt,name=op,proto3" json:"op,omitempty"`
	// Each input is "node:src_output" with "node" being a string name and
	// "src_output" indicating which output tensor to use from "node". If
	// "src_output" is 0 the ":0" suffix can be omitted.  Regular inputs
	// may optionally be followed by control inputs that have the format
	// "^node".
	Input []string `protobuf:"bytes,3,rep,name=input,proto3" json:"input,omitempty"`
	// A (possibly partial) specification for the device on which this
	// node should be placed.
	// The expected syntax for this string is as follows:
	//
	// DEVICE_SPEC ::= PARTIAL_SPEC
	//
	// PARTIAL_SPEC ::= ("/" CONSTRAINT) *
	// CONSTRAINT ::= ("job:" JOB_NAME)
	//              | ("replica:" [1-9][0-9]*)
	//              | ("task:" [1-9][0-9]*)
	//              | ("device:" [A-Za-z]* ":" ([1-9][0-9]* | "*") )
	//
	// Valid values for this string include:
	// * "/job:worker/replica:0/task:1/device:GPU:3"  (full specification)
	// * "/job:worker/device:GPU:3"                   (partial specification)
	// * ""                                    (no specification)
	//
	// If the constraints do not resolve to a single device (or if this
	// field is empty or not present), the runtime will attempt to
	// choose a device automatically.
	Device string `protobuf:"bytes,4,opt,name=device,proto3" json:"device,omitempty"`
	// Operation-specific graph-construction-time configuration.
	// Note that this should include all attrs defined in the
	// corresponding OpDef, including those with a value matching
	// the default -- this allows the default to change and makes
	// NodeDefs easier to interpret on their own.  However, if
	// an attr with a default is not specified in this list, the
	// default will be used.
	// The "names" (keys) must match the regexp "[a-z][a-z0-9_]+" (and
	// one of the names from the corresponding OpDef's attr field).
	// The values must have a type matching the corresponding OpDef
	// attr's type field.
	// TODO(josh11b): Add some examples here showing best practices.
	Attr map[string]*AttrValue `` /* 149-byte string literal not displayed */
}

func (*NodeDef) Descriptor

func (*NodeDef) Descriptor() ([]byte, []int)

func (*NodeDef) GetAttr

func (m *NodeDef) GetAttr() map[string]*AttrValue

func (*NodeDef) GetDevice

func (m *NodeDef) GetDevice() string

func (*NodeDef) GetInput

func (m *NodeDef) GetInput() []string

func (*NodeDef) GetName

func (m *NodeDef) GetName() string

func (*NodeDef) GetOp

func (m *NodeDef) GetOp() string

func (*NodeDef) Marshal

func (m *NodeDef) Marshal() (dAtA []byte, err error)

func (*NodeDef) MarshalTo

func (m *NodeDef) MarshalTo(dAtA []byte) (int, error)

func (*NodeDef) ProtoMessage

func (*NodeDef) ProtoMessage()

func (*NodeDef) Reset

func (m *NodeDef) Reset()

func (*NodeDef) Size

func (m *NodeDef) Size() (n int)

func (*NodeDef) String

func (m *NodeDef) String() string

func (*NodeDef) Unmarshal

func (m *NodeDef) Unmarshal(dAtA []byte) error

func (*NodeDef) XXX_DiscardUnknown added in v0.3.1

func (m *NodeDef) XXX_DiscardUnknown()

func (*NodeDef) XXX_Marshal added in v0.3.1

func (m *NodeDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeDef) XXX_Merge added in v0.3.1

func (m *NodeDef) XXX_Merge(src proto.Message)

func (*NodeDef) XXX_Size added in v0.3.1

func (m *NodeDef) XXX_Size() int

func (*NodeDef) XXX_Unmarshal added in v0.3.1

func (m *NodeDef) XXX_Unmarshal(b []byte) error

type NodeExecStats

type NodeExecStats struct {
	// TODO(tucker): Use some more compact form of node identity than
	// the full string name.  Either all processes should agree on a
	// global id (cost_id?) for each node, or we should use a hash of
	// the name.
	NodeName         string                   `protobuf:"bytes,1,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	AllStartMicros   int64                    `protobuf:"varint,2,opt,name=all_start_micros,json=allStartMicros,proto3" json:"all_start_micros,omitempty"`
	OpStartRelMicros int64                    `protobuf:"varint,3,opt,name=op_start_rel_micros,json=opStartRelMicros,proto3" json:"op_start_rel_micros,omitempty"`
	OpEndRelMicros   int64                    `protobuf:"varint,4,opt,name=op_end_rel_micros,json=opEndRelMicros,proto3" json:"op_end_rel_micros,omitempty"`
	AllEndRelMicros  int64                    `protobuf:"varint,5,opt,name=all_end_rel_micros,json=allEndRelMicros,proto3" json:"all_end_rel_micros,omitempty"`
	Memory           []*AllocatorMemoryUsed   `protobuf:"bytes,6,rep,name=memory,proto3" json:"memory,omitempty"`
	Output           []*NodeOutput            `protobuf:"bytes,7,rep,name=output,proto3" json:"output,omitempty"`
	TimelineLabel    string                   `protobuf:"bytes,8,opt,name=timeline_label,json=timelineLabel,proto3" json:"timeline_label,omitempty"`
	ScheduledMicros  int64                    `protobuf:"varint,9,opt,name=scheduled_micros,json=scheduledMicros,proto3" json:"scheduled_micros,omitempty"`
	ThreadId         uint32                   `protobuf:"varint,10,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
	ReferencedTensor []*AllocationDescription `protobuf:"bytes,11,rep,name=referenced_tensor,json=referencedTensor,proto3" json:"referenced_tensor,omitempty"`
	MemoryStats      *MemoryStats             `protobuf:"bytes,12,opt,name=memory_stats,json=memoryStats,proto3" json:"memory_stats,omitempty"`
	AllStartNanos    int64                    `protobuf:"varint,13,opt,name=all_start_nanos,json=allStartNanos,proto3" json:"all_start_nanos,omitempty"`
	OpStartRelNanos  int64                    `protobuf:"varint,14,opt,name=op_start_rel_nanos,json=opStartRelNanos,proto3" json:"op_start_rel_nanos,omitempty"`
	OpEndRelNanos    int64                    `protobuf:"varint,15,opt,name=op_end_rel_nanos,json=opEndRelNanos,proto3" json:"op_end_rel_nanos,omitempty"`
	AllEndRelNanos   int64                    `protobuf:"varint,16,opt,name=all_end_rel_nanos,json=allEndRelNanos,proto3" json:"all_end_rel_nanos,omitempty"`
	ScheduledNanos   int64                    `protobuf:"varint,17,opt,name=scheduled_nanos,json=scheduledNanos,proto3" json:"scheduled_nanos,omitempty"`
}

Time/size stats recorded for a single execution of a graph node.

func (*NodeExecStats) Descriptor

func (*NodeExecStats) Descriptor() ([]byte, []int)

func (*NodeExecStats) GetAllEndRelMicros

func (m *NodeExecStats) GetAllEndRelMicros() int64

func (*NodeExecStats) GetAllEndRelNanos added in v0.3.1

func (m *NodeExecStats) GetAllEndRelNanos() int64

func (*NodeExecStats) GetAllStartMicros

func (m *NodeExecStats) GetAllStartMicros() int64

func (*NodeExecStats) GetAllStartNanos added in v0.3.1

func (m *NodeExecStats) GetAllStartNanos() int64

func (*NodeExecStats) GetMemory

func (m *NodeExecStats) GetMemory() []*AllocatorMemoryUsed

func (*NodeExecStats) GetMemoryStats

func (m *NodeExecStats) GetMemoryStats() *MemoryStats

func (*NodeExecStats) GetNodeName

func (m *NodeExecStats) GetNodeName() string

func (*NodeExecStats) GetOpEndRelMicros

func (m *NodeExecStats) GetOpEndRelMicros() int64

func (*NodeExecStats) GetOpEndRelNanos added in v0.3.1

func (m *NodeExecStats) GetOpEndRelNanos() int64

func (*NodeExecStats) GetOpStartRelMicros

func (m *NodeExecStats) GetOpStartRelMicros() int64

func (*NodeExecStats) GetOpStartRelNanos added in v0.3.1

func (m *NodeExecStats) GetOpStartRelNanos() int64

func (*NodeExecStats) GetOutput

func (m *NodeExecStats) GetOutput() []*NodeOutput

func (*NodeExecStats) GetReferencedTensor

func (m *NodeExecStats) GetReferencedTensor() []*AllocationDescription

func (*NodeExecStats) GetScheduledMicros

func (m *NodeExecStats) GetScheduledMicros() int64

func (*NodeExecStats) GetScheduledNanos added in v0.3.1

func (m *NodeExecStats) GetScheduledNanos() int64

func (*NodeExecStats) GetThreadId

func (m *NodeExecStats) GetThreadId() uint32

func (*NodeExecStats) GetTimelineLabel

func (m *NodeExecStats) GetTimelineLabel() string

func (*NodeExecStats) Marshal

func (m *NodeExecStats) Marshal() (dAtA []byte, err error)

func (*NodeExecStats) MarshalTo

func (m *NodeExecStats) MarshalTo(dAtA []byte) (int, error)

func (*NodeExecStats) ProtoMessage

func (*NodeExecStats) ProtoMessage()

func (*NodeExecStats) Reset

func (m *NodeExecStats) Reset()

func (*NodeExecStats) Size

func (m *NodeExecStats) Size() (n int)

func (*NodeExecStats) String

func (m *NodeExecStats) String() string

func (*NodeExecStats) Unmarshal

func (m *NodeExecStats) Unmarshal(dAtA []byte) error

func (*NodeExecStats) XXX_DiscardUnknown added in v0.3.1

func (m *NodeExecStats) XXX_DiscardUnknown()

func (*NodeExecStats) XXX_Marshal added in v0.3.1

func (m *NodeExecStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeExecStats) XXX_Merge added in v0.3.1

func (m *NodeExecStats) XXX_Merge(src proto.Message)

func (*NodeExecStats) XXX_Size added in v0.3.1

func (m *NodeExecStats) XXX_Size() int

func (*NodeExecStats) XXX_Unmarshal added in v0.3.1

func (m *NodeExecStats) XXX_Unmarshal(b []byte) error

type NodeOutput

type NodeOutput struct {
	Slot              int32              `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	TensorDescription *TensorDescription `protobuf:"bytes,3,opt,name=tensor_description,json=tensorDescription,proto3" json:"tensor_description,omitempty"`
}

Output sizes recorded for a single execution of a graph node.

func (*NodeOutput) Descriptor

func (*NodeOutput) Descriptor() ([]byte, []int)

func (*NodeOutput) GetSlot

func (m *NodeOutput) GetSlot() int32

func (*NodeOutput) GetTensorDescription

func (m *NodeOutput) GetTensorDescription() *TensorDescription

func (*NodeOutput) Marshal

func (m *NodeOutput) Marshal() (dAtA []byte, err error)

func (*NodeOutput) MarshalTo

func (m *NodeOutput) MarshalTo(dAtA []byte) (int, error)

func (*NodeOutput) ProtoMessage

func (*NodeOutput) ProtoMessage()

func (*NodeOutput) Reset

func (m *NodeOutput) Reset()

func (*NodeOutput) Size

func (m *NodeOutput) Size() (n int)

func (*NodeOutput) String

func (m *NodeOutput) String() string

func (*NodeOutput) Unmarshal

func (m *NodeOutput) Unmarshal(dAtA []byte) error

func (*NodeOutput) XXX_DiscardUnknown added in v0.3.1

func (m *NodeOutput) XXX_DiscardUnknown()

func (*NodeOutput) XXX_Marshal added in v0.3.1

func (m *NodeOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeOutput) XXX_Merge added in v0.3.1

func (m *NodeOutput) XXX_Merge(src proto.Message)

func (*NodeOutput) XXX_Size added in v0.3.1

func (m *NodeOutput) XXX_Size() int

func (*NodeOutput) XXX_Unmarshal added in v0.3.1

func (m *NodeOutput) XXX_Unmarshal(b []byte) error

type OpDef

type OpDef struct {
	// Op names starting with an underscore are reserved for internal use.
	// Names should be CamelCase and match the regexp "[A-Z][a-zA-Z0-9_]*".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the input(s).
	InputArg []*OpDef_ArgDef `protobuf:"bytes,2,rep,name=input_arg,json=inputArg,proto3" json:"input_arg,omitempty"`
	// Description of the output(s).
	OutputArg []*OpDef_ArgDef  `protobuf:"bytes,3,rep,name=output_arg,json=outputArg,proto3" json:"output_arg,omitempty"`
	Attr      []*OpDef_AttrDef `protobuf:"bytes,4,rep,name=attr,proto3" json:"attr,omitempty"`
	// Optional deprecation based on GraphDef versions.
	Deprecation *OpDeprecation `protobuf:"bytes,8,opt,name=deprecation,proto3" json:"deprecation,omitempty"`
	// One-line human-readable description of what the Op does.
	Summary string `protobuf:"bytes,5,opt,name=summary,proto3" json:"summary,omitempty"`
	// Additional, longer human-readable description of what the Op does.
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
	IsCommutative bool `protobuf:"varint,18,opt,name=is_commutative,json=isCommutative,proto3" json:"is_commutative,omitempty"`
	// If is_aggregate is true, then this operation accepts N >= 2
	// inputs and produces 1 output all of the same type.  Should be
	// associative and commutative, and produce output with the same
	// shape as the input.  The optimizer may replace an aggregate op
	// taking input from multiple devices with a tree of aggregate ops
	// that aggregate locally within each device (and possibly within
	// groups of nearby devices) before communicating.
	// TODO(josh11b): Implement that optimization.
	IsAggregate bool `protobuf:"varint,16,opt,name=is_aggregate,json=isAggregate,proto3" json:"is_aggregate,omitempty"`
	// Ops are marked as stateful if their behavior depends on some state beyond
	// their input tensors (e.g. variable reading op) or if they have
	// a side-effect (e.g. printing or asserting ops). Equivalently, stateless ops
	// must always produce the same output for the same input and have
	// no side-effects.
	//
	// By default Ops may be moved between devices.  Stateful ops should
	// either not be moved, or should only be moved if that state can also
	// be moved (e.g. via some sort of save / restore).
	// Stateful ops are guaranteed to never be optimized away by Common
	// Subexpression Elimination (CSE).
	IsStateful bool `protobuf:"varint,17,opt,name=is_stateful,json=isStateful,proto3" json:"is_stateful,omitempty"`
	// By default, all inputs to an Op must be initialized Tensors.  Ops
	// that may initialize tensors for the first time should set this
	// field to true, to allow the Op to take an uninitialized Tensor as
	// input.
	AllowsUninitializedInput bool `` /* 137-byte string literal not displayed */
}

Defines an operation. A NodeDef in a GraphDef specifies an Op by using the "op" field which should match the name of a OpDef. LINT.IfChange

func (*OpDef) Descriptor

func (*OpDef) Descriptor() ([]byte, []int)

func (*OpDef) GetAllowsUninitializedInput

func (m *OpDef) GetAllowsUninitializedInput() bool

func (*OpDef) GetAttr

func (m *OpDef) GetAttr() []*OpDef_AttrDef

func (*OpDef) GetDeprecation

func (m *OpDef) GetDeprecation() *OpDeprecation

func (*OpDef) GetDescription

func (m *OpDef) GetDescription() string

func (*OpDef) GetInputArg

func (m *OpDef) GetInputArg() []*OpDef_ArgDef

func (*OpDef) GetIsAggregate

func (m *OpDef) GetIsAggregate() bool

func (*OpDef) GetIsCommutative

func (m *OpDef) GetIsCommutative() bool

func (*OpDef) GetIsStateful

func (m *OpDef) GetIsStateful() bool

func (*OpDef) GetName

func (m *OpDef) GetName() string

func (*OpDef) GetOutputArg

func (m *OpDef) GetOutputArg() []*OpDef_ArgDef

func (*OpDef) GetSummary

func (m *OpDef) GetSummary() string

func (*OpDef) Marshal

func (m *OpDef) Marshal() (dAtA []byte, err error)

func (*OpDef) MarshalTo

func (m *OpDef) MarshalTo(dAtA []byte) (int, error)

func (*OpDef) ProtoMessage

func (*OpDef) ProtoMessage()

func (*OpDef) Reset

func (m *OpDef) Reset()

func (*OpDef) Size

func (m *OpDef) Size() (n int)

func (*OpDef) String

func (m *OpDef) String() string

func (*OpDef) Unmarshal

func (m *OpDef) Unmarshal(dAtA []byte) error

func (*OpDef) XXX_DiscardUnknown added in v0.3.1

func (m *OpDef) XXX_DiscardUnknown()

func (*OpDef) XXX_Marshal added in v0.3.1

func (m *OpDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpDef) XXX_Merge added in v0.3.1

func (m *OpDef) XXX_Merge(src proto.Message)

func (*OpDef) XXX_Size added in v0.3.1

func (m *OpDef) XXX_Size() int

func (*OpDef) XXX_Unmarshal added in v0.3.1

func (m *OpDef) XXX_Unmarshal(b []byte) error

type OpDef_ArgDef

type OpDef_ArgDef struct {
	// Name for the input/output.  Should match the regexp "[a-z][a-z0-9_]*".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Human readable description.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Describes the type of one or more tensors that are accepted/produced
	// by this input/output arg.  The only legal combinations are:
	// * For a single tensor: either the "type" field is set or the
	//   "type_attr" field is set to the name of an attr with type "type".
	// * For a sequence of tensors with the same type: the "number_attr"
	//   field will be set to the name of an attr with type "int", and
	//   either the "type" or "type_attr" field will be set as for
	//   single tensors.
	// * For a sequence of tensors, the "type_list_attr" field will be set
	//   to the name of an attr with type "list(type)".
	Type       DataType `protobuf:"varint,3,opt,name=type,proto3,enum=tensorflow.DataType" json:"type,omitempty"`
	TypeAttr   string   `protobuf:"bytes,4,opt,name=type_attr,json=typeAttr,proto3" json:"type_attr,omitempty"`
	NumberAttr string   `protobuf:"bytes,5,opt,name=number_attr,json=numberAttr,proto3" json:"number_attr,omitempty"`
	// If specified, attr must have type "list(type)", and none of
	// type, type_attr, and number_attr may be specified.
	TypeListAttr string `protobuf:"bytes,6,opt,name=type_list_attr,json=typeListAttr,proto3" json:"type_list_attr,omitempty"`
	// For inputs: if true, the inputs are required to be refs.
	//   By default, inputs can be either refs or non-refs.
	// For outputs: if true, outputs are refs, otherwise they are not.
	IsRef bool `protobuf:"varint,16,opt,name=is_ref,json=isRef,proto3" json:"is_ref,omitempty"`
}

For describing inputs and outputs.

func (*OpDef_ArgDef) Descriptor

func (*OpDef_ArgDef) Descriptor() ([]byte, []int)

func (*OpDef_ArgDef) GetDescription

func (m *OpDef_ArgDef) GetDescription() string

func (*OpDef_ArgDef) GetIsRef

func (m *OpDef_ArgDef) GetIsRef() bool

func (*OpDef_ArgDef) GetName

func (m *OpDef_ArgDef) GetName() string

func (*OpDef_ArgDef) GetNumberAttr

func (m *OpDef_ArgDef) GetNumberAttr() string

func (*OpDef_ArgDef) GetType

func (m *OpDef_ArgDef) GetType() DataType

func (*OpDef_ArgDef) GetTypeAttr

func (m *OpDef_ArgDef) GetTypeAttr() string

func (*OpDef_ArgDef) GetTypeListAttr

func (m *OpDef_ArgDef) GetTypeListAttr() string

func (*OpDef_ArgDef) Marshal

func (m *OpDef_ArgDef) Marshal() (dAtA []byte, err error)

func (*OpDef_ArgDef) MarshalTo

func (m *OpDef_ArgDef) MarshalTo(dAtA []byte) (int, error)

func (*OpDef_ArgDef) ProtoMessage

func (*OpDef_ArgDef) ProtoMessage()

func (*OpDef_ArgDef) Reset

func (m *OpDef_ArgDef) Reset()

func (*OpDef_ArgDef) Size

func (m *OpDef_ArgDef) Size() (n int)

func (*OpDef_ArgDef) String

func (m *OpDef_ArgDef) String() string

func (*OpDef_ArgDef) Unmarshal

func (m *OpDef_ArgDef) Unmarshal(dAtA []byte) error

func (*OpDef_ArgDef) XXX_DiscardUnknown added in v0.3.1

func (m *OpDef_ArgDef) XXX_DiscardUnknown()

func (*OpDef_ArgDef) XXX_Marshal added in v0.3.1

func (m *OpDef_ArgDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpDef_ArgDef) XXX_Merge added in v0.3.1

func (m *OpDef_ArgDef) XXX_Merge(src proto.Message)

func (*OpDef_ArgDef) XXX_Size added in v0.3.1

func (m *OpDef_ArgDef) XXX_Size() int

func (*OpDef_ArgDef) XXX_Unmarshal added in v0.3.1

func (m *OpDef_ArgDef) XXX_Unmarshal(b []byte) error

type OpDef_AttrDef

type OpDef_AttrDef struct {
	// A descriptive name for the argument.  May be used, e.g. by the
	// Python client, as a keyword argument name, and so should match
	// the regexp "[a-z][a-z0-9_]+".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// One of the type names from attr_value.proto ("string", "list(string)",
	// "int", etc.).
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// A reasonable default for this attribute if the user does not supply
	// a value.  If not specified, the user must supply a value.
	DefaultValue *AttrValue `protobuf:"bytes,3,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// Human-readable description.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// For type == "int", this is a minimum value.  For "list(___)"
	// types, this is the minimum length.
	HasMinimum bool  `protobuf:"varint,5,opt,name=has_minimum,json=hasMinimum,proto3" json:"has_minimum,omitempty"`
	Minimum    int64 `protobuf:"varint,6,opt,name=minimum,proto3" json:"minimum,omitempty"`
	// The set of allowed values.  Has type that is the "list" version
	// of the "type" field above (uses the "list" field of AttrValue).
	// If type == "type" or "list(type)" above, then the "type" field
	// of "allowed_values.list" has the set of allowed DataTypes.
	// If type == "string" or "list(string)", then the "s" field of
	// "allowed_values.list" has the set of allowed strings.
	AllowedValues *AttrValue `protobuf:"bytes,7,opt,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"`
}

Description of the graph-construction-time configuration of this Op. That is to say, this describes the attr fields that will be specified in the NodeDef.

func (*OpDef_AttrDef) Descriptor

func (*OpDef_AttrDef) Descriptor() ([]byte, []int)

func (*OpDef_AttrDef) GetAllowedValues

func (m *OpDef_AttrDef) GetAllowedValues() *AttrValue

func (*OpDef_AttrDef) GetDefaultValue

func (m *OpDef_AttrDef) GetDefaultValue() *AttrValue

func (*OpDef_AttrDef) GetDescription

func (m *OpDef_AttrDef) GetDescription() string

func (*OpDef_AttrDef) GetHasMinimum

func (m *OpDef_AttrDef) GetHasMinimum() bool

func (*OpDef_AttrDef) GetMinimum

func (m *OpDef_AttrDef) GetMinimum() int64

func (*OpDef_AttrDef) GetName

func (m *OpDef_AttrDef) GetName() string

func (*OpDef_AttrDef) GetType

func (m *OpDef_AttrDef) GetType() string

func (*OpDef_AttrDef) Marshal

func (m *OpDef_AttrDef) Marshal() (dAtA []byte, err error)

func (*OpDef_AttrDef) MarshalTo

func (m *OpDef_AttrDef) MarshalTo(dAtA []byte) (int, error)

func (*OpDef_AttrDef) ProtoMessage

func (*OpDef_AttrDef) ProtoMessage()

func (*OpDef_AttrDef) Reset

func (m *OpDef_AttrDef) Reset()

func (*OpDef_AttrDef) Size

func (m *OpDef_AttrDef) Size() (n int)

func (*OpDef_AttrDef) String

func (m *OpDef_AttrDef) String() string

func (*OpDef_AttrDef) Unmarshal

func (m *OpDef_AttrDef) Unmarshal(dAtA []byte) error

func (*OpDef_AttrDef) XXX_DiscardUnknown added in v0.3.1

func (m *OpDef_AttrDef) XXX_DiscardUnknown()

func (*OpDef_AttrDef) XXX_Marshal added in v0.3.1

func (m *OpDef_AttrDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpDef_AttrDef) XXX_Merge added in v0.3.1

func (m *OpDef_AttrDef) XXX_Merge(src proto.Message)

func (*OpDef_AttrDef) XXX_Size added in v0.3.1

func (m *OpDef_AttrDef) XXX_Size() int

func (*OpDef_AttrDef) XXX_Unmarshal added in v0.3.1

func (m *OpDef_AttrDef) XXX_Unmarshal(b []byte) error

type OpDeprecation

type OpDeprecation struct {
	// First GraphDef version at which the op is disallowed.
	Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// Explanation of why it was deprecated and what to use instead.
	Explanation string `protobuf:"bytes,2,opt,name=explanation,proto3" json:"explanation,omitempty"`
}

Information about version-dependent deprecation of an op

func (*OpDeprecation) Descriptor

func (*OpDeprecation) Descriptor() ([]byte, []int)

func (*OpDeprecation) GetExplanation

func (m *OpDeprecation) GetExplanation() string

func (*OpDeprecation) GetVersion

func (m *OpDeprecation) GetVersion() int32

func (*OpDeprecation) Marshal

func (m *OpDeprecation) Marshal() (dAtA []byte, err error)

func (*OpDeprecation) MarshalTo

func (m *OpDeprecation) MarshalTo(dAtA []byte) (int, error)

func (*OpDeprecation) ProtoMessage

func (*OpDeprecation) ProtoMessage()

func (*OpDeprecation) Reset

func (m *OpDeprecation) Reset()

func (*OpDeprecation) Size

func (m *OpDeprecation) Size() (n int)

func (*OpDeprecation) String

func (m *OpDeprecation) String() string

func (*OpDeprecation) Unmarshal

func (m *OpDeprecation) Unmarshal(dAtA []byte) error

func (*OpDeprecation) XXX_DiscardUnknown added in v0.3.1

func (m *OpDeprecation) XXX_DiscardUnknown()

func (*OpDeprecation) XXX_Marshal added in v0.3.1

func (m *OpDeprecation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpDeprecation) XXX_Merge added in v0.3.1

func (m *OpDeprecation) XXX_Merge(src proto.Message)

func (*OpDeprecation) XXX_Size added in v0.3.1

func (m *OpDeprecation) XXX_Size() int

func (*OpDeprecation) XXX_Unmarshal added in v0.3.1

func (m *OpDeprecation) XXX_Unmarshal(b []byte) error

type OpList

type OpList struct {
	Op []*OpDef `protobuf:"bytes,1,rep,name=op,proto3" json:"op,omitempty"`
}

A collection of OpDefs

func (*OpList) Descriptor

func (*OpList) Descriptor() ([]byte, []int)

func (*OpList) GetOp

func (m *OpList) GetOp() []*OpDef

func (*OpList) Marshal

func (m *OpList) Marshal() (dAtA []byte, err error)

func (*OpList) MarshalTo

func (m *OpList) MarshalTo(dAtA []byte) (int, error)

func (*OpList) ProtoMessage

func (*OpList) ProtoMessage()

func (*OpList) Reset

func (m *OpList) Reset()

func (*OpList) Size

func (m *OpList) Size() (n int)

func (*OpList) String

func (m *OpList) String() string

func (*OpList) Unmarshal

func (m *OpList) Unmarshal(dAtA []byte) error

func (*OpList) XXX_DiscardUnknown added in v0.3.1

func (m *OpList) XXX_DiscardUnknown()

func (*OpList) XXX_Marshal added in v0.3.1

func (m *OpList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpList) XXX_Merge added in v0.3.1

func (m *OpList) XXX_Merge(src proto.Message)

func (*OpList) XXX_Size added in v0.3.1

func (m *OpList) XXX_Size() int

func (*OpList) XXX_Unmarshal added in v0.3.1

func (m *OpList) XXX_Unmarshal(b []byte) error

type Operation added in v0.3.1

type Operation struct {
	// A unique identifier for the operation. Set by the client so that the client
	// can uniquely identify the outputs of the scheduled operation.
	//
	// In the initial implementation, sending duplicate IDs has undefined
	// behaviour, but additional constraints may be placed upon this in the
	// future.
	Id     int64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name   string                `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Inputs []*RemoteTensorHandle `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"`
	// Control Operation IDs that will be respected when ops are re-ordered by
	// async execution. If async execution (+ op re-ordering) is not enabled, this
	// should have no effect.
	ControlOpIds []int64               `protobuf:"varint,4,rep,packed,name=control_op_ids,json=controlOpIds,proto3" json:"control_op_ids,omitempty"`
	Attrs        map[string]*AttrValue `` /* 151-byte string literal not displayed */
	Device       string                `protobuf:"bytes,6,opt,name=device,proto3" json:"device,omitempty"`
}

A proto representation of an eager operation.

func (*Operation) Descriptor added in v0.3.1

func (*Operation) Descriptor() ([]byte, []int)

func (*Operation) GetAttrs added in v0.3.1

func (m *Operation) GetAttrs() map[string]*AttrValue

func (*Operation) GetControlOpIds added in v0.3.1

func (m *Operation) GetControlOpIds() []int64

func (*Operation) GetDevice added in v0.3.1

func (m *Operation) GetDevice() string

func (*Operation) GetId added in v0.3.1

func (m *Operation) GetId() int64

func (*Operation) GetInputs added in v0.3.1

func (m *Operation) GetInputs() []*RemoteTensorHandle

func (*Operation) GetName added in v0.3.1

func (m *Operation) GetName() string

func (*Operation) Marshal added in v0.3.1

func (m *Operation) Marshal() (dAtA []byte, err error)

func (*Operation) MarshalTo added in v0.3.1

func (m *Operation) MarshalTo(dAtA []byte) (int, error)

func (*Operation) ProtoMessage added in v0.3.1

func (*Operation) ProtoMessage()

func (*Operation) Reset added in v0.3.1

func (m *Operation) Reset()

func (*Operation) Size added in v0.3.1

func (m *Operation) Size() (n int)

func (*Operation) String added in v0.3.1

func (m *Operation) String() string

func (*Operation) Unmarshal added in v0.3.1

func (m *Operation) Unmarshal(dAtA []byte) error

func (*Operation) XXX_DiscardUnknown added in v0.3.1

func (m *Operation) XXX_DiscardUnknown()

func (*Operation) XXX_Marshal added in v0.3.1

func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Operation) XXX_Merge added in v0.3.1

func (m *Operation) XXX_Merge(src proto.Message)

func (*Operation) XXX_Size added in v0.3.1

func (m *Operation) XXX_Size() int

func (*Operation) XXX_Unmarshal added in v0.3.1

func (m *Operation) XXX_Unmarshal(b []byte) error

type OptimizerOptions

type OptimizerOptions struct {
	// If true, optimize the graph using common subexpression elimination.
	DoCommonSubexpressionElimination bool `` /* 162-byte string literal not displayed */
	// If true, perform constant folding optimization on the graph.
	DoConstantFolding bool `protobuf:"varint,2,opt,name=do_constant_folding,json=doConstantFolding,proto3" json:"do_constant_folding,omitempty"`
	// Constant folding optimization replaces tensors whose values can be
	// predetermined, with constant nodes. To avoid inserting too large constants,
	// the size of each constant created can be limited. If this value is zero, a
	// default limit of 10 MiB will be applied. If constant folding optimization
	// is disabled, this value is ignored.
	MaxFoldedConstantInBytes int64 `` /* 140-byte string literal not displayed */
	// If true, perform function inlining on the graph.
	DoFunctionInlining bool `protobuf:"varint,4,opt,name=do_function_inlining,json=doFunctionInlining,proto3" json:"do_function_inlining,omitempty"`
	// Overall optimization level. The actual optimizations applied will be the
	// logical OR of the flags that this level implies and any flags already set.
	OptLevel       OptimizerOptions_Level          `protobuf:"varint,3,opt,name=opt_level,json=optLevel,proto3,enum=tensorflow.OptimizerOptions_Level" json:"opt_level,omitempty"`
	GlobalJitLevel OptimizerOptions_GlobalJitLevel `` /* 154-byte string literal not displayed */
}

Options passed to the graph optimizer

func (*OptimizerOptions) Descriptor

func (*OptimizerOptions) Descriptor() ([]byte, []int)

func (*OptimizerOptions) GetDoCommonSubexpressionElimination

func (m *OptimizerOptions) GetDoCommonSubexpressionElimination() bool

func (*OptimizerOptions) GetDoConstantFolding

func (m *OptimizerOptions) GetDoConstantFolding() bool

func (*OptimizerOptions) GetDoFunctionInlining

func (m *OptimizerOptions) GetDoFunctionInlining() bool

func (*OptimizerOptions) GetGlobalJitLevel

func (m *OptimizerOptions) GetGlobalJitLevel() OptimizerOptions_GlobalJitLevel

func (*OptimizerOptions) GetMaxFoldedConstantInBytes added in v0.3.1

func (m *OptimizerOptions) GetMaxFoldedConstantInBytes() int64

func (*OptimizerOptions) GetOptLevel

func (m *OptimizerOptions) GetOptLevel() OptimizerOptions_Level

func (*OptimizerOptions) Marshal

func (m *OptimizerOptions) Marshal() (dAtA []byte, err error)

func (*OptimizerOptions) MarshalTo

func (m *OptimizerOptions) MarshalTo(dAtA []byte) (int, error)

func (*OptimizerOptions) ProtoMessage

func (*OptimizerOptions) ProtoMessage()

func (*OptimizerOptions) Reset

func (m *OptimizerOptions) Reset()

func (*OptimizerOptions) Size

func (m *OptimizerOptions) Size() (n int)

func (*OptimizerOptions) String

func (m *OptimizerOptions) String() string

func (*OptimizerOptions) Unmarshal

func (m *OptimizerOptions) Unmarshal(dAtA []byte) error

func (*OptimizerOptions) XXX_DiscardUnknown added in v0.3.1

func (m *OptimizerOptions) XXX_DiscardUnknown()

func (*OptimizerOptions) XXX_Marshal added in v0.3.1

func (m *OptimizerOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OptimizerOptions) XXX_Merge added in v0.3.1

func (m *OptimizerOptions) XXX_Merge(src proto.Message)

func (*OptimizerOptions) XXX_Size added in v0.3.1

func (m *OptimizerOptions) XXX_Size() int

func (*OptimizerOptions) XXX_Unmarshal added in v0.3.1

func (m *OptimizerOptions) XXX_Unmarshal(b []byte) error

type OptimizerOptions_GlobalJitLevel

type OptimizerOptions_GlobalJitLevel int32

Control the use of the compiler/jit. Experimental.

const (
	OptimizerOptions_DEFAULT OptimizerOptions_GlobalJitLevel = 0
	OptimizerOptions_OFF     OptimizerOptions_GlobalJitLevel = -1
	// The following settings turn on compilation, with higher values being
	// more aggressive.  Higher values may reduce opportunities for parallelism
	// and may use more memory.  (At present, there is no distinction, but this
	// is expected to change.)
	OptimizerOptions_ON_1 OptimizerOptions_GlobalJitLevel = 1
	OptimizerOptions_ON_2 OptimizerOptions_GlobalJitLevel = 2
)

func (OptimizerOptions_GlobalJitLevel) EnumDescriptor

func (OptimizerOptions_GlobalJitLevel) EnumDescriptor() ([]byte, []int)

func (OptimizerOptions_GlobalJitLevel) String

type OptimizerOptions_Level

type OptimizerOptions_Level int32

Optimization level

const (
	// L1 is the default level.
	// Optimization performed at L1 :
	// 1. Common subexpression elimination
	// 2. Constant folding
	OptimizerOptions_L1 OptimizerOptions_Level = 0
	// No optimizations
	OptimizerOptions_L0 OptimizerOptions_Level = -1
)

func (OptimizerOptions_Level) EnumDescriptor

func (OptimizerOptions_Level) EnumDescriptor() ([]byte, []int)

func (OptimizerOptions_Level) String

func (x OptimizerOptions_Level) String() string

type PartialRunSetupRequest

type PartialRunSetupRequest struct {
	// REQUIRED: session_handle must be returned by a CreateSession call
	// to the same master service.
	SessionHandle string `protobuf:"bytes,1,opt,name=session_handle,json=sessionHandle,proto3" json:"session_handle,omitempty"`
	// Tensors to be fed in future steps.
	Feed []string `protobuf:"bytes,2,rep,name=feed,proto3" json:"feed,omitempty"`
	// Fetches. A list of tensor names. The caller expects a tensor to be returned
	// for each fetch[i] (see RunStepResponse.tensor), for corresponding partial
	// RunStepRequests. The order of specified fetches does not change the
	// execution order.
	Fetch []string `protobuf:"bytes,3,rep,name=fetch,proto3" json:"fetch,omitempty"`
	// Target Nodes. A list of node names. The named nodes will be run in future
	// steps, but their outputs will not be fetched.
	Target []string `protobuf:"bytes,4,rep,name=target,proto3" json:"target,omitempty"`
}

func (*PartialRunSetupRequest) Descriptor

func (*PartialRunSetupRequest) Descriptor() ([]byte, []int)

func (*PartialRunSetupRequest) GetFeed

func (m *PartialRunSetupRequest) GetFeed() []string

func (*PartialRunSetupRequest) GetFetch

func (m *PartialRunSetupRequest) GetFetch() []string

func (*PartialRunSetupRequest) GetSessionHandle

func (m *PartialRunSetupRequest) GetSessionHandle() string

func (*PartialRunSetupRequest) GetTarget

func (m *PartialRunSetupRequest) GetTarget() []string

func (*PartialRunSetupRequest) Marshal

func (m *PartialRunSetupRequest) Marshal() (dAtA []byte, err error)

func (*PartialRunSetupRequest) MarshalTo

func (m *PartialRunSetupRequest) MarshalTo(dAtA []byte) (int, error)

func (*PartialRunSetupRequest) ProtoMessage

func (*PartialRunSetupRequest) ProtoMessage()

func (*PartialRunSetupRequest) Reset

func (m *PartialRunSetupRequest) Reset()

func (*PartialRunSetupRequest) Size

func (m *PartialRunSetupRequest) Size() (n int)

func (*PartialRunSetupRequest) String

func (m *PartialRunSetupRequest) String() string

func (*PartialRunSetupRequest) Unmarshal

func (m *PartialRunSetupRequest) Unmarshal(dAtA []byte) error

func (*PartialRunSetupRequest) XXX_DiscardUnknown added in v0.3.1

func (m *PartialRunSetupRequest) XXX_DiscardUnknown()

func (*PartialRunSetupRequest) XXX_Marshal added in v0.3.1

func (m *PartialRunSetupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PartialRunSetupRequest) XXX_Merge added in v0.3.1

func (m *PartialRunSetupRequest) XXX_Merge(src proto.Message)

func (*PartialRunSetupRequest) XXX_Size added in v0.3.1

func (m *PartialRunSetupRequest) XXX_Size() int

func (*PartialRunSetupRequest) XXX_Unmarshal added in v0.3.1

func (m *PartialRunSetupRequest) XXX_Unmarshal(b []byte) error

type PartialRunSetupResponse

type PartialRunSetupResponse struct {
	// The unique handle corresponding to the ongoing partial run call setup by
	// the invocation to PartialRunSetup. This handle may be passed to
	// RunStepRequest to send and receive tensors for this partial run.
	PartialRunHandle string `protobuf:"bytes,1,opt,name=partial_run_handle,json=partialRunHandle,proto3" json:"partial_run_handle,omitempty"`
}

func (*PartialRunSetupResponse) Descriptor

func (*PartialRunSetupResponse) Descriptor() ([]byte, []int)

func (*PartialRunSetupResponse) GetPartialRunHandle

func (m *PartialRunSetupResponse) GetPartialRunHandle() string

func (*PartialRunSetupResponse) Marshal

func (m *PartialRunSetupResponse) Marshal() (dAtA []byte, err error)

func (*PartialRunSetupResponse) MarshalTo

func (m *PartialRunSetupResponse) MarshalTo(dAtA []byte) (int, error)

func (*PartialRunSetupResponse) ProtoMessage

func (*PartialRunSetupResponse) ProtoMessage()

func (*PartialRunSetupResponse) Reset

func (m *PartialRunSetupResponse) Reset()

func (*PartialRunSetupResponse) Size

func (m *PartialRunSetupResponse) Size() (n int)

func (*PartialRunSetupResponse) String

func (m *PartialRunSetupResponse) String() string

func (*PartialRunSetupResponse) Unmarshal

func (m *PartialRunSetupResponse) Unmarshal(dAtA []byte) error

func (*PartialRunSetupResponse) XXX_DiscardUnknown added in v0.3.1

func (m *PartialRunSetupResponse) XXX_DiscardUnknown()

func (*PartialRunSetupResponse) XXX_Marshal added in v0.3.1

func (m *PartialRunSetupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PartialRunSetupResponse) XXX_Merge added in v0.3.1

func (m *PartialRunSetupResponse) XXX_Merge(src proto.Message)

func (*PartialRunSetupResponse) XXX_Size added in v0.3.1

func (m *PartialRunSetupResponse) XXX_Size() int

func (*PartialRunSetupResponse) XXX_Unmarshal added in v0.3.1

func (m *PartialRunSetupResponse) XXX_Unmarshal(b []byte) error

type QueueItem added in v0.3.1

type QueueItem struct {
	// The remote executor should be able to handle either executing ops directly,
	// or releasing any unused tensor handles, since the tensor lifetime is
	// maintained by the client.
	//
	// Types that are valid to be assigned to Item:
	//	*QueueItem_HandleToDecref
	//	*QueueItem_Operation
	Item isQueueItem_Item `protobuf_oneof:"item"`
}

func (*QueueItem) Descriptor added in v0.3.1

func (*QueueItem) Descriptor() ([]byte, []int)

func (*QueueItem) GetHandleToDecref added in v0.3.1

func (m *QueueItem) GetHandleToDecref() *RemoteTensorHandle

func (*QueueItem) GetItem added in v0.3.1

func (m *QueueItem) GetItem() isQueueItem_Item

func (*QueueItem) GetOperation added in v0.3.1

func (m *QueueItem) GetOperation() *Operation

func (*QueueItem) Marshal added in v0.3.1

func (m *QueueItem) Marshal() (dAtA []byte, err error)

func (*QueueItem) MarshalTo added in v0.3.1

func (m *QueueItem) MarshalTo(dAtA []byte) (int, error)

func (*QueueItem) ProtoMessage added in v0.3.1

func (*QueueItem) ProtoMessage()

func (*QueueItem) Reset added in v0.3.1

func (m *QueueItem) Reset()

func (*QueueItem) Size added in v0.3.1

func (m *QueueItem) Size() (n int)

func (*QueueItem) String added in v0.3.1

func (m *QueueItem) String() string

func (*QueueItem) Unmarshal added in v0.3.1

func (m *QueueItem) Unmarshal(dAtA []byte) error

func (*QueueItem) XXX_DiscardUnknown added in v0.3.1

func (m *QueueItem) XXX_DiscardUnknown()

func (*QueueItem) XXX_Marshal added in v0.3.1

func (m *QueueItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueueItem) XXX_Merge added in v0.3.1

func (m *QueueItem) XXX_Merge(src proto.Message)

func (*QueueItem) XXX_OneofFuncs added in v0.3.1

func (*QueueItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*QueueItem) XXX_Size added in v0.3.1

func (m *QueueItem) XXX_Size() int

func (*QueueItem) XXX_Unmarshal added in v0.3.1

func (m *QueueItem) XXX_Unmarshal(b []byte) error

type QueueItem_HandleToDecref added in v0.3.1

type QueueItem_HandleToDecref struct {
	HandleToDecref *RemoteTensorHandle `protobuf:"bytes,1,opt,name=handle_to_decref,json=handleToDecref,proto3,oneof"`
}

func (*QueueItem_HandleToDecref) MarshalTo added in v0.3.1

func (m *QueueItem_HandleToDecref) MarshalTo(dAtA []byte) (int, error)

func (*QueueItem_HandleToDecref) Size added in v0.3.1

func (m *QueueItem_HandleToDecref) Size() (n int)

type QueueItem_Operation added in v0.3.1

type QueueItem_Operation struct {
	Operation *Operation `protobuf:"bytes,2,opt,name=operation,proto3,oneof"`
}

func (*QueueItem_Operation) MarshalTo added in v0.3.1

func (m *QueueItem_Operation) MarshalTo(dAtA []byte) (int, error)

func (*QueueItem_Operation) Size added in v0.3.1

func (m *QueueItem_Operation) Size() (n int)

type QueueResponse added in v0.3.1

type QueueResponse struct {
	Shape []*TensorShapeProto `protobuf:"bytes,1,rep,name=shape,proto3" json:"shape,omitempty"`
}

func (*QueueResponse) Descriptor added in v0.3.1

func (*QueueResponse) Descriptor() ([]byte, []int)

func (*QueueResponse) GetShape added in v0.3.1

func (m *QueueResponse) GetShape() []*TensorShapeProto

func (*QueueResponse) Marshal added in v0.3.1

func (m *QueueResponse) Marshal() (dAtA []byte, err error)

func (*QueueResponse) MarshalTo added in v0.3.1

func (m *QueueResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueueResponse) ProtoMessage added in v0.3.1

func (*QueueResponse) ProtoMessage()

func (*QueueResponse) Reset added in v0.3.1

func (m *QueueResponse) Reset()

func (*QueueResponse) Size added in v0.3.1

func (m *QueueResponse) Size() (n int)

func (*QueueResponse) String added in v0.3.1

func (m *QueueResponse) String() string

func (*QueueResponse) Unmarshal added in v0.3.1

func (m *QueueResponse) Unmarshal(dAtA []byte) error

func (*QueueResponse) XXX_DiscardUnknown added in v0.3.1

func (m *QueueResponse) XXX_DiscardUnknown()

func (*QueueResponse) XXX_Marshal added in v0.3.1

func (m *QueueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueueResponse) XXX_Merge added in v0.3.1

func (m *QueueResponse) XXX_Merge(src proto.Message)

func (*QueueResponse) XXX_Size added in v0.3.1

func (m *QueueResponse) XXX_Size() int

func (*QueueResponse) XXX_Unmarshal added in v0.3.1

func (m *QueueResponse) XXX_Unmarshal(b []byte) error

type QueueRunnerDef

type QueueRunnerDef struct {
	// Queue name.
	QueueName string `protobuf:"bytes,1,opt,name=queue_name,json=queueName,proto3" json:"queue_name,omitempty"`
	// A list of enqueue operations.
	EnqueueOpName []string `protobuf:"bytes,2,rep,name=enqueue_op_name,json=enqueueOpName,proto3" json:"enqueue_op_name,omitempty"`
	// The operation to run to close the queue.
	CloseOpName string `protobuf:"bytes,3,opt,name=close_op_name,json=closeOpName,proto3" json:"close_op_name,omitempty"`
	// The operation to run to cancel the queue.
	CancelOpName string `protobuf:"bytes,4,opt,name=cancel_op_name,json=cancelOpName,proto3" json:"cancel_op_name,omitempty"`
	// A list of exception types considered to signal a safely closed queue
	// if raised during enqueue operations.
	QueueClosedExceptionTypes []Code `` /* 175-byte string literal not displayed */
}

Protocol buffer representing a QueueRunner.

func (*QueueRunnerDef) Descriptor

func (*QueueRunnerDef) Descriptor() ([]byte, []int)

func (*QueueRunnerDef) GetCancelOpName

func (m *QueueRunnerDef) GetCancelOpName() string

func (*QueueRunnerDef) GetCloseOpName

func (m *QueueRunnerDef) GetCloseOpName() string

func (*QueueRunnerDef) GetEnqueueOpName

func (m *QueueRunnerDef) GetEnqueueOpName() []string

func (*QueueRunnerDef) GetQueueClosedExceptionTypes

func (m *QueueRunnerDef) GetQueueClosedExceptionTypes() []Code

func (*QueueRunnerDef) GetQueueName

func (m *QueueRunnerDef) GetQueueName() string

func (*QueueRunnerDef) Marshal

func (m *QueueRunnerDef) Marshal() (dAtA []byte, err error)

func (*QueueRunnerDef) MarshalTo

func (m *QueueRunnerDef) MarshalTo(dAtA []byte) (int, error)

func (*QueueRunnerDef) ProtoMessage

func (*QueueRunnerDef) ProtoMessage()

func (*QueueRunnerDef) Reset

func (m *QueueRunnerDef) Reset()

func (*QueueRunnerDef) Size

func (m *QueueRunnerDef) Size() (n int)

func (*QueueRunnerDef) String

func (m *QueueRunnerDef) String() string

func (*QueueRunnerDef) Unmarshal

func (m *QueueRunnerDef) Unmarshal(dAtA []byte) error

func (*QueueRunnerDef) XXX_DiscardUnknown added in v0.3.1

func (m *QueueRunnerDef) XXX_DiscardUnknown()

func (*QueueRunnerDef) XXX_Marshal added in v0.3.1

func (m *QueueRunnerDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueueRunnerDef) XXX_Merge added in v0.3.1

func (m *QueueRunnerDef) XXX_Merge(src proto.Message)

func (*QueueRunnerDef) XXX_Size added in v0.3.1

func (m *QueueRunnerDef) XXX_Size() int

func (*QueueRunnerDef) XXX_Unmarshal added in v0.3.1

func (m *QueueRunnerDef) XXX_Unmarshal(b []byte) error

type RPCOptions

type RPCOptions struct {
	// If true, always use RPC to contact the session target.
	//
	// If false (the default option), TensorFlow may use an optimized
	// transport for client-master communication that avoids the RPC
	// stack. This option is primarily for used testing the RPC stack.
	UseRpcForInprocessMaster bool `` /* 140-byte string literal not displayed */
}

func (*RPCOptions) Descriptor

func (*RPCOptions) Descriptor() ([]byte, []int)

func (*RPCOptions) GetUseRpcForInprocessMaster

func (m *RPCOptions) GetUseRpcForInprocessMaster() bool

func (*RPCOptions) Marshal

func (m *RPCOptions) Marshal() (dAtA []byte, err error)

func (*RPCOptions) MarshalTo

func (m *RPCOptions) MarshalTo(dAtA []byte) (int, error)

func (*RPCOptions) ProtoMessage

func (*RPCOptions) ProtoMessage()

func (*RPCOptions) Reset

func (m *RPCOptions) Reset()

func (*RPCOptions) Size

func (m *RPCOptions) Size() (n int)

func (*RPCOptions) String

func (m *RPCOptions) String() string

func (*RPCOptions) Unmarshal

func (m *RPCOptions) Unmarshal(dAtA []byte) error

func (*RPCOptions) XXX_DiscardUnknown added in v0.3.1

func (m *RPCOptions) XXX_DiscardUnknown()

func (*RPCOptions) XXX_Marshal added in v0.3.1

func (m *RPCOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RPCOptions) XXX_Merge added in v0.3.1

func (m *RPCOptions) XXX_Merge(src proto.Message)

func (*RPCOptions) XXX_Size added in v0.3.1

func (m *RPCOptions) XXX_Size() int

func (*RPCOptions) XXX_Unmarshal added in v0.3.1

func (m *RPCOptions) XXX_Unmarshal(b []byte) error

type ReaderBaseState

type ReaderBaseState struct {
	WorkStarted        int64  `protobuf:"varint,1,opt,name=work_started,json=workStarted,proto3" json:"work_started,omitempty"`
	WorkFinished       int64  `protobuf:"varint,2,opt,name=work_finished,json=workFinished,proto3" json:"work_finished,omitempty"`
	NumRecordsProduced int64  `protobuf:"varint,3,opt,name=num_records_produced,json=numRecordsProduced,proto3" json:"num_records_produced,omitempty"`
	CurrentWork        []byte `protobuf:"bytes,4,opt,name=current_work,json=currentWork,proto3" json:"current_work,omitempty"`
}

For serializing and restoring the state of ReaderBase, see reader_base.h for details.

func (*ReaderBaseState) Descriptor

func (*ReaderBaseState) Descriptor() ([]byte, []int)

func (*ReaderBaseState) GetCurrentWork

func (m *ReaderBaseState) GetCurrentWork() []byte

func (*ReaderBaseState) GetNumRecordsProduced

func (m *ReaderBaseState) GetNumRecordsProduced() int64

func (*ReaderBaseState) GetWorkFinished

func (m *ReaderBaseState) GetWorkFinished() int64

func (*ReaderBaseState) GetWorkStarted

func (m *ReaderBaseState) GetWorkStarted() int64

func (*ReaderBaseState) Marshal

func (m *ReaderBaseState) Marshal() (dAtA []byte, err error)

func (*ReaderBaseState) MarshalTo

func (m *ReaderBaseState) MarshalTo(dAtA []byte) (int, error)

func (*ReaderBaseState) ProtoMessage

func (*ReaderBaseState) ProtoMessage()

func (*ReaderBaseState) Reset

func (m *ReaderBaseState) Reset()

func (*ReaderBaseState) Size

func (m *ReaderBaseState) Size() (n int)

func (*ReaderBaseState) String

func (m *ReaderBaseState) String() string

func (*ReaderBaseState) Unmarshal

func (m *ReaderBaseState) Unmarshal(dAtA []byte) error

func (*ReaderBaseState) XXX_DiscardUnknown added in v0.3.1

func (m *ReaderBaseState) XXX_DiscardUnknown()

func (*ReaderBaseState) XXX_Marshal added in v0.3.1

func (m *ReaderBaseState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReaderBaseState) XXX_Merge added in v0.3.1

func (m *ReaderBaseState) XXX_Merge(src proto.Message)

func (*ReaderBaseState) XXX_Size added in v0.3.1

func (m *ReaderBaseState) XXX_Size() int

func (*ReaderBaseState) XXX_Unmarshal added in v0.3.1

func (m *ReaderBaseState) XXX_Unmarshal(b []byte) error

type RecvBufRequest added in v0.3.1

type RecvBufRequest struct {
	// Used at server side to find the correct BufRendezvous.
	StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// Arbitrary string identifying a BufRendezvous entry.
	BufRendezvousKey string `protobuf:"bytes,2,opt,name=buf_rendezvous_key,json=bufRendezvousKey,proto3" json:"buf_rendezvous_key,omitempty"`
	// Size of value expected, must agree with BufRendezvous entry.
	NumBytes int64 `protobuf:"varint,3,opt,name=num_bytes,json=numBytes,proto3" json:"num_bytes,omitempty"`
	// When RDMA is in use, address of destination field on client.
	BufPtr uint64 `protobuf:"fixed64,4,opt,name=buf_ptr,json=bufPtr,proto3" json:"buf_ptr,omitempty"`
	// Optional information on client-side device locality.
	ClientLocality *DeviceLocality `protobuf:"bytes,5,opt,name=client_locality,json=clientLocality,proto3" json:"client_locality,omitempty"`
	// Optional information on server-side device locality.
	ServerLocality *DeviceLocality `protobuf:"bytes,6,opt,name=server_locality,json=serverLocality,proto3" json:"server_locality,omitempty"`
	// Optional, implementation-specific data.
	TransportOptions *types.Any `protobuf:"bytes,7,opt,name=transport_options,json=transportOptions,proto3" json:"transport_options,omitempty"`
	// Optional, for annotating the timeline.
	SrcDevice string `protobuf:"bytes,8,opt,name=src_device,json=srcDevice,proto3" json:"src_device,omitempty"`
	DstDevice string `protobuf:"bytes,9,opt,name=dst_device,json=dstDevice,proto3" json:"dst_device,omitempty"`
	// Depending on the RPC system in use, it may be necessary to set this
	// id to detect resends of RPCs where the server is not aware that
	// the prior RPC failed.
	RequestId int64 `protobuf:"varint,10,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
}

func (*RecvBufRequest) Descriptor added in v0.3.1

func (*RecvBufRequest) Descriptor() ([]byte, []int)

func (*RecvBufRequest) GetBufPtr added in v0.3.1

func (m *RecvBufRequest) GetBufPtr() uint64

func (*RecvBufRequest) GetBufRendezvousKey added in v0.3.1

func (m *RecvBufRequest) GetBufRendezvousKey() string

func (*RecvBufRequest) GetClientLocality added in v0.3.1

func (m *RecvBufRequest) GetClientLocality() *DeviceLocality

func (*RecvBufRequest) GetDstDevice added in v0.3.1

func (m *RecvBufRequest) GetDstDevice() string

func (*RecvBufRequest) GetNumBytes added in v0.3.1

func (m *RecvBufRequest) GetNumBytes() int64

func (*RecvBufRequest) GetRequestId added in v0.3.1

func (m *RecvBufRequest) GetRequestId() int64

func (*RecvBufRequest) GetServerLocality added in v0.3.1

func (m *RecvBufRequest) GetServerLocality() *DeviceLocality

func (*RecvBufRequest) GetSrcDevice added in v0.3.1

func (m *RecvBufRequest) GetSrcDevice() string

func (*RecvBufRequest) GetStepId added in v0.3.1

func (m *RecvBufRequest) GetStepId() int64

func (*RecvBufRequest) GetTransportOptions added in v0.3.1

func (m *RecvBufRequest) GetTransportOptions() *types.Any

func (*RecvBufRequest) Marshal added in v0.3.1

func (m *RecvBufRequest) Marshal() (dAtA []byte, err error)

func (*RecvBufRequest) MarshalTo added in v0.3.1

func (m *RecvBufRequest) MarshalTo(dAtA []byte) (int, error)

func (*RecvBufRequest) ProtoMessage added in v0.3.1

func (*RecvBufRequest) ProtoMessage()

func (*RecvBufRequest) Reset added in v0.3.1

func (m *RecvBufRequest) Reset()

func (*RecvBufRequest) Size added in v0.3.1

func (m *RecvBufRequest) Size() (n int)

func (*RecvBufRequest) String added in v0.3.1

func (m *RecvBufRequest) String() string

func (*RecvBufRequest) Unmarshal added in v0.3.1

func (m *RecvBufRequest) Unmarshal(dAtA []byte) error

func (*RecvBufRequest) XXX_DiscardUnknown added in v0.3.1

func (m *RecvBufRequest) XXX_DiscardUnknown()

func (*RecvBufRequest) XXX_Marshal added in v0.3.1

func (m *RecvBufRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecvBufRequest) XXX_Merge added in v0.3.1

func (m *RecvBufRequest) XXX_Merge(src proto.Message)

func (*RecvBufRequest) XXX_Size added in v0.3.1

func (m *RecvBufRequest) XXX_Size() int

func (*RecvBufRequest) XXX_Unmarshal added in v0.3.1

func (m *RecvBufRequest) XXX_Unmarshal(b []byte) error

type RecvBufRespExtra added in v0.3.1

type RecvBufRespExtra struct {
	TensorContent []byte `protobuf:"bytes,1,opt,name=tensor_content,json=tensorContent,proto3" json:"tensor_content,omitempty"`
}

Extra data needed on a non-RDMA RecvBufResponse.

func (*RecvBufRespExtra) Descriptor added in v0.3.1

func (*RecvBufRespExtra) Descriptor() ([]byte, []int)

func (*RecvBufRespExtra) GetTensorContent added in v0.3.1

func (m *RecvBufRespExtra) GetTensorContent() []byte

func (*RecvBufRespExtra) Marshal added in v0.3.1

func (m *RecvBufRespExtra) Marshal() (dAtA []byte, err error)

func (*RecvBufRespExtra) MarshalTo added in v0.3.1

func (m *RecvBufRespExtra) MarshalTo(dAtA []byte) (int, error)

func (*RecvBufRespExtra) ProtoMessage added in v0.3.1

func (*RecvBufRespExtra) ProtoMessage()

func (*RecvBufRespExtra) Reset added in v0.3.1

func (m *RecvBufRespExtra) Reset()

func (*RecvBufRespExtra) Size added in v0.3.1

func (m *RecvBufRespExtra) Size() (n int)

func (*RecvBufRespExtra) String added in v0.3.1

func (m *RecvBufRespExtra) String() string

func (*RecvBufRespExtra) Unmarshal added in v0.3.1

func (m *RecvBufRespExtra) Unmarshal(dAtA []byte) error

func (*RecvBufRespExtra) XXX_DiscardUnknown added in v0.3.1

func (m *RecvBufRespExtra) XXX_DiscardUnknown()

func (*RecvBufRespExtra) XXX_Marshal added in v0.3.1

func (m *RecvBufRespExtra) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecvBufRespExtra) XXX_Merge added in v0.3.1

func (m *RecvBufRespExtra) XXX_Merge(src proto.Message)

func (*RecvBufRespExtra) XXX_Size added in v0.3.1

func (m *RecvBufRespExtra) XXX_Size() int

func (*RecvBufRespExtra) XXX_Unmarshal added in v0.3.1

func (m *RecvBufRespExtra) XXX_Unmarshal(b []byte) error

type RecvBufResponse added in v0.3.1

type RecvBufResponse struct {
	BufPtr   uint64 `protobuf:"fixed64,1,opt,name=buf_ptr,json=bufPtr,proto3" json:"buf_ptr,omitempty"`
	NumBytes int64  `protobuf:"varint,2,opt,name=num_bytes,json=numBytes,proto3" json:"num_bytes,omitempty"`
	IsDead   bool   `protobuf:"varint,3,opt,name=is_dead,json=isDead,proto3" json:"is_dead,omitempty"`
	// Optional, implementation-specific data.
	TransportOptions *types.Any `protobuf:"bytes,4,opt,name=transport_options,json=transportOptions,proto3" json:"transport_options,omitempty"`
	// Optional, for timeline.
	SendStartMicros int64 `protobuf:"varint,5,opt,name=send_start_micros,json=sendStartMicros,proto3" json:"send_start_micros,omitempty"`
}

func (*RecvBufResponse) Descriptor added in v0.3.1

func (*RecvBufResponse) Descriptor() ([]byte, []int)

func (*RecvBufResponse) GetBufPtr added in v0.3.1

func (m *RecvBufResponse) GetBufPtr() uint64

func (*RecvBufResponse) GetIsDead added in v0.3.1

func (m *RecvBufResponse) GetIsDead() bool

func (*RecvBufResponse) GetNumBytes added in v0.3.1

func (m *RecvBufResponse) GetNumBytes() int64

func (*RecvBufResponse) GetSendStartMicros added in v0.3.1

func (m *RecvBufResponse) GetSendStartMicros() int64

func (*RecvBufResponse) GetTransportOptions added in v0.3.1

func (m *RecvBufResponse) GetTransportOptions() *types.Any

func (*RecvBufResponse) Marshal added in v0.3.1

func (m *RecvBufResponse) Marshal() (dAtA []byte, err error)

func (*RecvBufResponse) MarshalTo added in v0.3.1

func (m *RecvBufResponse) MarshalTo(dAtA []byte) (int, error)

func (*RecvBufResponse) ProtoMessage added in v0.3.1

func (*RecvBufResponse) ProtoMessage()

func (*RecvBufResponse) Reset added in v0.3.1

func (m *RecvBufResponse) Reset()

func (*RecvBufResponse) Size added in v0.3.1

func (m *RecvBufResponse) Size() (n int)

func (*RecvBufResponse) String added in v0.3.1

func (m *RecvBufResponse) String() string

func (*RecvBufResponse) Unmarshal added in v0.3.1

func (m *RecvBufResponse) Unmarshal(dAtA []byte) error

func (*RecvBufResponse) XXX_DiscardUnknown added in v0.3.1

func (m *RecvBufResponse) XXX_DiscardUnknown()

func (*RecvBufResponse) XXX_Marshal added in v0.3.1

func (m *RecvBufResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecvBufResponse) XXX_Merge added in v0.3.1

func (m *RecvBufResponse) XXX_Merge(src proto.Message)

func (*RecvBufResponse) XXX_Size added in v0.3.1

func (m *RecvBufResponse) XXX_Size() int

func (*RecvBufResponse) XXX_Unmarshal added in v0.3.1

func (m *RecvBufResponse) XXX_Unmarshal(b []byte) error

type RecvTensorRequest

type RecvTensorRequest struct {
	// The step in which the tensor will be produced.
	//
	// REQUIRED: This must eventually correspond to the `step_id` passed
	// into a RunGraph call on the same WorkerService.
	StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// A key identifying the channel to receive tensors from. A RecvTensor request
	// retrieves one tensor from the channel, but multiple tensors can be sent and
	// received over the same channel with multiple RecvTensor requests. See
	// rendezvous.h for details.
	RendezvousKey string `protobuf:"bytes,2,opt,name=rendezvous_key,json=rendezvousKey,proto3" json:"rendezvous_key,omitempty"`
	// If true, use an out-of-band DMA mechanism to transfer the
	// received tensor.
	DmaOk bool `protobuf:"varint,3,opt,name=dma_ok,json=dmaOk,proto3" json:"dma_ok,omitempty"`
	// Optional information on client-side device locality.
	ClientLocality *DeviceLocality `protobuf:"bytes,4,opt,name=client_locality,json=clientLocality,proto3" json:"client_locality,omitempty"`
	// Optional information on server-side device locality.
	ServerLocality *DeviceLocality `protobuf:"bytes,5,opt,name=server_locality,json=serverLocality,proto3" json:"server_locality,omitempty"`
	// Optional information needed by the RPC subsystem.
	TransportOptions *types.Any `protobuf:"bytes,6,opt,name=transport_options,json=transportOptions,proto3" json:"transport_options,omitempty"`
	// Unique identifier for this request. Every RecvTensorRequest must have a
	// unique request_id, and retried RecvTensorRequests must have the same
	// request_id. If request_id is zero, retry detection is disabled.
	//
	// Retried RecvTensorRequests are problematic because a RecvTensor with no
	// corresponding sender will wait forever, and the tensor may have been
	// delivered to a previous retry. Workers use request_ids to reject retried
	// RecvTensor requests instead of waiting forever.
	RequestId int64 `protobuf:"varint,7,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
}

func (*RecvTensorRequest) Descriptor

func (*RecvTensorRequest) Descriptor() ([]byte, []int)

func (*RecvTensorRequest) GetClientLocality

func (m *RecvTensorRequest) GetClientLocality() *DeviceLocality

func (*RecvTensorRequest) GetDmaOk

func (m *RecvTensorRequest) GetDmaOk() bool

func (*RecvTensorRequest) GetRendezvousKey

func (m *RecvTensorRequest) GetRendezvousKey() string

func (*RecvTensorRequest) GetRequestId added in v0.3.1

func (m *RecvTensorRequest) GetRequestId() int64

func (*RecvTensorRequest) GetServerLocality

func (m *RecvTensorRequest) GetServerLocality() *DeviceLocality

func (*RecvTensorRequest) GetStepId

func (m *RecvTensorRequest) GetStepId() int64

func (*RecvTensorRequest) GetTransportOptions

func (m *RecvTensorRequest) GetTransportOptions() *types.Any

func (*RecvTensorRequest) Marshal

func (m *RecvTensorRequest) Marshal() (dAtA []byte, err error)

func (*RecvTensorRequest) MarshalTo

func (m *RecvTensorRequest) MarshalTo(dAtA []byte) (int, error)

func (*RecvTensorRequest) ProtoMessage

func (*RecvTensorRequest) ProtoMessage()

func (*RecvTensorRequest) Reset

func (m *RecvTensorRequest) Reset()

func (*RecvTensorRequest) Size

func (m *RecvTensorRequest) Size() (n int)

func (*RecvTensorRequest) String

func (m *RecvTensorRequest) String() string

func (*RecvTensorRequest) Unmarshal

func (m *RecvTensorRequest) Unmarshal(dAtA []byte) error

func (*RecvTensorRequest) XXX_DiscardUnknown added in v0.3.1

func (m *RecvTensorRequest) XXX_DiscardUnknown()

func (*RecvTensorRequest) XXX_Marshal added in v0.3.1

func (m *RecvTensorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecvTensorRequest) XXX_Merge added in v0.3.1

func (m *RecvTensorRequest) XXX_Merge(src proto.Message)

func (*RecvTensorRequest) XXX_Size added in v0.3.1

func (m *RecvTensorRequest) XXX_Size() int

func (*RecvTensorRequest) XXX_Unmarshal added in v0.3.1

func (m *RecvTensorRequest) XXX_Unmarshal(b []byte) error

type RecvTensorResponse

type RecvTensorResponse struct {
	// The tensor as a proto.
	Tensor *TensorProto `protobuf:"bytes,1,opt,name=tensor,proto3" json:"tensor,omitempty"`
	// If true, this tensor was the output of a dead node, and the
	// content is invalid.
	IsDead bool `protobuf:"varint,2,opt,name=is_dead,json=isDead,proto3" json:"is_dead,omitempty"`
	// The time at which tensor was available and started to be returned.
	SendStartMicros int64 `protobuf:"varint,3,opt,name=send_start_micros,json=sendStartMicros,proto3" json:"send_start_micros,omitempty"`
	// Optional additional information about how to receive the tensor,
	// e.g. in the event that `RecvTensorRequest.dma_ok` was true.
	TransportOptions *types.Any `protobuf:"bytes,4,opt,name=transport_options,json=transportOptions,proto3" json:"transport_options,omitempty"`
}

func (*RecvTensorResponse) Descriptor

func (*RecvTensorResponse) Descriptor() ([]byte, []int)

func (*RecvTensorResponse) GetIsDead

func (m *RecvTensorResponse) GetIsDead() bool

func (*RecvTensorResponse) GetSendStartMicros

func (m *RecvTensorResponse) GetSendStartMicros() int64

func (*RecvTensorResponse) GetTensor

func (m *RecvTensorResponse) GetTensor() *TensorProto

func (*RecvTensorResponse) GetTransportOptions

func (m *RecvTensorResponse) GetTransportOptions() *types.Any

func (*RecvTensorResponse) Marshal

func (m *RecvTensorResponse) Marshal() (dAtA []byte, err error)

func (*RecvTensorResponse) MarshalTo

func (m *RecvTensorResponse) MarshalTo(dAtA []byte) (int, error)

func (*RecvTensorResponse) ProtoMessage

func (*RecvTensorResponse) ProtoMessage()

func (*RecvTensorResponse) Reset

func (m *RecvTensorResponse) Reset()

func (*RecvTensorResponse) Size

func (m *RecvTensorResponse) Size() (n int)

func (*RecvTensorResponse) String

func (m *RecvTensorResponse) String() string

func (*RecvTensorResponse) Unmarshal

func (m *RecvTensorResponse) Unmarshal(dAtA []byte) error

func (*RecvTensorResponse) XXX_DiscardUnknown added in v0.3.1

func (m *RecvTensorResponse) XXX_DiscardUnknown()

func (*RecvTensorResponse) XXX_Marshal added in v0.3.1

func (m *RecvTensorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecvTensorResponse) XXX_Merge added in v0.3.1

func (m *RecvTensorResponse) XXX_Merge(src proto.Message)

func (*RecvTensorResponse) XXX_Size added in v0.3.1

func (m *RecvTensorResponse) XXX_Size() int

func (*RecvTensorResponse) XXX_Unmarshal added in v0.3.1

func (m *RecvTensorResponse) XXX_Unmarshal(b []byte) error

type RegisterFunctionRequest added in v0.3.1

type RegisterFunctionRequest struct {
	ContextId   uint64       `protobuf:"fixed64,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"`
	FunctionDef *FunctionDef `protobuf:"bytes,2,opt,name=function_def,json=functionDef,proto3" json:"function_def,omitempty"`
}

func (*RegisterFunctionRequest) Descriptor added in v0.3.1

func (*RegisterFunctionRequest) Descriptor() ([]byte, []int)

func (*RegisterFunctionRequest) GetContextId added in v0.3.1

func (m *RegisterFunctionRequest) GetContextId() uint64

func (*RegisterFunctionRequest) GetFunctionDef added in v0.3.1

func (m *RegisterFunctionRequest) GetFunctionDef() *FunctionDef

func (*RegisterFunctionRequest) Marshal added in v0.3.1

func (m *RegisterFunctionRequest) Marshal() (dAtA []byte, err error)

func (*RegisterFunctionRequest) MarshalTo added in v0.3.1

func (m *RegisterFunctionRequest) MarshalTo(dAtA []byte) (int, error)

func (*RegisterFunctionRequest) ProtoMessage added in v0.3.1

func (*RegisterFunctionRequest) ProtoMessage()

func (*RegisterFunctionRequest) Reset added in v0.3.1

func (m *RegisterFunctionRequest) Reset()

func (*RegisterFunctionRequest) Size added in v0.3.1

func (m *RegisterFunctionRequest) Size() (n int)

func (*RegisterFunctionRequest) String added in v0.3.1

func (m *RegisterFunctionRequest) String() string

func (*RegisterFunctionRequest) Unmarshal added in v0.3.1

func (m *RegisterFunctionRequest) Unmarshal(dAtA []byte) error

func (*RegisterFunctionRequest) XXX_DiscardUnknown added in v0.3.1

func (m *RegisterFunctionRequest) XXX_DiscardUnknown()

func (*RegisterFunctionRequest) XXX_Marshal added in v0.3.1

func (m *RegisterFunctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegisterFunctionRequest) XXX_Merge added in v0.3.1

func (m *RegisterFunctionRequest) XXX_Merge(src proto.Message)

func (*RegisterFunctionRequest) XXX_Size added in v0.3.1

func (m *RegisterFunctionRequest) XXX_Size() int

func (*RegisterFunctionRequest) XXX_Unmarshal added in v0.3.1

func (m *RegisterFunctionRequest) XXX_Unmarshal(b []byte) error

type RegisterFunctionResponse added in v0.3.1

type RegisterFunctionResponse struct {
}

func (*RegisterFunctionResponse) Descriptor added in v0.3.1

func (*RegisterFunctionResponse) Descriptor() ([]byte, []int)

func (*RegisterFunctionResponse) Marshal added in v0.3.1

func (m *RegisterFunctionResponse) Marshal() (dAtA []byte, err error)

func (*RegisterFunctionResponse) MarshalTo added in v0.3.1

func (m *RegisterFunctionResponse) MarshalTo(dAtA []byte) (int, error)

func (*RegisterFunctionResponse) ProtoMessage added in v0.3.1

func (*RegisterFunctionResponse) ProtoMessage()

func (*RegisterFunctionResponse) Reset added in v0.3.1

func (m *RegisterFunctionResponse) Reset()

func (*RegisterFunctionResponse) Size added in v0.3.1

func (m *RegisterFunctionResponse) Size() (n int)

func (*RegisterFunctionResponse) String added in v0.3.1

func (m *RegisterFunctionResponse) String() string

func (*RegisterFunctionResponse) Unmarshal added in v0.3.1

func (m *RegisterFunctionResponse) Unmarshal(dAtA []byte) error

func (*RegisterFunctionResponse) XXX_DiscardUnknown added in v0.3.1

func (m *RegisterFunctionResponse) XXX_DiscardUnknown()

func (*RegisterFunctionResponse) XXX_Marshal added in v0.3.1

func (m *RegisterFunctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegisterFunctionResponse) XXX_Merge added in v0.3.1

func (m *RegisterFunctionResponse) XXX_Merge(src proto.Message)

func (*RegisterFunctionResponse) XXX_Size added in v0.3.1

func (m *RegisterFunctionResponse) XXX_Size() int

func (*RegisterFunctionResponse) XXX_Unmarshal added in v0.3.1

func (m *RegisterFunctionResponse) XXX_Unmarshal(b []byte) error

type RegisterGraphRequest

type RegisterGraphRequest struct {
	// Subgraphs are scoped within one session.
	SessionHandle string `protobuf:"bytes,1,opt,name=session_handle,json=sessionHandle,proto3" json:"session_handle,omitempty"`
	// Set to true if `CreateWorkerSession` was called for `session_handle`.
	CreateWorkerSessionCalled bool `` /* 141-byte string literal not displayed */
	// "graph_def" has the subgraph of nodes for this worker, with each node
	// having its device_name filled in.
	GraphDef *GraphDef `protobuf:"bytes,2,opt,name=graph_def,json=graphDef,proto3" json:"graph_def,omitempty"`
	// True iff the graph (before partitioning) contains control flow nodes.
	//
	// As of 01/11/2015, this is no longer set by clients.
	HasControlFlow bool `protobuf:"varint,3,opt,name=has_control_flow,json=hasControlFlow,proto3" json:"has_control_flow,omitempty"` // Deprecated: Do not use.
	// Configuration options for the session in which this graph was created.
	GraphOptions *GraphOptions `protobuf:"bytes,4,opt,name=graph_options,json=graphOptions,proto3" json:"graph_options,omitempty"`
	// Field(s) used by TensorFlow Debugger (tfdbg).
	DebugOptions *DebugOptions `protobuf:"bytes,5,opt,name=debug_options,json=debugOptions,proto3" json:"debug_options,omitempty"`
	// If graph_def contains any collective ops this must be a positive
	// integer used to coordinate execution with other graphs.  All
	// graphs in a distributed execution with the same
	// collective_graph_key will coordinate to use the same step_id
	// concurrently so that BufRendezvous entries will make the correct
	// values accessible.
	CollectiveGraphKey int64 `protobuf:"varint,7,opt,name=collective_graph_key,json=collectiveGraphKey,proto3" json:"collective_graph_key,omitempty"`
}

func (*RegisterGraphRequest) Descriptor

func (*RegisterGraphRequest) Descriptor() ([]byte, []int)

func (*RegisterGraphRequest) GetCollectiveGraphKey added in v0.3.1

func (m *RegisterGraphRequest) GetCollectiveGraphKey() int64

func (*RegisterGraphRequest) GetCreateWorkerSessionCalled added in v0.3.1

func (m *RegisterGraphRequest) GetCreateWorkerSessionCalled() bool

func (*RegisterGraphRequest) GetDebugOptions

func (m *RegisterGraphRequest) GetDebugOptions() *DebugOptions

func (*RegisterGraphRequest) GetGraphDef

func (m *RegisterGraphRequest) GetGraphDef() *GraphDef

func (*RegisterGraphRequest) GetGraphOptions

func (m *RegisterGraphRequest) GetGraphOptions() *GraphOptions

func (*RegisterGraphRequest) GetHasControlFlow deprecated

func (m *RegisterGraphRequest) GetHasControlFlow() bool

Deprecated: Do not use.

func (*RegisterGraphRequest) GetSessionHandle

func (m *RegisterGraphRequest) GetSessionHandle() string

func (*RegisterGraphRequest) Marshal

func (m *RegisterGraphRequest) Marshal() (dAtA []byte, err error)

func (*RegisterGraphRequest) MarshalTo

func (m *RegisterGraphRequest) MarshalTo(dAtA []byte) (int, error)

func (*RegisterGraphRequest) ProtoMessage

func (*RegisterGraphRequest) ProtoMessage()

func (*RegisterGraphRequest) Reset

func (m *RegisterGraphRequest) Reset()

func (*RegisterGraphRequest) Size

func (m *RegisterGraphRequest) Size() (n int)

func (*RegisterGraphRequest) String

func (m *RegisterGraphRequest) String() string

func (*RegisterGraphRequest) Unmarshal

func (m *RegisterGraphRequest) Unmarshal(dAtA []byte) error

func (*RegisterGraphRequest) XXX_DiscardUnknown added in v0.3.1

func (m *RegisterGraphRequest) XXX_DiscardUnknown()

func (*RegisterGraphRequest) XXX_Marshal added in v0.3.1

func (m *RegisterGraphRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegisterGraphRequest) XXX_Merge added in v0.3.1

func (m *RegisterGraphRequest) XXX_Merge(src proto.Message)

func (*RegisterGraphRequest) XXX_Size added in v0.3.1

func (m *RegisterGraphRequest) XXX_Size() int

func (*RegisterGraphRequest) XXX_Unmarshal added in v0.3.1

func (m *RegisterGraphRequest) XXX_Unmarshal(b []byte) error

type RegisterGraphResponse

type RegisterGraphResponse struct {
	// If the registration succeeds, returns an opaque graph_handle to
	// the master. The master calls RunGraph with graph_handle to
	// compute different steps.
	GraphHandle string `protobuf:"bytes,1,opt,name=graph_handle,json=graphHandle,proto3" json:"graph_handle,omitempty"`
}

func (*RegisterGraphResponse) Descriptor

func (*RegisterGraphResponse) Descriptor() ([]byte, []int)

func (*RegisterGraphResponse) GetGraphHandle

func (m *RegisterGraphResponse) GetGraphHandle() string

func (*RegisterGraphResponse) Marshal

func (m *RegisterGraphResponse) Marshal() (dAtA []byte, err error)

func (*RegisterGraphResponse) MarshalTo

func (m *RegisterGraphResponse) MarshalTo(dAtA []byte) (int, error)

func (*RegisterGraphResponse) ProtoMessage

func (*RegisterGraphResponse) ProtoMessage()

func (*RegisterGraphResponse) Reset

func (m *RegisterGraphResponse) Reset()

func (*RegisterGraphResponse) Size

func (m *RegisterGraphResponse) Size() (n int)

func (*RegisterGraphResponse) String

func (m *RegisterGraphResponse) String() string

func (*RegisterGraphResponse) Unmarshal

func (m *RegisterGraphResponse) Unmarshal(dAtA []byte) error

func (*RegisterGraphResponse) XXX_DiscardUnknown added in v0.3.1

func (m *RegisterGraphResponse) XXX_DiscardUnknown()

func (*RegisterGraphResponse) XXX_Marshal added in v0.3.1

func (m *RegisterGraphResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegisterGraphResponse) XXX_Merge added in v0.3.1

func (m *RegisterGraphResponse) XXX_Merge(src proto.Message)

func (*RegisterGraphResponse) XXX_Size added in v0.3.1

func (m *RegisterGraphResponse) XXX_Size() int

func (*RegisterGraphResponse) XXX_Unmarshal added in v0.3.1

func (m *RegisterGraphResponse) XXX_Unmarshal(b []byte) error

type ReleaseCallableRequest added in v0.3.1

type ReleaseCallableRequest struct {
	// REQUIRED: session_handle must be returned by a CreateSession call
	// to the same master service.
	SessionHandle string `protobuf:"bytes,1,opt,name=session_handle,json=sessionHandle,proto3" json:"session_handle,omitempty"`
	// REQUIRED: handle must be returned by a MakeCallable call to the same
	// master service.
	Handle int64 `protobuf:"varint,2,opt,name=handle,proto3" json:"handle,omitempty"`
}

func (*ReleaseCallableRequest) Descriptor added in v0.3.1

func (*ReleaseCallableRequest) Descriptor() ([]byte, []int)

func (*ReleaseCallableRequest) GetHandle added in v0.3.1

func (m *ReleaseCallableRequest) GetHandle() int64

func (*ReleaseCallableRequest) GetSessionHandle added in v0.3.1

func (m *ReleaseCallableRequest) GetSessionHandle() string

func (*ReleaseCallableRequest) Marshal added in v0.3.1

func (m *ReleaseCallableRequest) Marshal() (dAtA []byte, err error)

func (*ReleaseCallableRequest) MarshalTo added in v0.3.1

func (m *ReleaseCallableRequest) MarshalTo(dAtA []byte) (int, error)

func (*ReleaseCallableRequest) ProtoMessage added in v0.3.1

func (*ReleaseCallableRequest) ProtoMessage()

func (*ReleaseCallableRequest) Reset added in v0.3.1

func (m *ReleaseCallableRequest) Reset()

func (*ReleaseCallableRequest) Size added in v0.3.1

func (m *ReleaseCallableRequest) Size() (n int)

func (*ReleaseCallableRequest) String added in v0.3.1

func (m *ReleaseCallableRequest) String() string

func (*ReleaseCallableRequest) Unmarshal added in v0.3.1

func (m *ReleaseCallableRequest) Unmarshal(dAtA []byte) error

func (*ReleaseCallableRequest) XXX_DiscardUnknown added in v0.3.1

func (m *ReleaseCallableRequest) XXX_DiscardUnknown()

func (*ReleaseCallableRequest) XXX_Marshal added in v0.3.1

func (m *ReleaseCallableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReleaseCallableRequest) XXX_Merge added in v0.3.1

func (m *ReleaseCallableRequest) XXX_Merge(src proto.Message)

func (*ReleaseCallableRequest) XXX_Size added in v0.3.1

func (m *ReleaseCallableRequest) XXX_Size() int

func (*ReleaseCallableRequest) XXX_Unmarshal added in v0.3.1

func (m *ReleaseCallableRequest) XXX_Unmarshal(b []byte) error

type ReleaseCallableResponse added in v0.3.1

type ReleaseCallableResponse struct {
}

func (*ReleaseCallableResponse) Descriptor added in v0.3.1

func (*ReleaseCallableResponse) Descriptor() ([]byte, []int)

func (*ReleaseCallableResponse) Marshal added in v0.3.1

func (m *ReleaseCallableResponse) Marshal() (dAtA []byte, err error)

func (*ReleaseCallableResponse) MarshalTo added in v0.3.1

func (m *ReleaseCallableResponse) MarshalTo(dAtA []byte) (int, error)

func (*ReleaseCallableResponse) ProtoMessage added in v0.3.1

func (*ReleaseCallableResponse) ProtoMessage()

func (*ReleaseCallableResponse) Reset added in v0.3.1

func (m *ReleaseCallableResponse) Reset()

func (*ReleaseCallableResponse) Size added in v0.3.1

func (m *ReleaseCallableResponse) Size() (n int)

func (*ReleaseCallableResponse) String added in v0.3.1

func (m *ReleaseCallableResponse) String() string

func (*ReleaseCallableResponse) Unmarshal added in v0.3.1

func (m *ReleaseCallableResponse) Unmarshal(dAtA []byte) error

func (*ReleaseCallableResponse) XXX_DiscardUnknown added in v0.3.1

func (m *ReleaseCallableResponse) XXX_DiscardUnknown()

func (*ReleaseCallableResponse) XXX_Marshal added in v0.3.1

func (m *ReleaseCallableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReleaseCallableResponse) XXX_Merge added in v0.3.1

func (m *ReleaseCallableResponse) XXX_Merge(src proto.Message)

func (*ReleaseCallableResponse) XXX_Size added in v0.3.1

func (m *ReleaseCallableResponse) XXX_Size() int

func (*ReleaseCallableResponse) XXX_Unmarshal added in v0.3.1

func (m *ReleaseCallableResponse) XXX_Unmarshal(b []byte) error

type RemoteFusedGraphExecuteInfo

type RemoteFusedGraphExecuteInfo struct {
	// Definition of remote graph
	RemoteGraph *GraphDef `protobuf:"bytes,1,opt,name=remote_graph,json=remoteGraph,proto3" json:"remote_graph,omitempty"`
	// Remote fused graph input node name
	GraphInputNodeName []string `protobuf:"bytes,2,rep,name=graph_input_node_name,json=graphInputNodeName,proto3" json:"graph_input_node_name,omitempty"`
	// Remote fused graph output node name
	GraphOutputNodeName []string `protobuf:"bytes,3,rep,name=graph_output_node_name,json=graphOutputNodeName,proto3" json:"graph_output_node_name,omitempty"`
	// Executor's name
	ExecutorName string `protobuf:"bytes,4,opt,name=executor_name,json=executorName,proto3" json:"executor_name,omitempty"`
	// Optional: Parameters given to the executor
	SerializedExecutorParameters []byte `` /* 147-byte string literal not displayed */
	// Optional: Default graph input tensor shape used to allocate memory
	// before executing op
	DefaultGraphInputTensorShape []*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto `` /* 151-byte string literal not displayed */
	// Optional: Default graph input tensor shape used to allocate memory
	// before executing op
	// TODO(satok): Remote output tensor shape once shape information is stored
	// in NodeDef
	DefaultGraphOutputTensorShape []*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto `` /* 154-byte string literal not displayed */
}

Protocol buffer representing a handle to a tensorflow resource. Handles are not valid across executions, but can be serialized back and forth from within a single run.

func (*RemoteFusedGraphExecuteInfo) Descriptor

func (*RemoteFusedGraphExecuteInfo) Descriptor() ([]byte, []int)

func (*RemoteFusedGraphExecuteInfo) GetDefaultGraphInputTensorShape

func (m *RemoteFusedGraphExecuteInfo) GetDefaultGraphInputTensorShape() []*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto

func (*RemoteFusedGraphExecuteInfo) GetDefaultGraphOutputTensorShape

func (m *RemoteFusedGraphExecuteInfo) GetDefaultGraphOutputTensorShape() []*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto

func (*RemoteFusedGraphExecuteInfo) GetExecutorName

func (m *RemoteFusedGraphExecuteInfo) GetExecutorName() string

func (*RemoteFusedGraphExecuteInfo) GetGraphInputNodeName

func (m *RemoteFusedGraphExecuteInfo) GetGraphInputNodeName() []string

func (*RemoteFusedGraphExecuteInfo) GetGraphOutputNodeName

func (m *RemoteFusedGraphExecuteInfo) GetGraphOutputNodeName() []string

func (*RemoteFusedGraphExecuteInfo) GetRemoteGraph

func (m *RemoteFusedGraphExecuteInfo) GetRemoteGraph() *GraphDef

func (*RemoteFusedGraphExecuteInfo) GetSerializedExecutorParameters

func (m *RemoteFusedGraphExecuteInfo) GetSerializedExecutorParameters() []byte

func (*RemoteFusedGraphExecuteInfo) Marshal

func (m *RemoteFusedGraphExecuteInfo) Marshal() (dAtA []byte, err error)

func (*RemoteFusedGraphExecuteInfo) MarshalTo

func (m *RemoteFusedGraphExecuteInfo) MarshalTo(dAtA []byte) (int, error)

func (*RemoteFusedGraphExecuteInfo) ProtoMessage

func (*RemoteFusedGraphExecuteInfo) ProtoMessage()

func (*RemoteFusedGraphExecuteInfo) Reset

func (m *RemoteFusedGraphExecuteInfo) Reset()

func (*RemoteFusedGraphExecuteInfo) Size

func (m *RemoteFusedGraphExecuteInfo) Size() (n int)

func (*RemoteFusedGraphExecuteInfo) String

func (m *RemoteFusedGraphExecuteInfo) String() string

func (*RemoteFusedGraphExecuteInfo) Unmarshal

func (m *RemoteFusedGraphExecuteInfo) Unmarshal(dAtA []byte) error

func (*RemoteFusedGraphExecuteInfo) XXX_DiscardUnknown added in v0.3.1

func (m *RemoteFusedGraphExecuteInfo) XXX_DiscardUnknown()

func (*RemoteFusedGraphExecuteInfo) XXX_Marshal added in v0.3.1

func (m *RemoteFusedGraphExecuteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoteFusedGraphExecuteInfo) XXX_Merge added in v0.3.1

func (m *RemoteFusedGraphExecuteInfo) XXX_Merge(src proto.Message)

func (*RemoteFusedGraphExecuteInfo) XXX_Size added in v0.3.1

func (m *RemoteFusedGraphExecuteInfo) XXX_Size() int

func (*RemoteFusedGraphExecuteInfo) XXX_Unmarshal added in v0.3.1

func (m *RemoteFusedGraphExecuteInfo) XXX_Unmarshal(b []byte) error

type RemoteFusedGraphExecuteInfo_TensorShapeTypeProto

type RemoteFusedGraphExecuteInfo_TensorShapeTypeProto struct {
	Dtype DataType          `protobuf:"varint,1,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
	Shape *TensorShapeProto `protobuf:"bytes,2,opt,name=shape,proto3" json:"shape,omitempty"`
}

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) Descriptor

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) GetDtype

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) GetShape

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) Marshal

func (m *RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) Marshal() (dAtA []byte, err error)

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) MarshalTo

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) ProtoMessage

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) Reset

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) Size

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) String

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) Unmarshal

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) XXX_DiscardUnknown added in v0.3.1

func (m *RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) XXX_DiscardUnknown()

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) XXX_Marshal added in v0.3.1

func (m *RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) XXX_Merge added in v0.3.1

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) XXX_Size added in v0.3.1

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) XXX_Unmarshal added in v0.3.1

type RemoteTensorHandle added in v0.3.1

type RemoteTensorHandle struct {
	// The ID of the operation that produced this tensor.
	OpId int64 `protobuf:"varint,1,opt,name=op_id,json=opId,proto3" json:"op_id,omitempty"`
	// The index into the outputs of the operation that produced this tensor.
	OutputNum int32 `protobuf:"varint,2,opt,name=output_num,json=outputNum,proto3" json:"output_num,omitempty"`
}

func (*RemoteTensorHandle) Descriptor added in v0.3.1

func (*RemoteTensorHandle) Descriptor() ([]byte, []int)

func (*RemoteTensorHandle) GetOpId added in v0.3.1

func (m *RemoteTensorHandle) GetOpId() int64

func (*RemoteTensorHandle) GetOutputNum added in v0.3.1

func (m *RemoteTensorHandle) GetOutputNum() int32

func (*RemoteTensorHandle) Marshal added in v0.3.1

func (m *RemoteTensorHandle) Marshal() (dAtA []byte, err error)

func (*RemoteTensorHandle) MarshalTo added in v0.3.1

func (m *RemoteTensorHandle) MarshalTo(dAtA []byte) (int, error)

func (*RemoteTensorHandle) ProtoMessage added in v0.3.1

func (*RemoteTensorHandle) ProtoMessage()

func (*RemoteTensorHandle) Reset added in v0.3.1

func (m *RemoteTensorHandle) Reset()

func (*RemoteTensorHandle) Size added in v0.3.1

func (m *RemoteTensorHandle) Size() (n int)

func (*RemoteTensorHandle) String added in v0.3.1

func (m *RemoteTensorHandle) String() string

func (*RemoteTensorHandle) Unmarshal added in v0.3.1

func (m *RemoteTensorHandle) Unmarshal(dAtA []byte) error

func (*RemoteTensorHandle) XXX_DiscardUnknown added in v0.3.1

func (m *RemoteTensorHandle) XXX_DiscardUnknown()

func (*RemoteTensorHandle) XXX_Marshal added in v0.3.1

func (m *RemoteTensorHandle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoteTensorHandle) XXX_Merge added in v0.3.1

func (m *RemoteTensorHandle) XXX_Merge(src proto.Message)

func (*RemoteTensorHandle) XXX_Size added in v0.3.1

func (m *RemoteTensorHandle) XXX_Size() int

func (*RemoteTensorHandle) XXX_Unmarshal added in v0.3.1

func (m *RemoteTensorHandle) XXX_Unmarshal(b []byte) error

type ReplayOp added in v0.3.1

type ReplayOp struct {
	StartTimeUs float64 `protobuf:"fixed64,31,opt,name=start_time_us,json=startTimeUs,proto3" json:"start_time_us,omitempty"`
	EndTimeUs   float64 `protobuf:"fixed64,32,opt,name=end_time_us,json=endTimeUs,proto3" json:"end_time_us,omitempty"`
	// Types that are valid to be assigned to Op:
	//	*ReplayOp_CreateSession
	//	*ReplayOp_ExtendSession
	//	*ReplayOp_PartialRunSetup
	//	*ReplayOp_RunStep
	//	*ReplayOp_CloseSession
	//	*ReplayOp_ListDevices
	//	*ReplayOp_ResetRequest
	//	*ReplayOp_MakeCallable
	//	*ReplayOp_RunCallable
	//	*ReplayOp_ReleaseCallable
	//	*ReplayOp_NewReplaySession
	Op isReplayOp_Op `protobuf_oneof:"op"`
	// Types that are valid to be assigned to Response:
	//	*ReplayOp_CreateSessionResponse
	//	*ReplayOp_ExtendSessionResponse
	//	*ReplayOp_PartialRunSetupResponse
	//	*ReplayOp_RunStepResponse
	//	*ReplayOp_CloseSessionResponse
	//	*ReplayOp_ListDevicesResponse
	//	*ReplayOp_ResetRequestResponse
	//	*ReplayOp_MakeCallableResponse
	//	*ReplayOp_RunCallableResponse
	//	*ReplayOp_ReleaseCallableResponse
	Response isReplayOp_Response `protobuf_oneof:"response"`
}

func (*ReplayOp) Descriptor added in v0.3.1

func (*ReplayOp) Descriptor() ([]byte, []int)

func (*ReplayOp) GetCloseSession added in v0.3.1

func (m *ReplayOp) GetCloseSession() *CloseSessionRequest

func (*ReplayOp) GetCloseSessionResponse added in v0.3.1

func (m *ReplayOp) GetCloseSessionResponse() *CloseSessionResponse

func (*ReplayOp) GetCreateSession added in v0.3.1

func (m *ReplayOp) GetCreateSession() *CreateSessionRequest

func (*ReplayOp) GetCreateSessionResponse added in v0.3.1

func (m *ReplayOp) GetCreateSessionResponse() *CreateSessionResponse

func (*ReplayOp) GetEndTimeUs added in v0.3.1

func (m *ReplayOp) GetEndTimeUs() float64

func (*ReplayOp) GetExtendSession added in v0.3.1

func (m *ReplayOp) GetExtendSession() *ExtendSessionRequest

func (*ReplayOp) GetExtendSessionResponse added in v0.3.1

func (m *ReplayOp) GetExtendSessionResponse() *ExtendSessionResponse

func (*ReplayOp) GetListDevices added in v0.3.1

func (m *ReplayOp) GetListDevices() *ListDevicesRequest

func (*ReplayOp) GetListDevicesResponse added in v0.3.1

func (m *ReplayOp) GetListDevicesResponse() *ListDevicesResponse

func (*ReplayOp) GetMakeCallable added in v0.3.1

func (m *ReplayOp) GetMakeCallable() *MakeCallableRequest

func (*ReplayOp) GetMakeCallableResponse added in v0.3.1

func (m *ReplayOp) GetMakeCallableResponse() *MakeCallableResponse

func (*ReplayOp) GetNewReplaySession added in v0.3.1

func (m *ReplayOp) GetNewReplaySession() *NewReplaySession

func (*ReplayOp) GetOp added in v0.3.1

func (m *ReplayOp) GetOp() isReplayOp_Op

func (*ReplayOp) GetPartialRunSetup added in v0.3.1

func (m *ReplayOp) GetPartialRunSetup() *PartialRunSetupRequest

func (*ReplayOp) GetPartialRunSetupResponse added in v0.3.1

func (m *ReplayOp) GetPartialRunSetupResponse() *PartialRunSetupResponse

func (*ReplayOp) GetReleaseCallable added in v0.3.1

func (m *ReplayOp) GetReleaseCallable() *ReleaseCallableRequest

func (*ReplayOp) GetReleaseCallableResponse added in v0.3.1

func (m *ReplayOp) GetReleaseCallableResponse() *ReleaseCallableResponse

func (*ReplayOp) GetResetRequest added in v0.3.1

func (m *ReplayOp) GetResetRequest() *ResetRequest

func (*ReplayOp) GetResetRequestResponse added in v0.3.1

func (m *ReplayOp) GetResetRequestResponse() *ResetResponse

func (*ReplayOp) GetResponse added in v0.3.1

func (m *ReplayOp) GetResponse() isReplayOp_Response

func (*ReplayOp) GetRunCallable added in v0.3.1

func (m *ReplayOp) GetRunCallable() *RunCallableRequest

func (*ReplayOp) GetRunCallableResponse added in v0.3.1

func (m *ReplayOp) GetRunCallableResponse() *RunCallableResponse

func (*ReplayOp) GetRunStep added in v0.3.1

func (m *ReplayOp) GetRunStep() *RunStepRequest

func (*ReplayOp) GetRunStepResponse added in v0.3.1

func (m *ReplayOp) GetRunStepResponse() *RunStepResponse

func (*ReplayOp) GetStartTimeUs added in v0.3.1

func (m *ReplayOp) GetStartTimeUs() float64

func (*ReplayOp) Marshal added in v0.3.1

func (m *ReplayOp) Marshal() (dAtA []byte, err error)

func (*ReplayOp) MarshalTo added in v0.3.1

func (m *ReplayOp) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp) ProtoMessage added in v0.3.1

func (*ReplayOp) ProtoMessage()

func (*ReplayOp) Reset added in v0.3.1

func (m *ReplayOp) Reset()

func (*ReplayOp) Size added in v0.3.1

func (m *ReplayOp) Size() (n int)

func (*ReplayOp) String added in v0.3.1

func (m *ReplayOp) String() string

func (*ReplayOp) Unmarshal added in v0.3.1

func (m *ReplayOp) Unmarshal(dAtA []byte) error

func (*ReplayOp) XXX_DiscardUnknown added in v0.3.1

func (m *ReplayOp) XXX_DiscardUnknown()

func (*ReplayOp) XXX_Marshal added in v0.3.1

func (m *ReplayOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplayOp) XXX_Merge added in v0.3.1

func (m *ReplayOp) XXX_Merge(src proto.Message)

func (*ReplayOp) XXX_OneofFuncs added in v0.3.1

func (*ReplayOp) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*ReplayOp) XXX_Size added in v0.3.1

func (m *ReplayOp) XXX_Size() int

func (*ReplayOp) XXX_Unmarshal added in v0.3.1

func (m *ReplayOp) XXX_Unmarshal(b []byte) error

type ReplayOp_CloseSession added in v0.3.1

type ReplayOp_CloseSession struct {
	CloseSession *CloseSessionRequest `protobuf:"bytes,5,opt,name=close_session,json=closeSession,proto3,oneof"`
}

func (*ReplayOp_CloseSession) MarshalTo added in v0.3.1

func (m *ReplayOp_CloseSession) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_CloseSession) Size added in v0.3.1

func (m *ReplayOp_CloseSession) Size() (n int)

type ReplayOp_CloseSessionResponse added in v0.3.1

type ReplayOp_CloseSessionResponse struct {
	CloseSessionResponse *CloseSessionResponse `protobuf:"bytes,25,opt,name=close_session_response,json=closeSessionResponse,proto3,oneof"`
}

func (*ReplayOp_CloseSessionResponse) MarshalTo added in v0.3.1

func (m *ReplayOp_CloseSessionResponse) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_CloseSessionResponse) Size added in v0.3.1

func (m *ReplayOp_CloseSessionResponse) Size() (n int)

type ReplayOp_CreateSession added in v0.3.1

type ReplayOp_CreateSession struct {
	CreateSession *CreateSessionRequest `protobuf:"bytes,1,opt,name=create_session,json=createSession,proto3,oneof"`
}

func (*ReplayOp_CreateSession) MarshalTo added in v0.3.1

func (m *ReplayOp_CreateSession) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_CreateSession) Size added in v0.3.1

func (m *ReplayOp_CreateSession) Size() (n int)

type ReplayOp_CreateSessionResponse added in v0.3.1

type ReplayOp_CreateSessionResponse struct {
	CreateSessionResponse *CreateSessionResponse `protobuf:"bytes,21,opt,name=create_session_response,json=createSessionResponse,proto3,oneof"`
}

func (*ReplayOp_CreateSessionResponse) MarshalTo added in v0.3.1

func (m *ReplayOp_CreateSessionResponse) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_CreateSessionResponse) Size added in v0.3.1

func (m *ReplayOp_CreateSessionResponse) Size() (n int)

type ReplayOp_ExtendSession added in v0.3.1

type ReplayOp_ExtendSession struct {
	ExtendSession *ExtendSessionRequest `protobuf:"bytes,2,opt,name=extend_session,json=extendSession,proto3,oneof"`
}

func (*ReplayOp_ExtendSession) MarshalTo added in v0.3.1

func (m *ReplayOp_ExtendSession) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_ExtendSession) Size added in v0.3.1

func (m *ReplayOp_ExtendSession) Size() (n int)

type ReplayOp_ExtendSessionResponse added in v0.3.1

type ReplayOp_ExtendSessionResponse struct {
	ExtendSessionResponse *ExtendSessionResponse `protobuf:"bytes,22,opt,name=extend_session_response,json=extendSessionResponse,proto3,oneof"`
}

func (*ReplayOp_ExtendSessionResponse) MarshalTo added in v0.3.1

func (m *ReplayOp_ExtendSessionResponse) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_ExtendSessionResponse) Size added in v0.3.1

func (m *ReplayOp_ExtendSessionResponse) Size() (n int)

type ReplayOp_ListDevices added in v0.3.1

type ReplayOp_ListDevices struct {
	ListDevices *ListDevicesRequest `protobuf:"bytes,6,opt,name=list_devices,json=listDevices,proto3,oneof"`
}

func (*ReplayOp_ListDevices) MarshalTo added in v0.3.1

func (m *ReplayOp_ListDevices) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_ListDevices) Size added in v0.3.1

func (m *ReplayOp_ListDevices) Size() (n int)

type ReplayOp_ListDevicesResponse added in v0.3.1

type ReplayOp_ListDevicesResponse struct {
	ListDevicesResponse *ListDevicesResponse `protobuf:"bytes,26,opt,name=list_devices_response,json=listDevicesResponse,proto3,oneof"`
}

func (*ReplayOp_ListDevicesResponse) MarshalTo added in v0.3.1

func (m *ReplayOp_ListDevicesResponse) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_ListDevicesResponse) Size added in v0.3.1

func (m *ReplayOp_ListDevicesResponse) Size() (n int)

type ReplayOp_MakeCallable added in v0.3.1

type ReplayOp_MakeCallable struct {
	MakeCallable *MakeCallableRequest `protobuf:"bytes,8,opt,name=make_callable,json=makeCallable,proto3,oneof"`
}

func (*ReplayOp_MakeCallable) MarshalTo added in v0.3.1

func (m *ReplayOp_MakeCallable) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_MakeCallable) Size added in v0.3.1

func (m *ReplayOp_MakeCallable) Size() (n int)

type ReplayOp_MakeCallableResponse added in v0.3.1

type ReplayOp_MakeCallableResponse struct {
	MakeCallableResponse *MakeCallableResponse `protobuf:"bytes,28,opt,name=make_callable_response,json=makeCallableResponse,proto3,oneof"`
}

func (*ReplayOp_MakeCallableResponse) MarshalTo added in v0.3.1

func (m *ReplayOp_MakeCallableResponse) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_MakeCallableResponse) Size added in v0.3.1

func (m *ReplayOp_MakeCallableResponse) Size() (n int)

type ReplayOp_NewReplaySession added in v0.3.1

type ReplayOp_NewReplaySession struct {
	NewReplaySession *NewReplaySession `protobuf:"bytes,11,opt,name=new_replay_session,json=newReplaySession,proto3,oneof"`
}

func (*ReplayOp_NewReplaySession) MarshalTo added in v0.3.1

func (m *ReplayOp_NewReplaySession) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_NewReplaySession) Size added in v0.3.1

func (m *ReplayOp_NewReplaySession) Size() (n int)

type ReplayOp_PartialRunSetup added in v0.3.1

type ReplayOp_PartialRunSetup struct {
	PartialRunSetup *PartialRunSetupRequest `protobuf:"bytes,3,opt,name=partial_run_setup,json=partialRunSetup,proto3,oneof"`
}

func (*ReplayOp_PartialRunSetup) MarshalTo added in v0.3.1

func (m *ReplayOp_PartialRunSetup) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_PartialRunSetup) Size added in v0.3.1

func (m *ReplayOp_PartialRunSetup) Size() (n int)

type ReplayOp_PartialRunSetupResponse added in v0.3.1

type ReplayOp_PartialRunSetupResponse struct {
	PartialRunSetupResponse *PartialRunSetupResponse `protobuf:"bytes,23,opt,name=partial_run_setup_response,json=partialRunSetupResponse,proto3,oneof"`
}

func (*ReplayOp_PartialRunSetupResponse) MarshalTo added in v0.3.1

func (m *ReplayOp_PartialRunSetupResponse) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_PartialRunSetupResponse) Size added in v0.3.1

func (m *ReplayOp_PartialRunSetupResponse) Size() (n int)

type ReplayOp_ReleaseCallable added in v0.3.1

type ReplayOp_ReleaseCallable struct {
	ReleaseCallable *ReleaseCallableRequest `protobuf:"bytes,10,opt,name=release_callable,json=releaseCallable,proto3,oneof"`
}

func (*ReplayOp_ReleaseCallable) MarshalTo added in v0.3.1

func (m *ReplayOp_ReleaseCallable) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_ReleaseCallable) Size added in v0.3.1

func (m *ReplayOp_ReleaseCallable) Size() (n int)

type ReplayOp_ReleaseCallableResponse added in v0.3.1

type ReplayOp_ReleaseCallableResponse struct {
	ReleaseCallableResponse *ReleaseCallableResponse `protobuf:"bytes,30,opt,name=release_callable_response,json=releaseCallableResponse,proto3,oneof"`
}

func (*ReplayOp_ReleaseCallableResponse) MarshalTo added in v0.3.1

func (m *ReplayOp_ReleaseCallableResponse) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_ReleaseCallableResponse) Size added in v0.3.1

func (m *ReplayOp_ReleaseCallableResponse) Size() (n int)

type ReplayOp_ResetRequest added in v0.3.1

type ReplayOp_ResetRequest struct {
	ResetRequest *ResetRequest `protobuf:"bytes,7,opt,name=reset_request,json=resetRequest,proto3,oneof"`
}

func (*ReplayOp_ResetRequest) MarshalTo added in v0.3.1

func (m *ReplayOp_ResetRequest) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_ResetRequest) Size added in v0.3.1

func (m *ReplayOp_ResetRequest) Size() (n int)

type ReplayOp_ResetRequestResponse added in v0.3.1

type ReplayOp_ResetRequestResponse struct {
	ResetRequestResponse *ResetResponse `protobuf:"bytes,27,opt,name=reset_request_response,json=resetRequestResponse,proto3,oneof"`
}

func (*ReplayOp_ResetRequestResponse) MarshalTo added in v0.3.1

func (m *ReplayOp_ResetRequestResponse) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_ResetRequestResponse) Size added in v0.3.1

func (m *ReplayOp_ResetRequestResponse) Size() (n int)

type ReplayOp_RunCallable added in v0.3.1

type ReplayOp_RunCallable struct {
	RunCallable *RunCallableRequest `protobuf:"bytes,9,opt,name=run_callable,json=runCallable,proto3,oneof"`
}

func (*ReplayOp_RunCallable) MarshalTo added in v0.3.1

func (m *ReplayOp_RunCallable) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_RunCallable) Size added in v0.3.1

func (m *ReplayOp_RunCallable) Size() (n int)

type ReplayOp_RunCallableResponse added in v0.3.1

type ReplayOp_RunCallableResponse struct {
	RunCallableResponse *RunCallableResponse `protobuf:"bytes,29,opt,name=run_callable_response,json=runCallableResponse,proto3,oneof"`
}

func (*ReplayOp_RunCallableResponse) MarshalTo added in v0.3.1

func (m *ReplayOp_RunCallableResponse) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_RunCallableResponse) Size added in v0.3.1

func (m *ReplayOp_RunCallableResponse) Size() (n int)

type ReplayOp_RunStep added in v0.3.1

type ReplayOp_RunStep struct {
	RunStep *RunStepRequest `protobuf:"bytes,4,opt,name=run_step,json=runStep,proto3,oneof"`
}

func (*ReplayOp_RunStep) MarshalTo added in v0.3.1

func (m *ReplayOp_RunStep) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_RunStep) Size added in v0.3.1

func (m *ReplayOp_RunStep) Size() (n int)

type ReplayOp_RunStepResponse added in v0.3.1

type ReplayOp_RunStepResponse struct {
	RunStepResponse *RunStepResponse `protobuf:"bytes,24,opt,name=run_step_response,json=runStepResponse,proto3,oneof"`
}

func (*ReplayOp_RunStepResponse) MarshalTo added in v0.3.1

func (m *ReplayOp_RunStepResponse) MarshalTo(dAtA []byte) (int, error)

func (*ReplayOp_RunStepResponse) Size added in v0.3.1

func (m *ReplayOp_RunStepResponse) Size() (n int)

type ResetRequest

type ResetRequest struct {
	// A list of container names, which may be empty.
	//
	// If 'container' is not empty, releases resoures in the given
	// containers in all devices.
	//
	// If 'container' is empty, releases resources in the default
	// container in all devices.
	Container []string `protobuf:"bytes,1,rep,name=container,proto3" json:"container,omitempty"`
	// When any filters are present, only devices that match the filters
	// will be reset. Each filter can be partially specified,
	// e.g. "/job:ps" "/job:worker/replica:3", etc.
	DeviceFilters []string `protobuf:"bytes,2,rep,name=device_filters,json=deviceFilters,proto3" json:"device_filters,omitempty"`
}

Reset() allows misbehaving or slow sessions to be aborted and closed, and causes their resources eventually to be released. Reset() does not wait for the computations in old sessions to cease; it merely starts the process of tearing them down. However, if a new session is started after a Reset(), the new session is isolated from changes that old sessions (started prior to the Reset()) may continue to make to resources, provided all those resources are in containers listed in "containers".

Old sessions may continue to have side-effects on resources not in containers listed in "containers", and thus may affect future sessions' results in ways that are hard to predict. Thus, if well-defined behavior is desired, is it recommended that all containers be listed in "containers". Similarly, if a device_filter is specified, results may be hard to predict.

func (*ResetRequest) Descriptor

func (*ResetRequest) Descriptor() ([]byte, []int)

func (*ResetRequest) GetContainer

func (m *ResetRequest) GetContainer() []string

func (*ResetRequest) GetDeviceFilters

func (m *ResetRequest) GetDeviceFilters() []string

func (*ResetRequest) Marshal

func (m *ResetRequest) Marshal() (dAtA []byte, err error)

func (*ResetRequest) MarshalTo

func (m *ResetRequest) MarshalTo(dAtA []byte) (int, error)

func (*ResetRequest) ProtoMessage

func (*ResetRequest) ProtoMessage()

func (*ResetRequest) Reset

func (m *ResetRequest) Reset()

func (*ResetRequest) Size

func (m *ResetRequest) Size() (n int)

func (*ResetRequest) String

func (m *ResetRequest) String() string

func (*ResetRequest) Unmarshal

func (m *ResetRequest) Unmarshal(dAtA []byte) error

func (*ResetRequest) XXX_DiscardUnknown added in v0.3.1

func (m *ResetRequest) XXX_DiscardUnknown()

func (*ResetRequest) XXX_Marshal added in v0.3.1

func (m *ResetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResetRequest) XXX_Merge added in v0.3.1

func (m *ResetRequest) XXX_Merge(src proto.Message)

func (*ResetRequest) XXX_Size added in v0.3.1

func (m *ResetRequest) XXX_Size() int

func (*ResetRequest) XXX_Unmarshal added in v0.3.1

func (m *ResetRequest) XXX_Unmarshal(b []byte) error

type ResetResponse

type ResetResponse struct {
}

func (*ResetResponse) Descriptor

func (*ResetResponse) Descriptor() ([]byte, []int)

func (*ResetResponse) Marshal

func (m *ResetResponse) Marshal() (dAtA []byte, err error)

func (*ResetResponse) MarshalTo

func (m *ResetResponse) MarshalTo(dAtA []byte) (int, error)

func (*ResetResponse) ProtoMessage

func (*ResetResponse) ProtoMessage()

func (*ResetResponse) Reset

func (m *ResetResponse) Reset()

func (*ResetResponse) Size

func (m *ResetResponse) Size() (n int)

func (*ResetResponse) String

func (m *ResetResponse) String() string

func (*ResetResponse) Unmarshal

func (m *ResetResponse) Unmarshal(dAtA []byte) error

func (*ResetResponse) XXX_DiscardUnknown added in v0.3.1

func (m *ResetResponse) XXX_DiscardUnknown()

func (*ResetResponse) XXX_Marshal added in v0.3.1

func (m *ResetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResetResponse) XXX_Merge added in v0.3.1

func (m *ResetResponse) XXX_Merge(src proto.Message)

func (*ResetResponse) XXX_Size added in v0.3.1

func (m *ResetResponse) XXX_Size() int

func (*ResetResponse) XXX_Unmarshal added in v0.3.1

func (m *ResetResponse) XXX_Unmarshal(b []byte) error

type ResourceHandleProto added in v0.3.1

type ResourceHandleProto struct {
	// Unique name for the device containing the resource.
	Device string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	// Container in which this resource is placed.
	Container string `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
	// Unique name of this resource.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Hash code for the type of the resource. Is only valid in the same device
	// and in the same execution.
	HashCode uint64 `protobuf:"varint,4,opt,name=hash_code,json=hashCode,proto3" json:"hash_code,omitempty"`
	// For debug-only, the name of the type pointed to by this handle, if
	// available.
	MaybeTypeName string `protobuf:"bytes,5,opt,name=maybe_type_name,json=maybeTypeName,proto3" json:"maybe_type_name,omitempty"`
}

Protocol buffer representing a handle to a tensorflow resource. Handles are not valid across executions, but can be serialized back and forth from within a single run.

func (*ResourceHandleProto) Descriptor added in v0.3.1

func (*ResourceHandleProto) Descriptor() ([]byte, []int)

func (*ResourceHandleProto) GetContainer added in v0.3.1

func (m *ResourceHandleProto) GetContainer() string

func (*ResourceHandleProto) GetDevice added in v0.3.1

func (m *ResourceHandleProto) GetDevice() string

func (*ResourceHandleProto) GetHashCode added in v0.3.1

func (m *ResourceHandleProto) GetHashCode() uint64

func (*ResourceHandleProto) GetMaybeTypeName added in v0.3.1

func (m *ResourceHandleProto) GetMaybeTypeName() string

func (*ResourceHandleProto) GetName added in v0.3.1

func (m *ResourceHandleProto) GetName() string

func (*ResourceHandleProto) Marshal added in v0.3.1

func (m *ResourceHandleProto) Marshal() (dAtA []byte, err error)

func (*ResourceHandleProto) MarshalTo added in v0.3.1

func (m *ResourceHandleProto) MarshalTo(dAtA []byte) (int, error)

func (*ResourceHandleProto) ProtoMessage added in v0.3.1

func (*ResourceHandleProto) ProtoMessage()

func (*ResourceHandleProto) Reset added in v0.3.1

func (m *ResourceHandleProto) Reset()

func (*ResourceHandleProto) Size added in v0.3.1

func (m *ResourceHandleProto) Size() (n int)

func (*ResourceHandleProto) String added in v0.3.1

func (m *ResourceHandleProto) String() string

func (*ResourceHandleProto) Unmarshal added in v0.3.1

func (m *ResourceHandleProto) Unmarshal(dAtA []byte) error

func (*ResourceHandleProto) XXX_DiscardUnknown added in v0.3.1

func (m *ResourceHandleProto) XXX_DiscardUnknown()

func (*ResourceHandleProto) XXX_Marshal added in v0.3.1

func (m *ResourceHandleProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceHandleProto) XXX_Merge added in v0.3.1

func (m *ResourceHandleProto) XXX_Merge(src proto.Message)

func (*ResourceHandleProto) XXX_Size added in v0.3.1

func (m *ResourceHandleProto) XXX_Size() int

func (*ResourceHandleProto) XXX_Unmarshal added in v0.3.1

func (m *ResourceHandleProto) XXX_Unmarshal(b []byte) error

type RewriterConfig

type RewriterConfig struct {
	// Optimize tensor layouts (default is ON)
	// e.g. This will try to use NCHW layout on GPU which is faster.
	LayoutOptimizer RewriterConfig_Toggle `` /* 145-byte string literal not displayed */
	// Fold constants (default is ON)
	// Statically infer the value of tensors when possible, and materialize the
	// result using constants.
	ConstantFolding RewriterConfig_Toggle `` /* 145-byte string literal not displayed */
	// Shape optimizations (default is ON)
	// Simplify computations made on shapes.
	ShapeOptimization RewriterConfig_Toggle `` /* 152-byte string literal not displayed */
	// Remapping (default is ON)
	// Remap subgraphs onto more efficient implementations.
	Remapping RewriterConfig_Toggle `protobuf:"varint,14,opt,name=remapping,proto3,enum=tensorflow.RewriterConfig_Toggle" json:"remapping,omitempty"`
	// Arithmetic optimizations (default is ON)
	// e.g. Simplify arithmetic ops; merge ops with same value (like constants).
	ArithmeticOptimization RewriterConfig_Toggle `` /* 166-byte string literal not displayed */
	// Control dependency optimizations (default is ON).
	// Remove redundant control dependencies, which may enable other optimization.
	DependencyOptimization RewriterConfig_Toggle `` /* 166-byte string literal not displayed */
	// Loop optimizations (default is ON).
	LoopOptimization RewriterConfig_Toggle `` /* 148-byte string literal not displayed */
	// Function optimizations (default is ON).
	FunctionOptimization RewriterConfig_Toggle `` /* 161-byte string literal not displayed */
	// Strips debug-related nodes from the graph (off by default).
	DebugStripper RewriterConfig_Toggle `` /* 140-byte string literal not displayed */
	// If true, don't remove unnecessary ops from the graph
	DisableModelPruning bool `protobuf:"varint,2,opt,name=disable_model_pruning,json=disableModelPruning,proto3" json:"disable_model_pruning,omitempty"`
	// Try to allocate some independent Op outputs contiguously in order to
	// merge or eliminate downstream Ops (off by default).
	ScopedAllocatorOptimization RewriterConfig_Toggle `` /* 184-byte string literal not displayed */
	// Force small ops onto the CPU (default is OFF).
	PinToHostOptimization RewriterConfig_Toggle `` /* 168-byte string literal not displayed */
	// Disable the entire meta optimizer (off by default).
	DisableMetaOptimizer bool `protobuf:"varint,19,opt,name=disable_meta_optimizer,json=disableMetaOptimizer,proto3" json:"disable_meta_optimizer,omitempty"`
	// Controls how many times we run the optimizers in meta optimizer (default
	// is once).
	MetaOptimizerIterations RewriterConfig_NumIterationsType `` /* 183-byte string literal not displayed */
	// The minimum number of nodes in a graph to optimizer. For smaller graphs,
	// optimization is skipped.
	// 0 means the system picks an appropriate number.
	// < 0 means do not skip optimization.
	MinGraphNodes int32 `protobuf:"varint,17,opt,name=min_graph_nodes,json=minGraphNodes,proto3" json:"min_graph_nodes,omitempty"`
	// Configures memory optimization passes through the meta-optimizer. Has no
	// effect on manually requested memory optimization passes in the optimizers
	// field.
	MemoryOptimization RewriterConfig_MemOptType `` /* 158-byte string literal not displayed */
	// A node name scope for node names which are valid outputs of recompuations.
	// Inputs to nodes that match this scope may be recomputed (subject either to
	// manual annotation of those input nodes or to manual annotation and
	// heuristics depending on memory_optimization), but the nodes themselves will
	// not be recomputed. This matches any sub-scopes as well, meaning the scope
	// can appear not just as a top-level scope. For example, if the value is
	// "gradients/", the default, it will match node name "gradients/foo",
	// "foo/gradients/bar", but not "foo_gradients/"
	MemoryOptimizerTargetNodeNameScope string `` /* 171-byte string literal not displayed */
	// Configures AutoParallel optimization passes either through the
	// meta-optimizer or when manually specified through the optimizers field.
	AutoParallel        *AutoParallelOptions    `protobuf:"bytes,5,opt,name=auto_parallel,json=autoParallel,proto3" json:"auto_parallel,omitempty"`
	ScopedAllocatorOpts *ScopedAllocatorOptions `protobuf:"bytes,16,opt,name=scoped_allocator_opts,json=scopedAllocatorOpts,proto3" json:"scoped_allocator_opts,omitempty"`
	// If non-empty, will use this as an alternative way to specify a list of
	// optimizations to turn on and the order of the optimizations (replacing the
	// meta-optimizer).
	//
	// Of the RewriterConfig options, only the AutoParallel configuration options
	// (the auto_parallel field) apply to manually requested optimization passes
	// ("autoparallel"). Memory optimization passes ("memory") invoked here are
	// not configurable (in contrast to memory optimization passes through the
	// meta-optimizer) and act only on manual op annotations.
	//
	// Custom optimizers (see custom_optimizers) that are not part of this
	// schedule will be run after - in the order that they were specified.
	Optimizers []string `protobuf:"bytes,100,rep,name=optimizers,proto3" json:"optimizers,omitempty"`
	// list of CustomGraphOptimizers to apply.
	CustomOptimizers []*RewriterConfig_CustomGraphOptimizer `protobuf:"bytes,200,rep,name=custom_optimizers,json=customOptimizers,proto3" json:"custom_optimizers,omitempty"`
}

func (*RewriterConfig) Descriptor

func (*RewriterConfig) Descriptor() ([]byte, []int)

func (*RewriterConfig) GetArithmeticOptimization added in v0.3.1

func (m *RewriterConfig) GetArithmeticOptimization() RewriterConfig_Toggle

func (*RewriterConfig) GetAutoParallel

func (m *RewriterConfig) GetAutoParallel() *AutoParallelOptions

func (*RewriterConfig) GetConstantFolding

func (m *RewriterConfig) GetConstantFolding() RewriterConfig_Toggle

func (*RewriterConfig) GetCustomOptimizers added in v0.3.1

func (m *RewriterConfig) GetCustomOptimizers() []*RewriterConfig_CustomGraphOptimizer

func (*RewriterConfig) GetDebugStripper added in v0.3.1

func (m *RewriterConfig) GetDebugStripper() RewriterConfig_Toggle

func (*RewriterConfig) GetDependencyOptimization added in v0.3.1

func (m *RewriterConfig) GetDependencyOptimization() RewriterConfig_Toggle

func (*RewriterConfig) GetDisableMetaOptimizer added in v0.3.1

func (m *RewriterConfig) GetDisableMetaOptimizer() bool

func (*RewriterConfig) GetDisableModelPruning

func (m *RewriterConfig) GetDisableModelPruning() bool

func (*RewriterConfig) GetFunctionOptimization added in v0.3.1

func (m *RewriterConfig) GetFunctionOptimization() RewriterConfig_Toggle

func (*RewriterConfig) GetLayoutOptimizer added in v0.3.1

func (m *RewriterConfig) GetLayoutOptimizer() RewriterConfig_Toggle

func (*RewriterConfig) GetLoopOptimization added in v0.3.1

func (m *RewriterConfig) GetLoopOptimization() RewriterConfig_Toggle

func (*RewriterConfig) GetMemoryOptimization

func (m *RewriterConfig) GetMemoryOptimization() RewriterConfig_MemOptType

func (*RewriterConfig) GetMemoryOptimizerTargetNodeNameScope added in v0.3.1

func (m *RewriterConfig) GetMemoryOptimizerTargetNodeNameScope() string

func (*RewriterConfig) GetMetaOptimizerIterations added in v0.3.1

func (m *RewriterConfig) GetMetaOptimizerIterations() RewriterConfig_NumIterationsType

func (*RewriterConfig) GetMinGraphNodes added in v0.3.1

func (m *RewriterConfig) GetMinGraphNodes() int32

func (*RewriterConfig) GetOptimizers

func (m *RewriterConfig) GetOptimizers() []string

func (*RewriterConfig) GetPinToHostOptimization added in v0.3.1

func (m *RewriterConfig) GetPinToHostOptimization() RewriterConfig_Toggle

func (*RewriterConfig) GetRemapping added in v0.3.1

func (m *RewriterConfig) GetRemapping() RewriterConfig_Toggle

func (*RewriterConfig) GetScopedAllocatorOptimization added in v0.3.1

func (m *RewriterConfig) GetScopedAllocatorOptimization() RewriterConfig_Toggle

func (*RewriterConfig) GetScopedAllocatorOpts added in v0.3.1

func (m *RewriterConfig) GetScopedAllocatorOpts() *ScopedAllocatorOptions

func (*RewriterConfig) GetShapeOptimization added in v0.3.1

func (m *RewriterConfig) GetShapeOptimization() RewriterConfig_Toggle

func (*RewriterConfig) Marshal

func (m *RewriterConfig) Marshal() (dAtA []byte, err error)

func (*RewriterConfig) MarshalTo

func (m *RewriterConfig) MarshalTo(dAtA []byte) (int, error)

func (*RewriterConfig) ProtoMessage

func (*RewriterConfig) ProtoMessage()

func (*RewriterConfig) Reset

func (m *RewriterConfig) Reset()

func (*RewriterConfig) Size

func (m *RewriterConfig) Size() (n int)

func (*RewriterConfig) String

func (m *RewriterConfig) String() string

func (*RewriterConfig) Unmarshal

func (m *RewriterConfig) Unmarshal(dAtA []byte) error

func (*RewriterConfig) XXX_DiscardUnknown added in v0.3.1

func (m *RewriterConfig) XXX_DiscardUnknown()

func (*RewriterConfig) XXX_Marshal added in v0.3.1

func (m *RewriterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewriterConfig) XXX_Merge added in v0.3.1

func (m *RewriterConfig) XXX_Merge(src proto.Message)

func (*RewriterConfig) XXX_Size added in v0.3.1

func (m *RewriterConfig) XXX_Size() int

func (*RewriterConfig) XXX_Unmarshal added in v0.3.1

func (m *RewriterConfig) XXX_Unmarshal(b []byte) error

type RewriterConfig_CustomGraphOptimizer added in v0.3.1

type RewriterConfig_CustomGraphOptimizer struct {
	Name         string                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ParameterMap map[string]*AttrValue `` /* 185-byte string literal not displayed */
}

Message to describe custom graph optimizer and its parameters

func (*RewriterConfig_CustomGraphOptimizer) Descriptor added in v0.3.1

func (*RewriterConfig_CustomGraphOptimizer) Descriptor() ([]byte, []int)

func (*RewriterConfig_CustomGraphOptimizer) GetName added in v0.3.1

func (*RewriterConfig_CustomGraphOptimizer) GetParameterMap added in v0.3.1

func (m *RewriterConfig_CustomGraphOptimizer) GetParameterMap() map[string]*AttrValue

func (*RewriterConfig_CustomGraphOptimizer) Marshal added in v0.3.1

func (m *RewriterConfig_CustomGraphOptimizer) Marshal() (dAtA []byte, err error)

func (*RewriterConfig_CustomGraphOptimizer) MarshalTo added in v0.3.1

func (m *RewriterConfig_CustomGraphOptimizer) MarshalTo(dAtA []byte) (int, error)

func (*RewriterConfig_CustomGraphOptimizer) ProtoMessage added in v0.3.1

func (*RewriterConfig_CustomGraphOptimizer) ProtoMessage()

func (*RewriterConfig_CustomGraphOptimizer) Reset added in v0.3.1

func (*RewriterConfig_CustomGraphOptimizer) Size added in v0.3.1

func (*RewriterConfig_CustomGraphOptimizer) String added in v0.3.1

func (*RewriterConfig_CustomGraphOptimizer) Unmarshal added in v0.3.1

func (m *RewriterConfig_CustomGraphOptimizer) Unmarshal(dAtA []byte) error

func (*RewriterConfig_CustomGraphOptimizer) XXX_DiscardUnknown added in v0.3.1

func (m *RewriterConfig_CustomGraphOptimizer) XXX_DiscardUnknown()

func (*RewriterConfig_CustomGraphOptimizer) XXX_Marshal added in v0.3.1

func (m *RewriterConfig_CustomGraphOptimizer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewriterConfig_CustomGraphOptimizer) XXX_Merge added in v0.3.1

func (*RewriterConfig_CustomGraphOptimizer) XXX_Size added in v0.3.1

func (*RewriterConfig_CustomGraphOptimizer) XXX_Unmarshal added in v0.3.1

func (m *RewriterConfig_CustomGraphOptimizer) XXX_Unmarshal(b []byte) error

type RewriterConfig_MemOptType

type RewriterConfig_MemOptType int32
const (
	// The default setting (SCHEDULING and SWAPPING HEURISTICS only)
	RewriterConfig_DEFAULT_MEM_OPT RewriterConfig_MemOptType = 0
	// Disabled in the meta-optimizer.
	RewriterConfig_NO_MEM_OPT RewriterConfig_MemOptType = 1
	// Driven by manual op-level annotations.
	RewriterConfig_MANUAL RewriterConfig_MemOptType = 2
	// Swapping heuristic will move a tensor from the GPU to the CPU and move
	// it back when needed to reduce peak memory usage.
	RewriterConfig_SWAPPING_HEURISTICS RewriterConfig_MemOptType = 4
	// Recomputation heuristics will recompute ops (such as Relu activation)
	// during backprop instead of storing them, reducing peak memory usage.
	RewriterConfig_RECOMPUTATION_HEURISTICS RewriterConfig_MemOptType = 5
	// Scheduling will split big ops such as AddN and try to enforce a schedule
	// of the new computations that decreases peak memory usage.
	RewriterConfig_SCHEDULING_HEURISTICS RewriterConfig_MemOptType = 6
	// Use any combination of swapping and recomputation heuristics.
	RewriterConfig_HEURISTICS RewriterConfig_MemOptType = 3
)

func (RewriterConfig_MemOptType) EnumDescriptor

func (RewriterConfig_MemOptType) EnumDescriptor() ([]byte, []int)

func (RewriterConfig_MemOptType) String

func (x RewriterConfig_MemOptType) String() string

type RewriterConfig_NumIterationsType added in v0.3.1

type RewriterConfig_NumIterationsType int32

Enum controlling the number of times to run optimizers. The default is to run them once.

const (
	RewriterConfig_DEFAULT_NUM_ITERS RewriterConfig_NumIterationsType = 0
	RewriterConfig_ONE               RewriterConfig_NumIterationsType = 1
	RewriterConfig_TWO               RewriterConfig_NumIterationsType = 2
)

func (RewriterConfig_NumIterationsType) EnumDescriptor added in v0.3.1

func (RewriterConfig_NumIterationsType) EnumDescriptor() ([]byte, []int)

func (RewriterConfig_NumIterationsType) String added in v0.3.1

type RewriterConfig_Toggle added in v0.3.1

type RewriterConfig_Toggle int32
const (
	RewriterConfig_DEFAULT RewriterConfig_Toggle = 0
	RewriterConfig_ON      RewriterConfig_Toggle = 1
	RewriterConfig_OFF     RewriterConfig_Toggle = 2
	// Enable some aggressive optimizations that use assumptions that TF graphs
	// may break. For example, assume the shape of a placeholder matches its
	// actual feed.
	RewriterConfig_AGGRESSIVE RewriterConfig_Toggle = 3
)

func (RewriterConfig_Toggle) EnumDescriptor added in v0.3.1

func (RewriterConfig_Toggle) EnumDescriptor() ([]byte, []int)

func (RewriterConfig_Toggle) String added in v0.3.1

func (x RewriterConfig_Toggle) String() string

type RunCallableRequest added in v0.3.1

type RunCallableRequest struct {
	// REQUIRED: session_handle must be returned by a CreateSession call
	// to the same master service.
	SessionHandle string `protobuf:"bytes,1,opt,name=session_handle,json=sessionHandle,proto3" json:"session_handle,omitempty"`
	// REQUIRED: handle must be returned by a MakeCallable call to the same
	// master service.
	Handle int64 `protobuf:"varint,2,opt,name=handle,proto3" json:"handle,omitempty"`
	// Values of the tensors passed as arguments to the callable, in the order
	// defined in the CallableOptions.feed field passed to MakeCallable.
	Feed []*TensorProto `protobuf:"bytes,3,rep,name=feed,proto3" json:"feed,omitempty"`
}

func (*RunCallableRequest) Descriptor added in v0.3.1

func (*RunCallableRequest) Descriptor() ([]byte, []int)

func (*RunCallableRequest) GetFeed added in v0.3.1

func (m *RunCallableRequest) GetFeed() []*TensorProto

func (*RunCallableRequest) GetHandle added in v0.3.1

func (m *RunCallableRequest) GetHandle() int64

func (*RunCallableRequest) GetSessionHandle added in v0.3.1

func (m *RunCallableRequest) GetSessionHandle() string

func (*RunCallableRequest) Marshal added in v0.3.1

func (m *RunCallableRequest) Marshal() (dAtA []byte, err error)

func (*RunCallableRequest) MarshalTo added in v0.3.1

func (m *RunCallableRequest) MarshalTo(dAtA []byte) (int, error)

func (*RunCallableRequest) ProtoMessage added in v0.3.1

func (*RunCallableRequest) ProtoMessage()

func (*RunCallableRequest) Reset added in v0.3.1

func (m *RunCallableRequest) Reset()

func (*RunCallableRequest) Size added in v0.3.1

func (m *RunCallableRequest) Size() (n int)

func (*RunCallableRequest) String added in v0.3.1

func (m *RunCallableRequest) String() string

func (*RunCallableRequest) Unmarshal added in v0.3.1

func (m *RunCallableRequest) Unmarshal(dAtA []byte) error

func (*RunCallableRequest) XXX_DiscardUnknown added in v0.3.1

func (m *RunCallableRequest) XXX_DiscardUnknown()

func (*RunCallableRequest) XXX_Marshal added in v0.3.1

func (m *RunCallableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunCallableRequest) XXX_Merge added in v0.3.1

func (m *RunCallableRequest) XXX_Merge(src proto.Message)

func (*RunCallableRequest) XXX_Size added in v0.3.1

func (m *RunCallableRequest) XXX_Size() int

func (*RunCallableRequest) XXX_Unmarshal added in v0.3.1

func (m *RunCallableRequest) XXX_Unmarshal(b []byte) error

type RunCallableResponse added in v0.3.1

type RunCallableResponse struct {
	// Values of the tensors returned by the callable, in the order defined in the
	// CallableOptions.fetch field passed to MakeCallable.
	Fetch []*TensorProto `protobuf:"bytes,1,rep,name=fetch,proto3" json:"fetch,omitempty"`
	// Returned metadata if requested in the options.
	Metadata *RunMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
}

func (*RunCallableResponse) Descriptor added in v0.3.1

func (*RunCallableResponse) Descriptor() ([]byte, []int)

func (*RunCallableResponse) GetFetch added in v0.3.1

func (m *RunCallableResponse) GetFetch() []*TensorProto

func (*RunCallableResponse) GetMetadata added in v0.3.1

func (m *RunCallableResponse) GetMetadata() *RunMetadata

func (*RunCallableResponse) Marshal added in v0.3.1

func (m *RunCallableResponse) Marshal() (dAtA []byte, err error)

func (*RunCallableResponse) MarshalTo added in v0.3.1

func (m *RunCallableResponse) MarshalTo(dAtA []byte) (int, error)

func (*RunCallableResponse) ProtoMessage added in v0.3.1

func (*RunCallableResponse) ProtoMessage()

func (*RunCallableResponse) Reset added in v0.3.1

func (m *RunCallableResponse) Reset()

func (*RunCallableResponse) Size added in v0.3.1

func (m *RunCallableResponse) Size() (n int)

func (*RunCallableResponse) String added in v0.3.1

func (m *RunCallableResponse) String() string

func (*RunCallableResponse) Unmarshal added in v0.3.1

func (m *RunCallableResponse) Unmarshal(dAtA []byte) error

func (*RunCallableResponse) XXX_DiscardUnknown added in v0.3.1

func (m *RunCallableResponse) XXX_DiscardUnknown()

func (*RunCallableResponse) XXX_Marshal added in v0.3.1

func (m *RunCallableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunCallableResponse) XXX_Merge added in v0.3.1

func (m *RunCallableResponse) XXX_Merge(src proto.Message)

func (*RunCallableResponse) XXX_Size added in v0.3.1

func (m *RunCallableResponse) XXX_Size() int

func (*RunCallableResponse) XXX_Unmarshal added in v0.3.1

func (m *RunCallableResponse) XXX_Unmarshal(b []byte) error

type RunGraphRequest

type RunGraphRequest struct {
	// session_handle is the master-generated unique id for this session.
	// If session_handle is non-empty, it must be the same as used when
	// registering the graph. If it is empty, a single global namespace is used to
	// search for the graph_handle.
	SessionHandle string `protobuf:"bytes,8,opt,name=session_handle,json=sessionHandle,proto3" json:"session_handle,omitempty"`
	// Set to true if `CreateWorkerSession` was called for `session_handle`.
	CreateWorkerSessionCalled bool `` /* 142-byte string literal not displayed */
	// REQUIRED: graph_handle must be returned by a RegisterGraph call
	// to the same WorkerService.
	GraphHandle string `protobuf:"bytes,1,opt,name=graph_handle,json=graphHandle,proto3" json:"graph_handle,omitempty"`
	// A unique ID to distinguish different runs of the same graph.
	//
	// The master generates a global unique `step_id` to distinguish
	// different runs of the graph computation. Subgraphs communicate
	// (e.g., send/recv ops) with each other using `step_id` to
	// distinguish tensors generated by different runs.
	StepId int64 `protobuf:"varint,2,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// Options for this step.
	ExecOpts *ExecutorOpts `protobuf:"bytes,5,opt,name=exec_opts,json=execOpts,proto3" json:"exec_opts,omitempty"`
	// Runs the graph.
	//
	// Sends the tensors in "send" into the graph before the run and
	// fetches the keys into `RunGraphResponse.recv` after the run.
	Send    []*NamedTensorProto `protobuf:"bytes,3,rep,name=send,proto3" json:"send,omitempty"`
	RecvKey []string            `protobuf:"bytes,4,rep,name=recv_key,json=recvKey,proto3" json:"recv_key,omitempty"`
	// True if the RunGraphRequest is a partial run request.
	IsPartial bool `protobuf:"varint,6,opt,name=is_partial,json=isPartial,proto3" json:"is_partial,omitempty"`
	// True if this is the last partial run request in a sequence of requests.
	IsLastPartialRun bool `protobuf:"varint,7,opt,name=is_last_partial_run,json=isLastPartialRun,proto3" json:"is_last_partial_run,omitempty"`
	// If true then some errors, e.g., execution errors that have long
	// error messages, may return an OK RunGraphResponse with the actual
	// error saved in the status_code/status_error_message fields of the
	// response body. This is a workaround since the RPC subsystem may
	// truncate long metadata messages.
	StoreErrorsInResponseBody bool `` /* 143-byte string literal not displayed */
}

func (*RunGraphRequest) Descriptor

func (*RunGraphRequest) Descriptor() ([]byte, []int)

func (*RunGraphRequest) GetCreateWorkerSessionCalled added in v0.3.1

func (m *RunGraphRequest) GetCreateWorkerSessionCalled() bool

func (*RunGraphRequest) GetExecOpts

func (m *RunGraphRequest) GetExecOpts() *ExecutorOpts

func (*RunGraphRequest) GetGraphHandle

func (m *RunGraphRequest) GetGraphHandle() string

func (*RunGraphRequest) GetIsLastPartialRun

func (m *RunGraphRequest) GetIsLastPartialRun() bool

func (*RunGraphRequest) GetIsPartial

func (m *RunGraphRequest) GetIsPartial() bool

func (*RunGraphRequest) GetRecvKey

func (m *RunGraphRequest) GetRecvKey() []string

func (*RunGraphRequest) GetSend

func (m *RunGraphRequest) GetSend() []*NamedTensorProto

func (*RunGraphRequest) GetSessionHandle

func (m *RunGraphRequest) GetSessionHandle() string

func (*RunGraphRequest) GetStepId

func (m *RunGraphRequest) GetStepId() int64

func (*RunGraphRequest) GetStoreErrorsInResponseBody added in v0.3.1

func (m *RunGraphRequest) GetStoreErrorsInResponseBody() bool

func (*RunGraphRequest) Marshal

func (m *RunGraphRequest) Marshal() (dAtA []byte, err error)

func (*RunGraphRequest) MarshalTo

func (m *RunGraphRequest) MarshalTo(dAtA []byte) (int, error)

func (*RunGraphRequest) ProtoMessage

func (*RunGraphRequest) ProtoMessage()

func (*RunGraphRequest) Reset

func (m *RunGraphRequest) Reset()

func (*RunGraphRequest) Size

func (m *RunGraphRequest) Size() (n int)

func (*RunGraphRequest) String

func (m *RunGraphRequest) String() string

func (*RunGraphRequest) Unmarshal

func (m *RunGraphRequest) Unmarshal(dAtA []byte) error

func (*RunGraphRequest) XXX_DiscardUnknown added in v0.3.1

func (m *RunGraphRequest) XXX_DiscardUnknown()

func (*RunGraphRequest) XXX_Marshal added in v0.3.1

func (m *RunGraphRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunGraphRequest) XXX_Merge added in v0.3.1

func (m *RunGraphRequest) XXX_Merge(src proto.Message)

func (*RunGraphRequest) XXX_Size added in v0.3.1

func (m *RunGraphRequest) XXX_Size() int

func (*RunGraphRequest) XXX_Unmarshal added in v0.3.1

func (m *RunGraphRequest) XXX_Unmarshal(b []byte) error

type RunGraphResponse

type RunGraphResponse struct {
	// A list of tensors corresponding to those requested by
	// `RunGraphRequest.recv_key`.
	Recv []*NamedTensorProto `protobuf:"bytes,1,rep,name=recv,proto3" json:"recv,omitempty"`
	// If the request asked for execution stats, the cost graph, or the partition
	// graphs, these are returned here.
	// TODO(suharshs): Package these in a RunMetadata instead.
	StepStats      *StepStats    `protobuf:"bytes,2,opt,name=step_stats,json=stepStats,proto3" json:"step_stats,omitempty"`
	CostGraph      *CostGraphDef `protobuf:"bytes,3,opt,name=cost_graph,json=costGraph,proto3" json:"cost_graph,omitempty"`
	PartitionGraph []*GraphDef   `protobuf:"bytes,4,rep,name=partition_graph,json=partitionGraph,proto3" json:"partition_graph,omitempty"`
	// If store_errors_in_response_body is true in the request, then
	// optionally the server may return an OK status for the RPC and
	// fill the true status into the fields below, to allow for messages
	// that are too long to fit in metadata.
	StatusCode         Code   `protobuf:"varint,5,opt,name=status_code,json=statusCode,proto3,enum=tensorflow.error.Code" json:"status_code,omitempty"`
	StatusErrorMessage string `protobuf:"bytes,6,opt,name=status_error_message,json=statusErrorMessage,proto3" json:"status_error_message,omitempty"`
}

func (*RunGraphResponse) Descriptor

func (*RunGraphResponse) Descriptor() ([]byte, []int)

func (*RunGraphResponse) GetCostGraph

func (m *RunGraphResponse) GetCostGraph() *CostGraphDef

func (*RunGraphResponse) GetPartitionGraph added in v0.3.1

func (m *RunGraphResponse) GetPartitionGraph() []*GraphDef

func (*RunGraphResponse) GetRecv

func (m *RunGraphResponse) GetRecv() []*NamedTensorProto

func (*RunGraphResponse) GetStatusCode added in v0.3.1

func (m *RunGraphResponse) GetStatusCode() Code

func (*RunGraphResponse) GetStatusErrorMessage added in v0.3.1

func (m *RunGraphResponse) GetStatusErrorMessage() string

func (*RunGraphResponse) GetStepStats

func (m *RunGraphResponse) GetStepStats() *StepStats

func (*RunGraphResponse) Marshal

func (m *RunGraphResponse) Marshal() (dAtA []byte, err error)

func (*RunGraphResponse) MarshalTo

func (m *RunGraphResponse) MarshalTo(dAtA []byte) (int, error)

func (*RunGraphResponse) ProtoMessage

func (*RunGraphResponse) ProtoMessage()

func (*RunGraphResponse) Reset

func (m *RunGraphResponse) Reset()

func (*RunGraphResponse) Size

func (m *RunGraphResponse) Size() (n int)

func (*RunGraphResponse) String

func (m *RunGraphResponse) String() string

func (*RunGraphResponse) Unmarshal

func (m *RunGraphResponse) Unmarshal(dAtA []byte) error

func (*RunGraphResponse) XXX_DiscardUnknown added in v0.3.1

func (m *RunGraphResponse) XXX_DiscardUnknown()

func (*RunGraphResponse) XXX_Marshal added in v0.3.1

func (m *RunGraphResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunGraphResponse) XXX_Merge added in v0.3.1

func (m *RunGraphResponse) XXX_Merge(src proto.Message)

func (*RunGraphResponse) XXX_Size added in v0.3.1

func (m *RunGraphResponse) XXX_Size() int

func (*RunGraphResponse) XXX_Unmarshal added in v0.3.1

func (m *RunGraphResponse) XXX_Unmarshal(b []byte) error

type RunMetadata

type RunMetadata struct {
	// Statistics traced for this step. Populated if tracing is turned on via the
	// "RunOptions" proto.
	// EXPERIMENTAL: The format and set of events may change in future versions.
	StepStats *StepStats `protobuf:"bytes,1,opt,name=step_stats,json=stepStats,proto3" json:"step_stats,omitempty"`
	// The cost graph for the computation defined by the run call.
	CostGraph *CostGraphDef `protobuf:"bytes,2,opt,name=cost_graph,json=costGraph,proto3" json:"cost_graph,omitempty"`
	// Graphs of the partitions executed by executors.
	PartitionGraphs []*GraphDef `protobuf:"bytes,3,rep,name=partition_graphs,json=partitionGraphs,proto3" json:"partition_graphs,omitempty"`
}

Metadata output (i.e., non-Tensor) for a single Run() call.

func (*RunMetadata) Descriptor

func (*RunMetadata) Descriptor() ([]byte, []int)

func (*RunMetadata) GetCostGraph

func (m *RunMetadata) GetCostGraph() *CostGraphDef

func (*RunMetadata) GetPartitionGraphs

func (m *RunMetadata) GetPartitionGraphs() []*GraphDef

func (*RunMetadata) GetStepStats

func (m *RunMetadata) GetStepStats() *StepStats

func (*RunMetadata) Marshal

func (m *RunMetadata) Marshal() (dAtA []byte, err error)

func (*RunMetadata) MarshalTo

func (m *RunMetadata) MarshalTo(dAtA []byte) (int, error)

func (*RunMetadata) ProtoMessage

func (*RunMetadata) ProtoMessage()

func (*RunMetadata) Reset

func (m *RunMetadata) Reset()

func (*RunMetadata) Size

func (m *RunMetadata) Size() (n int)

func (*RunMetadata) String

func (m *RunMetadata) String() string

func (*RunMetadata) Unmarshal

func (m *RunMetadata) Unmarshal(dAtA []byte) error

func (*RunMetadata) XXX_DiscardUnknown added in v0.3.1

func (m *RunMetadata) XXX_DiscardUnknown()

func (*RunMetadata) XXX_Marshal added in v0.3.1

func (m *RunMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunMetadata) XXX_Merge added in v0.3.1

func (m *RunMetadata) XXX_Merge(src proto.Message)

func (*RunMetadata) XXX_Size added in v0.3.1

func (m *RunMetadata) XXX_Size() int

func (*RunMetadata) XXX_Unmarshal added in v0.3.1

func (m *RunMetadata) XXX_Unmarshal(b []byte) error

type RunOptions

type RunOptions struct {
	TraceLevel RunOptions_TraceLevel `` /* 130-byte string literal not displayed */
	// Time to wait for operation to complete in milliseconds.
	TimeoutInMs int64 `protobuf:"varint,2,opt,name=timeout_in_ms,json=timeoutInMs,proto3" json:"timeout_in_ms,omitempty"`
	// The thread pool to use, if session_inter_op_thread_pool is configured.
	// To use the caller thread set this to -1 - this uses the caller thread
	// to execute Session::Run() and thus avoids a context switch. Using the
	// caller thread to execute Session::Run() should be done ONLY for simple
	// graphs, where the overhead of an additional context switch is
	// comparable with the overhead of Session::Run().
	InterOpThreadPool int32 `protobuf:"varint,3,opt,name=inter_op_thread_pool,json=interOpThreadPool,proto3" json:"inter_op_thread_pool,omitempty"`
	// Whether the partition graph(s) executed by the executor(s) should be
	// outputted via RunMetadata.
	OutputPartitionGraphs bool `` /* 127-byte string literal not displayed */
	// EXPERIMENTAL.  Options used to initialize DebuggerState, if enabled.
	DebugOptions *DebugOptions `protobuf:"bytes,6,opt,name=debug_options,json=debugOptions,proto3" json:"debug_options,omitempty"`
	// When enabled, causes tensor allocation information to be included in
	// the error message when the Run() call fails because the allocator ran
	// out of memory (OOM).
	//
	// Enabling this option can slow down the Run() call.
	ReportTensorAllocationsUponOom bool                     `` /* 158-byte string literal not displayed */
	Experimental                   *RunOptions_Experimental `protobuf:"bytes,8,opt,name=experimental,proto3" json:"experimental,omitempty"`
}

Options for a single Run() call.

func (*RunOptions) Descriptor

func (*RunOptions) Descriptor() ([]byte, []int)

func (*RunOptions) GetDebugOptions

func (m *RunOptions) GetDebugOptions() *DebugOptions

func (*RunOptions) GetExperimental added in v0.3.1

func (m *RunOptions) GetExperimental() *RunOptions_Experimental

func (*RunOptions) GetInterOpThreadPool

func (m *RunOptions) GetInterOpThreadPool() int32

func (*RunOptions) GetOutputPartitionGraphs

func (m *RunOptions) GetOutputPartitionGraphs() bool

func (*RunOptions) GetReportTensorAllocationsUponOom added in v0.3.1

func (m *RunOptions) GetReportTensorAllocationsUponOom() bool

func (*RunOptions) GetTimeoutInMs

func (m *RunOptions) GetTimeoutInMs() int64

func (*RunOptions) GetTraceLevel

func (m *RunOptions) GetTraceLevel() RunOptions_TraceLevel

func (*RunOptions) Marshal

func (m *RunOptions) Marshal() (dAtA []byte, err error)

func (*RunOptions) MarshalTo

func (m *RunOptions) MarshalTo(dAtA []byte) (int, error)

func (*RunOptions) ProtoMessage

func (*RunOptions) ProtoMessage()

func (*RunOptions) Reset

func (m *RunOptions) Reset()

func (*RunOptions) Size

func (m *RunOptions) Size() (n int)

func (*RunOptions) String

func (m *RunOptions) String() string

func (*RunOptions) Unmarshal

func (m *RunOptions) Unmarshal(dAtA []byte) error

func (*RunOptions) XXX_DiscardUnknown added in v0.3.1

func (m *RunOptions) XXX_DiscardUnknown()

func (*RunOptions) XXX_Marshal added in v0.3.1

func (m *RunOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunOptions) XXX_Merge added in v0.3.1

func (m *RunOptions) XXX_Merge(src proto.Message)

func (*RunOptions) XXX_Size added in v0.3.1

func (m *RunOptions) XXX_Size() int

func (*RunOptions) XXX_Unmarshal added in v0.3.1

func (m *RunOptions) XXX_Unmarshal(b []byte) error

type RunOptions_Experimental added in v0.3.1

type RunOptions_Experimental struct {
	// If non-zero, declares that this graph is going to use collective
	// ops and must synchronize step_ids with any other graph with this
	// same group_key value (in a distributed computation where tasks
	// run disjoint graphs).
	CollectiveGraphKey int64 `protobuf:"varint,1,opt,name=collective_graph_key,json=collectiveGraphKey,proto3" json:"collective_graph_key,omitempty"`
	// If true, then operations (using the inter-op pool) across all
	// session::run() calls will be centrally scheduled, optimizing for (median
	// and tail) latency.
	// Consider using this option for CPU-bound workloads like inference.
	UseRunHandlerPool bool `protobuf:"varint,2,opt,name=use_run_handler_pool,json=useRunHandlerPool,proto3" json:"use_run_handler_pool,omitempty"`
}

Everything inside Experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat.

func (*RunOptions_Experimental) Descriptor added in v0.3.1

func (*RunOptions_Experimental) Descriptor() ([]byte, []int)

func (*RunOptions_Experimental) GetCollectiveGraphKey added in v0.3.1

func (m *RunOptions_Experimental) GetCollectiveGraphKey() int64

func (*RunOptions_Experimental) GetUseRunHandlerPool added in v0.3.1

func (m *RunOptions_Experimental) GetUseRunHandlerPool() bool

func (*RunOptions_Experimental) Marshal added in v0.3.1

func (m *RunOptions_Experimental) Marshal() (dAtA []byte, err error)

func (*RunOptions_Experimental) MarshalTo added in v0.3.1

func (m *RunOptions_Experimental) MarshalTo(dAtA []byte) (int, error)

func (*RunOptions_Experimental) ProtoMessage added in v0.3.1

func (*RunOptions_Experimental) ProtoMessage()

func (*RunOptions_Experimental) Reset added in v0.3.1

func (m *RunOptions_Experimental) Reset()

func (*RunOptions_Experimental) Size added in v0.3.1

func (m *RunOptions_Experimental) Size() (n int)

func (*RunOptions_Experimental) String added in v0.3.1

func (m *RunOptions_Experimental) String() string

func (*RunOptions_Experimental) Unmarshal added in v0.3.1

func (m *RunOptions_Experimental) Unmarshal(dAtA []byte) error

func (*RunOptions_Experimental) XXX_DiscardUnknown added in v0.3.1

func (m *RunOptions_Experimental) XXX_DiscardUnknown()

func (*RunOptions_Experimental) XXX_Marshal added in v0.3.1

func (m *RunOptions_Experimental) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunOptions_Experimental) XXX_Merge added in v0.3.1

func (m *RunOptions_Experimental) XXX_Merge(src proto.Message)

func (*RunOptions_Experimental) XXX_Size added in v0.3.1

func (m *RunOptions_Experimental) XXX_Size() int

func (*RunOptions_Experimental) XXX_Unmarshal added in v0.3.1

func (m *RunOptions_Experimental) XXX_Unmarshal(b []byte) error

type RunOptions_TraceLevel

type RunOptions_TraceLevel int32

TODO(pbar) Turn this into a TraceOptions proto which allows tracing to be controlled in a more orthogonal manner?

const (
	RunOptions_NO_TRACE       RunOptions_TraceLevel = 0
	RunOptions_SOFTWARE_TRACE RunOptions_TraceLevel = 1
	RunOptions_HARDWARE_TRACE RunOptions_TraceLevel = 2
	RunOptions_FULL_TRACE     RunOptions_TraceLevel = 3
)

func (RunOptions_TraceLevel) EnumDescriptor

func (RunOptions_TraceLevel) EnumDescriptor() ([]byte, []int)

func (RunOptions_TraceLevel) String

func (x RunOptions_TraceLevel) String() string

type RunStepRequest

type RunStepRequest struct {
	// REQUIRED: session_handle must be returned by a CreateSession call
	// to the same master service.
	SessionHandle string `protobuf:"bytes,1,opt,name=session_handle,json=sessionHandle,proto3" json:"session_handle,omitempty"`
	// Tensors to be fed in the step. Each feed is a named tensor.
	Feed []*NamedTensorProto `protobuf:"bytes,2,rep,name=feed,proto3" json:"feed,omitempty"`
	// Fetches. A list of tensor names. The caller expects a tensor to
	// be returned for each fetch[i] (see RunStepResponse.tensor). The
	// order of specified fetches does not change the execution order.
	Fetch []string `protobuf:"bytes,3,rep,name=fetch,proto3" json:"fetch,omitempty"`
	// Target Nodes. A list of node names. The named nodes will be run
	// to but their outputs will not be fetched.
	Target []string `protobuf:"bytes,4,rep,name=target,proto3" json:"target,omitempty"`
	// Options for the run call.
	Options *RunOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"`
	// Partial run handle (optional). If specified, this will be a partial run
	// execution, run up to the specified fetches.
	PartialRunHandle string `protobuf:"bytes,6,opt,name=partial_run_handle,json=partialRunHandle,proto3" json:"partial_run_handle,omitempty"`
	// If true then some errors, e.g., execution errors that have long
	// error messages, may return an OK RunStepResponse with the actual
	// error saved in the status_code/status_error_message fields of the
	// response body. This is a workaround since the RPC subsystem may
	// truncate long metadata messages.
	StoreErrorsInResponseBody bool `` /* 143-byte string literal not displayed */
}

func (*RunStepRequest) Descriptor

func (*RunStepRequest) Descriptor() ([]byte, []int)

func (*RunStepRequest) GetFeed

func (m *RunStepRequest) GetFeed() []*NamedTensorProto

func (*RunStepRequest) GetFetch

func (m *RunStepRequest) GetFetch() []string

func (*RunStepRequest) GetOptions

func (m *RunStepRequest) GetOptions() *RunOptions

func (*RunStepRequest) GetPartialRunHandle

func (m *RunStepRequest) GetPartialRunHandle() string

func (*RunStepRequest) GetSessionHandle

func (m *RunStepRequest) GetSessionHandle() string

func (*RunStepRequest) GetStoreErrorsInResponseBody added in v0.3.1

func (m *RunStepRequest) GetStoreErrorsInResponseBody() bool

func (*RunStepRequest) GetTarget

func (m *RunStepRequest) GetTarget() []string

func (*RunStepRequest) Marshal

func (m *RunStepRequest) Marshal() (dAtA []byte, err error)

func (*RunStepRequest) MarshalTo

func (m *RunStepRequest) MarshalTo(dAtA []byte) (int, error)

func (*RunStepRequest) ProtoMessage

func (*RunStepRequest) ProtoMessage()

func (*RunStepRequest) Reset

func (m *RunStepRequest) Reset()

func (*RunStepRequest) Size

func (m *RunStepRequest) Size() (n int)

func (*RunStepRequest) String

func (m *RunStepRequest) String() string

func (*RunStepRequest) Unmarshal

func (m *RunStepRequest) Unmarshal(dAtA []byte) error

func (*RunStepRequest) XXX_DiscardUnknown added in v0.3.1

func (m *RunStepRequest) XXX_DiscardUnknown()

func (*RunStepRequest) XXX_Marshal added in v0.3.1

func (m *RunStepRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunStepRequest) XXX_Merge added in v0.3.1

func (m *RunStepRequest) XXX_Merge(src proto.Message)

func (*RunStepRequest) XXX_Size added in v0.3.1

func (m *RunStepRequest) XXX_Size() int

func (*RunStepRequest) XXX_Unmarshal added in v0.3.1

func (m *RunStepRequest) XXX_Unmarshal(b []byte) error

type RunStepResponse

type RunStepResponse struct {
	// NOTE: The order of the returned tensors may or may not match
	// the fetch order specified in RunStepRequest.
	Tensor []*NamedTensorProto `protobuf:"bytes,1,rep,name=tensor,proto3" json:"tensor,omitempty"`
	// Returned metadata if requested in the options.
	Metadata *RunMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// If store_errors_in_response_body is true in the request, then
	// optionally the server may return an OK status for the RPC and
	// fill the true status into the fields below, to allow for messages
	// that are too long to fit in metadata.
	StatusCode         Code   `protobuf:"varint,3,opt,name=status_code,json=statusCode,proto3,enum=tensorflow.error.Code" json:"status_code,omitempty"`
	StatusErrorMessage string `protobuf:"bytes,4,opt,name=status_error_message,json=statusErrorMessage,proto3" json:"status_error_message,omitempty"`
}

func (*RunStepResponse) Descriptor

func (*RunStepResponse) Descriptor() ([]byte, []int)

func (*RunStepResponse) GetMetadata

func (m *RunStepResponse) GetMetadata() *RunMetadata

func (*RunStepResponse) GetStatusCode added in v0.3.1

func (m *RunStepResponse) GetStatusCode() Code

func (*RunStepResponse) GetStatusErrorMessage added in v0.3.1

func (m *RunStepResponse) GetStatusErrorMessage() string

func (*RunStepResponse) GetTensor

func (m *RunStepResponse) GetTensor() []*NamedTensorProto

func (*RunStepResponse) Marshal

func (m *RunStepResponse) Marshal() (dAtA []byte, err error)

func (*RunStepResponse) MarshalTo

func (m *RunStepResponse) MarshalTo(dAtA []byte) (int, error)

func (*RunStepResponse) ProtoMessage

func (*RunStepResponse) ProtoMessage()

func (*RunStepResponse) Reset

func (m *RunStepResponse) Reset()

func (*RunStepResponse) Size

func (m *RunStepResponse) Size() (n int)

func (*RunStepResponse) String

func (m *RunStepResponse) String() string

func (*RunStepResponse) Unmarshal

func (m *RunStepResponse) Unmarshal(dAtA []byte) error

func (*RunStepResponse) XXX_DiscardUnknown added in v0.3.1

func (m *RunStepResponse) XXX_DiscardUnknown()

func (*RunStepResponse) XXX_Marshal added in v0.3.1

func (m *RunStepResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunStepResponse) XXX_Merge added in v0.3.1

func (m *RunStepResponse) XXX_Merge(src proto.Message)

func (*RunStepResponse) XXX_Size added in v0.3.1

func (m *RunStepResponse) XXX_Size() int

func (*RunStepResponse) XXX_Unmarshal added in v0.3.1

func (m *RunStepResponse) XXX_Unmarshal(b []byte) error

type SaveSliceInfoDef

type SaveSliceInfoDef struct {
	// Name of the full variable of which this is a slice.
	FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	// Shape of the full variable.
	FullShape []int64 `protobuf:"varint,2,rep,packed,name=full_shape,json=fullShape,proto3" json:"full_shape,omitempty"`
	// Offset of this variable into the full variable.
	VarOffset []int64 `protobuf:"varint,3,rep,packed,name=var_offset,json=varOffset,proto3" json:"var_offset,omitempty"`
	// Shape of this variable.
	VarShape []int64 `protobuf:"varint,4,rep,packed,name=var_shape,json=varShape,proto3" json:"var_shape,omitempty"`
}

func (*SaveSliceInfoDef) Descriptor

func (*SaveSliceInfoDef) Descriptor() ([]byte, []int)

func (*SaveSliceInfoDef) GetFullName

func (m *SaveSliceInfoDef) GetFullName() string

func (*SaveSliceInfoDef) GetFullShape

func (m *SaveSliceInfoDef) GetFullShape() []int64

func (*SaveSliceInfoDef) GetVarOffset

func (m *SaveSliceInfoDef) GetVarOffset() []int64

func (*SaveSliceInfoDef) GetVarShape

func (m *SaveSliceInfoDef) GetVarShape() []int64

func (*SaveSliceInfoDef) Marshal

func (m *SaveSliceInfoDef) Marshal() (dAtA []byte, err error)

func (*SaveSliceInfoDef) MarshalTo

func (m *SaveSliceInfoDef) MarshalTo(dAtA []byte) (int, error)

func (*SaveSliceInfoDef) ProtoMessage

func (*SaveSliceInfoDef) ProtoMessage()

func (*SaveSliceInfoDef) Reset

func (m *SaveSliceInfoDef) Reset()

func (*SaveSliceInfoDef) Size

func (m *SaveSliceInfoDef) Size() (n int)

func (*SaveSliceInfoDef) String

func (m *SaveSliceInfoDef) String() string

func (*SaveSliceInfoDef) Unmarshal

func (m *SaveSliceInfoDef) Unmarshal(dAtA []byte) error

func (*SaveSliceInfoDef) XXX_DiscardUnknown added in v0.3.1

func (m *SaveSliceInfoDef) XXX_DiscardUnknown()

func (*SaveSliceInfoDef) XXX_Marshal added in v0.3.1

func (m *SaveSliceInfoDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SaveSliceInfoDef) XXX_Merge added in v0.3.1

func (m *SaveSliceInfoDef) XXX_Merge(src proto.Message)

func (*SaveSliceInfoDef) XXX_Size added in v0.3.1

func (m *SaveSliceInfoDef) XXX_Size() int

func (*SaveSliceInfoDef) XXX_Unmarshal added in v0.3.1

func (m *SaveSliceInfoDef) XXX_Unmarshal(b []byte) error

type SavedModel

type SavedModel struct {
	// The schema version of the SavedModel instance. Used for versioning when
	// making future changes to the specification/implementation. Initial value
	// at release will be 1.
	SavedModelSchemaVersion int64 `` /* 135-byte string literal not displayed */
	// One or more MetaGraphs.
	MetaGraphs []*MetaGraphDef `protobuf:"bytes,2,rep,name=meta_graphs,json=metaGraphs,proto3" json:"meta_graphs,omitempty"`
}

SavedModel is the high level serialization format for TensorFlow Models. See [todo: doc links, similar to session_bundle] for more information.

func (*SavedModel) Descriptor

func (*SavedModel) Descriptor() ([]byte, []int)

func (*SavedModel) GetMetaGraphs

func (m *SavedModel) GetMetaGraphs() []*MetaGraphDef

func (*SavedModel) GetSavedModelSchemaVersion

func (m *SavedModel) GetSavedModelSchemaVersion() int64

func (*SavedModel) Marshal

func (m *SavedModel) Marshal() (dAtA []byte, err error)

func (*SavedModel) MarshalTo

func (m *SavedModel) MarshalTo(dAtA []byte) (int, error)

func (*SavedModel) ProtoMessage

func (*SavedModel) ProtoMessage()

func (*SavedModel) Reset

func (m *SavedModel) Reset()

func (*SavedModel) Size

func (m *SavedModel) Size() (n int)

func (*SavedModel) String

func (m *SavedModel) String() string

func (*SavedModel) Unmarshal

func (m *SavedModel) Unmarshal(dAtA []byte) error

func (*SavedModel) XXX_DiscardUnknown added in v0.3.1

func (m *SavedModel) XXX_DiscardUnknown()

func (*SavedModel) XXX_Marshal added in v0.3.1

func (m *SavedModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SavedModel) XXX_Merge added in v0.3.1

func (m *SavedModel) XXX_Merge(src proto.Message)

func (*SavedModel) XXX_Size added in v0.3.1

func (m *SavedModel) XXX_Size() int

func (*SavedModel) XXX_Unmarshal added in v0.3.1

func (m *SavedModel) XXX_Unmarshal(b []byte) error

type SaverDef

type SaverDef struct {
	// The name of the tensor in which to specify the filename when saving or
	// restoring a model checkpoint.
	FilenameTensorName string `protobuf:"bytes,1,opt,name=filename_tensor_name,json=filenameTensorName,proto3" json:"filename_tensor_name,omitempty"`
	// The operation to run when saving a model checkpoint.
	SaveTensorName string `protobuf:"bytes,2,opt,name=save_tensor_name,json=saveTensorName,proto3" json:"save_tensor_name,omitempty"`
	// The operation to run when restoring a model checkpoint.
	RestoreOpName string `protobuf:"bytes,3,opt,name=restore_op_name,json=restoreOpName,proto3" json:"restore_op_name,omitempty"`
	// Maximum number of checkpoints to keep.  If 0, no checkpoints are deleted.
	MaxToKeep int32 `protobuf:"varint,4,opt,name=max_to_keep,json=maxToKeep,proto3" json:"max_to_keep,omitempty"`
	// Shard the save files, one per device that has Variable nodes.
	Sharded bool `protobuf:"varint,5,opt,name=sharded,proto3" json:"sharded,omitempty"`
	// How often to keep an additional checkpoint. If not specified, only the last
	// "max_to_keep" checkpoints are kept; if specified, in addition to keeping
	// the last "max_to_keep" checkpoints, an additional checkpoint will be kept
	// for every n hours of training.
	KeepCheckpointEveryNHours float32                          `` /* 144-byte string literal not displayed */
	Version                   SaverDef_CheckpointFormatVersion `protobuf:"varint,7,opt,name=version,proto3,enum=tensorflow.SaverDef_CheckpointFormatVersion" json:"version,omitempty"`
}

Protocol buffer representing the configuration of a Saver.

func (*SaverDef) Descriptor

func (*SaverDef) Descriptor() ([]byte, []int)

func (*SaverDef) GetFilenameTensorName

func (m *SaverDef) GetFilenameTensorName() string

func (*SaverDef) GetKeepCheckpointEveryNHours

func (m *SaverDef) GetKeepCheckpointEveryNHours() float32

func (*SaverDef) GetMaxToKeep

func (m *SaverDef) GetMaxToKeep() int32

func (*SaverDef) GetRestoreOpName

func (m *SaverDef) GetRestoreOpName() string

func (*SaverDef) GetSaveTensorName

func (m *SaverDef) GetSaveTensorName() string

func (*SaverDef) GetSharded

func (m *SaverDef) GetSharded() bool

func (*SaverDef) GetVersion

func (*SaverDef) Marshal

func (m *SaverDef) Marshal() (dAtA []byte, err error)

func (*SaverDef) MarshalTo

func (m *SaverDef) MarshalTo(dAtA []byte) (int, error)

func (*SaverDef) ProtoMessage

func (*SaverDef) ProtoMessage()

func (*SaverDef) Reset

func (m *SaverDef) Reset()

func (*SaverDef) Size

func (m *SaverDef) Size() (n int)

func (*SaverDef) String

func (m *SaverDef) String() string

func (*SaverDef) Unmarshal

func (m *SaverDef) Unmarshal(dAtA []byte) error

func (*SaverDef) XXX_DiscardUnknown added in v0.3.1

func (m *SaverDef) XXX_DiscardUnknown()

func (*SaverDef) XXX_Marshal added in v0.3.1

func (m *SaverDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SaverDef) XXX_Merge added in v0.3.1

func (m *SaverDef) XXX_Merge(src proto.Message)

func (*SaverDef) XXX_Size added in v0.3.1

func (m *SaverDef) XXX_Size() int

func (*SaverDef) XXX_Unmarshal added in v0.3.1

func (m *SaverDef) XXX_Unmarshal(b []byte) error

type SaverDef_CheckpointFormatVersion

type SaverDef_CheckpointFormatVersion int32

A version number that identifies a different on-disk checkpoint format. Usually, each subclass of BaseSaverBuilder works with a particular version/format. However, it is possible that the same builder may be upgraded to support a newer checkpoint format in the future.

const (
	// Internal legacy format.
	SaverDef_LEGACY SaverDef_CheckpointFormatVersion = 0
	// Deprecated format: tf.Saver() which works with tensorflow::table::Table.
	SaverDef_V1 SaverDef_CheckpointFormatVersion = 1
	// Current format: more efficient.
	SaverDef_V2 SaverDef_CheckpointFormatVersion = 2
)

func (SaverDef_CheckpointFormatVersion) EnumDescriptor

func (SaverDef_CheckpointFormatVersion) EnumDescriptor() ([]byte, []int)

func (SaverDef_CheckpointFormatVersion) String

type ScopedAllocatorOptions added in v0.3.1

type ScopedAllocatorOptions struct {
	// If present, only perform optimization for these ops.
	EnableOp []string `protobuf:"bytes,1,rep,name=enable_op,json=enableOp,proto3" json:"enable_op,omitempty"`
}

func (*ScopedAllocatorOptions) Descriptor added in v0.3.1

func (*ScopedAllocatorOptions) Descriptor() ([]byte, []int)

func (*ScopedAllocatorOptions) GetEnableOp added in v0.3.1

func (m *ScopedAllocatorOptions) GetEnableOp() []string

func (*ScopedAllocatorOptions) Marshal added in v0.3.1

func (m *ScopedAllocatorOptions) Marshal() (dAtA []byte, err error)

func (*ScopedAllocatorOptions) MarshalTo added in v0.3.1

func (m *ScopedAllocatorOptions) MarshalTo(dAtA []byte) (int, error)

func (*ScopedAllocatorOptions) ProtoMessage added in v0.3.1

func (*ScopedAllocatorOptions) ProtoMessage()

func (*ScopedAllocatorOptions) Reset added in v0.3.1

func (m *ScopedAllocatorOptions) Reset()

func (*ScopedAllocatorOptions) Size added in v0.3.1

func (m *ScopedAllocatorOptions) Size() (n int)

func (*ScopedAllocatorOptions) String added in v0.3.1

func (m *ScopedAllocatorOptions) String() string

func (*ScopedAllocatorOptions) Unmarshal added in v0.3.1

func (m *ScopedAllocatorOptions) Unmarshal(dAtA []byte) error

func (*ScopedAllocatorOptions) XXX_DiscardUnknown added in v0.3.1

func (m *ScopedAllocatorOptions) XXX_DiscardUnknown()

func (*ScopedAllocatorOptions) XXX_Marshal added in v0.3.1

func (m *ScopedAllocatorOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScopedAllocatorOptions) XXX_Merge added in v0.3.1

func (m *ScopedAllocatorOptions) XXX_Merge(src proto.Message)

func (*ScopedAllocatorOptions) XXX_Size added in v0.3.1

func (m *ScopedAllocatorOptions) XXX_Size() int

func (*ScopedAllocatorOptions) XXX_Unmarshal added in v0.3.1

func (m *ScopedAllocatorOptions) XXX_Unmarshal(b []byte) error

type SendTensorRequest added in v0.3.1

type SendTensorRequest struct {
	ContextId uint64 `protobuf:"fixed64,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"`
	// All remote tensors are identified by <Op ID, Output num>. To mimic this
	// situation when directly sending tensors, we include an "artificial" op ID
	// (which would have corresponded to the _Recv op when not using SendTensor).
	OpId int64 `protobuf:"varint,2,opt,name=op_id,json=opId,proto3" json:"op_id,omitempty"`
	// The index within the repeated field is the output number that will help
	// uniquely identify (along with the above op_id) the particular tensor.
	Tensors []*TensorProto `protobuf:"bytes,3,rep,name=tensors,proto3" json:"tensors,omitempty"`
	// The device on which the tensors should be resident.
	DeviceName string `protobuf:"bytes,4,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
}

func (*SendTensorRequest) Descriptor added in v0.3.1

func (*SendTensorRequest) Descriptor() ([]byte, []int)

func (*SendTensorRequest) GetContextId added in v0.3.1

func (m *SendTensorRequest) GetContextId() uint64

func (*SendTensorRequest) GetDeviceName added in v0.3.1

func (m *SendTensorRequest) GetDeviceName() string

func (*SendTensorRequest) GetOpId added in v0.3.1

func (m *SendTensorRequest) GetOpId() int64

func (*SendTensorRequest) GetTensors added in v0.3.1

func (m *SendTensorRequest) GetTensors() []*TensorProto

func (*SendTensorRequest) Marshal added in v0.3.1

func (m *SendTensorRequest) Marshal() (dAtA []byte, err error)

func (*SendTensorRequest) MarshalTo added in v0.3.1

func (m *SendTensorRequest) MarshalTo(dAtA []byte) (int, error)

func (*SendTensorRequest) ProtoMessage added in v0.3.1

func (*SendTensorRequest) ProtoMessage()

func (*SendTensorRequest) Reset added in v0.3.1

func (m *SendTensorRequest) Reset()

func (*SendTensorRequest) Size added in v0.3.1

func (m *SendTensorRequest) Size() (n int)

func (*SendTensorRequest) String added in v0.3.1

func (m *SendTensorRequest) String() string

func (*SendTensorRequest) Unmarshal added in v0.3.1

func (m *SendTensorRequest) Unmarshal(dAtA []byte) error

func (*SendTensorRequest) XXX_DiscardUnknown added in v0.3.1

func (m *SendTensorRequest) XXX_DiscardUnknown()

func (*SendTensorRequest) XXX_Marshal added in v0.3.1

func (m *SendTensorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendTensorRequest) XXX_Merge added in v0.3.1

func (m *SendTensorRequest) XXX_Merge(src proto.Message)

func (*SendTensorRequest) XXX_Size added in v0.3.1

func (m *SendTensorRequest) XXX_Size() int

func (*SendTensorRequest) XXX_Unmarshal added in v0.3.1

func (m *SendTensorRequest) XXX_Unmarshal(b []byte) error

type SendTensorResponse added in v0.3.1

type SendTensorResponse struct {
}

func (*SendTensorResponse) Descriptor added in v0.3.1

func (*SendTensorResponse) Descriptor() ([]byte, []int)

func (*SendTensorResponse) Marshal added in v0.3.1

func (m *SendTensorResponse) Marshal() (dAtA []byte, err error)

func (*SendTensorResponse) MarshalTo added in v0.3.1

func (m *SendTensorResponse) MarshalTo(dAtA []byte) (int, error)

func (*SendTensorResponse) ProtoMessage added in v0.3.1

func (*SendTensorResponse) ProtoMessage()

func (*SendTensorResponse) Reset added in v0.3.1

func (m *SendTensorResponse) Reset()

func (*SendTensorResponse) Size added in v0.3.1

func (m *SendTensorResponse) Size() (n int)

func (*SendTensorResponse) String added in v0.3.1

func (m *SendTensorResponse) String() string

func (*SendTensorResponse) Unmarshal added in v0.3.1

func (m *SendTensorResponse) Unmarshal(dAtA []byte) error

func (*SendTensorResponse) XXX_DiscardUnknown added in v0.3.1

func (m *SendTensorResponse) XXX_DiscardUnknown()

func (*SendTensorResponse) XXX_Marshal added in v0.3.1

func (m *SendTensorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendTensorResponse) XXX_Merge added in v0.3.1

func (m *SendTensorResponse) XXX_Merge(src proto.Message)

func (*SendTensorResponse) XXX_Size added in v0.3.1

func (m *SendTensorResponse) XXX_Size() int

func (*SendTensorResponse) XXX_Unmarshal added in v0.3.1

func (m *SendTensorResponse) XXX_Unmarshal(b []byte) error

type ServerDef

type ServerDef struct {
	// The cluster of which this server is a member.
	Cluster *ClusterDef `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// The name of the job of which this server is a member.
	//
	// NOTE(mrry): The `cluster` field must contain a `JobDef` with a `name` field
	// that matches this name.
	JobName string `protobuf:"bytes,2,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// The task index of this server in its job.
	//
	// NOTE: The `cluster` field must contain a `JobDef` with a matching `name`
	// and a mapping in its `tasks` field for this index.
	TaskIndex int32 `protobuf:"varint,3,opt,name=task_index,json=taskIndex,proto3" json:"task_index,omitempty"`
	// The default configuration for sessions that run on this server.
	DefaultSessionConfig *ConfigProto `protobuf:"bytes,4,opt,name=default_session_config,json=defaultSessionConfig,proto3" json:"default_session_config,omitempty"`
	// The protocol to be used by this server.
	//
	// Acceptable values include: "grpc", "grpc+verbs".
	Protocol string `protobuf:"bytes,5,opt,name=protocol,proto3" json:"protocol,omitempty"`
}

Defines the configuration of a single TensorFlow server.

func (*ServerDef) Descriptor

func (*ServerDef) Descriptor() ([]byte, []int)

func (*ServerDef) GetCluster

func (m *ServerDef) GetCluster() *ClusterDef

func (*ServerDef) GetDefaultSessionConfig

func (m *ServerDef) GetDefaultSessionConfig() *ConfigProto

func (*ServerDef) GetJobName

func (m *ServerDef) GetJobName() string

func (*ServerDef) GetProtocol

func (m *ServerDef) GetProtocol() string

func (*ServerDef) GetTaskIndex

func (m *ServerDef) GetTaskIndex() int32

func (*ServerDef) Marshal

func (m *ServerDef) Marshal() (dAtA []byte, err error)

func (*ServerDef) MarshalTo

func (m *ServerDef) MarshalTo(dAtA []byte) (int, error)

func (*ServerDef) ProtoMessage

func (*ServerDef) ProtoMessage()

func (*ServerDef) Reset

func (m *ServerDef) Reset()

func (*ServerDef) Size

func (m *ServerDef) Size() (n int)

func (*ServerDef) String

func (m *ServerDef) String() string

func (*ServerDef) Unmarshal

func (m *ServerDef) Unmarshal(dAtA []byte) error

func (*ServerDef) XXX_DiscardUnknown added in v0.3.1

func (m *ServerDef) XXX_DiscardUnknown()

func (*ServerDef) XXX_Marshal added in v0.3.1

func (m *ServerDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServerDef) XXX_Merge added in v0.3.1

func (m *ServerDef) XXX_Merge(src proto.Message)

func (*ServerDef) XXX_Size added in v0.3.1

func (m *ServerDef) XXX_Size() int

func (*ServerDef) XXX_Unmarshal added in v0.3.1

func (m *ServerDef) XXX_Unmarshal(b []byte) error

type SessionLog added in v0.3.1

type SessionLog struct {
	Status SessionLog_SessionStatus `protobuf:"varint,1,opt,name=status,proto3,enum=tensorflow.SessionLog_SessionStatus" json:"status,omitempty"`
	// This checkpoint_path contains both the path and filename.
	CheckpointPath string `protobuf:"bytes,2,opt,name=checkpoint_path,json=checkpointPath,proto3" json:"checkpoint_path,omitempty"`
	Msg            string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
}

Protocol buffer used for logging session state.

func (*SessionLog) Descriptor added in v0.3.1

func (*SessionLog) Descriptor() ([]byte, []int)

func (*SessionLog) GetCheckpointPath added in v0.3.1

func (m *SessionLog) GetCheckpointPath() string

func (*SessionLog) GetMsg added in v0.3.1

func (m *SessionLog) GetMsg() string

func (*SessionLog) GetStatus added in v0.3.1

func (m *SessionLog) GetStatus() SessionLog_SessionStatus

func (*SessionLog) Marshal added in v0.3.1

func (m *SessionLog) Marshal() (dAtA []byte, err error)

func (*SessionLog) MarshalTo added in v0.3.1

func (m *SessionLog) MarshalTo(dAtA []byte) (int, error)

func (*SessionLog) ProtoMessage added in v0.3.1

func (*SessionLog) ProtoMessage()

func (*SessionLog) Reset added in v0.3.1

func (m *SessionLog) Reset()

func (*SessionLog) Size added in v0.3.1

func (m *SessionLog) Size() (n int)

func (*SessionLog) String added in v0.3.1

func (m *SessionLog) String() string

func (*SessionLog) Unmarshal added in v0.3.1

func (m *SessionLog) Unmarshal(dAtA []byte) error

func (*SessionLog) XXX_DiscardUnknown added in v0.3.1

func (m *SessionLog) XXX_DiscardUnknown()

func (*SessionLog) XXX_Marshal added in v0.3.1

func (m *SessionLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionLog) XXX_Merge added in v0.3.1

func (m *SessionLog) XXX_Merge(src proto.Message)

func (*SessionLog) XXX_Size added in v0.3.1

func (m *SessionLog) XXX_Size() int

func (*SessionLog) XXX_Unmarshal added in v0.3.1

func (m *SessionLog) XXX_Unmarshal(b []byte) error

type SessionLog_SessionStatus added in v0.3.1

type SessionLog_SessionStatus int32
const (
	SessionLog_STATUS_UNSPECIFIED SessionLog_SessionStatus = 0
	SessionLog_START              SessionLog_SessionStatus = 1
	SessionLog_STOP               SessionLog_SessionStatus = 2
	SessionLog_CHECKPOINT         SessionLog_SessionStatus = 3
)

func (SessionLog_SessionStatus) EnumDescriptor added in v0.3.1

func (SessionLog_SessionStatus) EnumDescriptor() ([]byte, []int)

func (SessionLog_SessionStatus) String added in v0.3.1

func (x SessionLog_SessionStatus) String() string

type SignatureDef

type SignatureDef struct {
	// Named input parameters.
	Inputs map[string]*TensorInfo `` /* 153-byte string literal not displayed */
	// Named output parameters.
	Outputs map[string]*TensorInfo `` /* 155-byte string literal not displayed */
	// Extensible method_name information enabling third-party users to mark a
	// SignatureDef as supporting a particular method. This enables producers and
	// consumers of SignatureDefs, e.g. a model definition library and a serving
	// library to have a clear hand-off regarding the semantics of a computation.
	//
	// Note that multiple SignatureDefs in a single MetaGraphDef may have the same
	// method_name. This is commonly used to support multi-headed computation,
	// where a single graph computation may return multiple results.
	MethodName string `protobuf:"bytes,3,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"`
}

SignatureDef defines the signature of a computation supported by a TensorFlow graph.

For example, a model with two loss computations, sharing a single input, might have the following signature_def map.

Note that across the two SignatureDefs "loss_A" and "loss_B", the input key, output key, and method_name are identical, and will be used by system(s) that implement or rely upon this particular loss method. The output tensor names differ, demonstrating how different outputs can exist for the same method.

signature_def {
  key: "loss_A"
  value {
    inputs {
      key: "input"
      value {
        name: "input:0"
        dtype: DT_STRING
        tensor_shape: ...
      }
    }
    outputs {
      key: "loss_output"
      value {
        name: "loss_output_A:0"
        dtype: DT_FLOAT
        tensor_shape: ...
      }
    }
  }
  ...
  method_name: "some/package/compute_loss"
}
signature_def {
  key: "loss_B"
  value {
    inputs {
      key: "input"
      value {
        name: "input:0"
        dtype: DT_STRING
        tensor_shape: ...
      }
    }
    outputs {
      key: "loss_output"
      value {
        name: "loss_output_B:0"
        dtype: DT_FLOAT
        tensor_shape: ...
      }
    }
  }
  ...
  method_name: "some/package/compute_loss"
}

func (*SignatureDef) Descriptor

func (*SignatureDef) Descriptor() ([]byte, []int)

func (*SignatureDef) GetInputs

func (m *SignatureDef) GetInputs() map[string]*TensorInfo

func (*SignatureDef) GetMethodName

func (m *SignatureDef) GetMethodName() string

func (*SignatureDef) GetOutputs

func (m *SignatureDef) GetOutputs() map[string]*TensorInfo

func (*SignatureDef) Marshal

func (m *SignatureDef) Marshal() (dAtA []byte, err error)

func (*SignatureDef) MarshalTo

func (m *SignatureDef) MarshalTo(dAtA []byte) (int, error)

func (*SignatureDef) ProtoMessage

func (*SignatureDef) ProtoMessage()

func (*SignatureDef) Reset

func (m *SignatureDef) Reset()

func (*SignatureDef) Size

func (m *SignatureDef) Size() (n int)

func (*SignatureDef) String

func (m *SignatureDef) String() string

func (*SignatureDef) Unmarshal

func (m *SignatureDef) Unmarshal(dAtA []byte) error

func (*SignatureDef) XXX_DiscardUnknown added in v0.3.1

func (m *SignatureDef) XXX_DiscardUnknown()

func (*SignatureDef) XXX_Marshal added in v0.3.1

func (m *SignatureDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignatureDef) XXX_Merge added in v0.3.1

func (m *SignatureDef) XXX_Merge(src proto.Message)

func (*SignatureDef) XXX_Size added in v0.3.1

func (m *SignatureDef) XXX_Size() int

func (*SignatureDef) XXX_Unmarshal added in v0.3.1

func (m *SignatureDef) XXX_Unmarshal(b []byte) error

type StepSequence added in v0.3.1

type StepSequence struct {
	GraphKey   int64 `protobuf:"varint,1,opt,name=graph_key,json=graphKey,proto3" json:"graph_key,omitempty"`
	NextStepId int64 `protobuf:"varint,2,opt,name=next_step_id,json=nextStepId,proto3" json:"next_step_id,omitempty"`
}

func (*StepSequence) Descriptor added in v0.3.1

func (*StepSequence) Descriptor() ([]byte, []int)

func (*StepSequence) GetGraphKey added in v0.3.1

func (m *StepSequence) GetGraphKey() int64

func (*StepSequence) GetNextStepId added in v0.3.1

func (m *StepSequence) GetNextStepId() int64

func (*StepSequence) Marshal added in v0.3.1

func (m *StepSequence) Marshal() (dAtA []byte, err error)

func (*StepSequence) MarshalTo added in v0.3.1

func (m *StepSequence) MarshalTo(dAtA []byte) (int, error)

func (*StepSequence) ProtoMessage added in v0.3.1

func (*StepSequence) ProtoMessage()

func (*StepSequence) Reset added in v0.3.1

func (m *StepSequence) Reset()

func (*StepSequence) Size added in v0.3.1

func (m *StepSequence) Size() (n int)

func (*StepSequence) String added in v0.3.1

func (m *StepSequence) String() string

func (*StepSequence) Unmarshal added in v0.3.1

func (m *StepSequence) Unmarshal(dAtA []byte) error

func (*StepSequence) XXX_DiscardUnknown added in v0.3.1

func (m *StepSequence) XXX_DiscardUnknown()

func (*StepSequence) XXX_Marshal added in v0.3.1

func (m *StepSequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StepSequence) XXX_Merge added in v0.3.1

func (m *StepSequence) XXX_Merge(src proto.Message)

func (*StepSequence) XXX_Size added in v0.3.1

func (m *StepSequence) XXX_Size() int

func (*StepSequence) XXX_Unmarshal added in v0.3.1

func (m *StepSequence) XXX_Unmarshal(b []byte) error

type StepStats

type StepStats struct {
	DevStats []*DeviceStepStats `protobuf:"bytes,1,rep,name=dev_stats,json=devStats,proto3" json:"dev_stats,omitempty"`
}

func (*StepStats) Descriptor

func (*StepStats) Descriptor() ([]byte, []int)

func (*StepStats) GetDevStats

func (m *StepStats) GetDevStats() []*DeviceStepStats

func (*StepStats) Marshal

func (m *StepStats) Marshal() (dAtA []byte, err error)

func (*StepStats) MarshalTo

func (m *StepStats) MarshalTo(dAtA []byte) (int, error)

func (*StepStats) ProtoMessage

func (*StepStats) ProtoMessage()

func (*StepStats) Reset

func (m *StepStats) Reset()

func (*StepStats) Size

func (m *StepStats) Size() (n int)

func (*StepStats) String

func (m *StepStats) String() string

func (*StepStats) Unmarshal

func (m *StepStats) Unmarshal(dAtA []byte) error

func (*StepStats) XXX_DiscardUnknown added in v0.3.1

func (m *StepStats) XXX_DiscardUnknown()

func (*StepStats) XXX_Marshal added in v0.3.1

func (m *StepStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StepStats) XXX_Merge added in v0.3.1

func (m *StepStats) XXX_Merge(src proto.Message)

func (*StepStats) XXX_Size added in v0.3.1

func (m *StepStats) XXX_Size() int

func (*StepStats) XXX_Unmarshal added in v0.3.1

func (m *StepStats) XXX_Unmarshal(b []byte) error

type Summary

type Summary struct {
	// Set of values for the summary.
	Value []*Summary_Value `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
}

A Summary is a set of named values to be displayed by the visualizer.

Summaries are produced regularly during training, as controlled by the "summary_interval_secs" attribute of the training operation. Summaries are also produced at the end of an evaluation.

func (*Summary) Descriptor

func (*Summary) Descriptor() ([]byte, []int)

func (*Summary) GetValue

func (m *Summary) GetValue() []*Summary_Value

func (*Summary) Marshal

func (m *Summary) Marshal() (dAtA []byte, err error)

func (*Summary) MarshalTo

func (m *Summary) MarshalTo(dAtA []byte) (int, error)

func (*Summary) ProtoMessage

func (*Summary) ProtoMessage()

func (*Summary) Reset

func (m *Summary) Reset()

func (*Summary) Size

func (m *Summary) Size() (n int)

func (*Summary) String

func (m *Summary) String() string

func (*Summary) Unmarshal

func (m *Summary) Unmarshal(dAtA []byte) error

func (*Summary) XXX_DiscardUnknown added in v0.3.1

func (m *Summary) XXX_DiscardUnknown()

func (*Summary) XXX_Marshal added in v0.3.1

func (m *Summary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Summary) XXX_Merge added in v0.3.1

func (m *Summary) XXX_Merge(src proto.Message)

func (*Summary) XXX_Size added in v0.3.1

func (m *Summary) XXX_Size() int

func (*Summary) XXX_Unmarshal added in v0.3.1

func (m *Summary) XXX_Unmarshal(b []byte) error

type SummaryDescription

type SummaryDescription struct {
	// Hint on how plugins should process the data in this series.
	// Supported values include "scalar", "histogram", "image", "audio"
	TypeHint string `protobuf:"bytes,1,opt,name=type_hint,json=typeHint,proto3" json:"type_hint,omitempty"`
}

Metadata associated with a series of Summary data

func (*SummaryDescription) Descriptor

func (*SummaryDescription) Descriptor() ([]byte, []int)

func (*SummaryDescription) GetTypeHint

func (m *SummaryDescription) GetTypeHint() string

func (*SummaryDescription) Marshal

func (m *SummaryDescription) Marshal() (dAtA []byte, err error)

func (*SummaryDescription) MarshalTo

func (m *SummaryDescription) MarshalTo(dAtA []byte) (int, error)

func (*SummaryDescription) ProtoMessage

func (*SummaryDescription) ProtoMessage()

func (*SummaryDescription) Reset

func (m *SummaryDescription) Reset()

func (*SummaryDescription) Size

func (m *SummaryDescription) Size() (n int)

func (*SummaryDescription) String

func (m *SummaryDescription) String() string

func (*SummaryDescription) Unmarshal

func (m *SummaryDescription) Unmarshal(dAtA []byte) error

func (*SummaryDescription) XXX_DiscardUnknown added in v0.3.1

func (m *SummaryDescription) XXX_DiscardUnknown()

func (*SummaryDescription) XXX_Marshal added in v0.3.1

func (m *SummaryDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SummaryDescription) XXX_Merge added in v0.3.1

func (m *SummaryDescription) XXX_Merge(src proto.Message)

func (*SummaryDescription) XXX_Size added in v0.3.1

func (m *SummaryDescription) XXX_Size() int

func (*SummaryDescription) XXX_Unmarshal added in v0.3.1

func (m *SummaryDescription) XXX_Unmarshal(b []byte) error

type SummaryMetadata added in v0.3.1

type SummaryMetadata struct {
	// Data that associates a summary with a certain plugin.
	PluginData *SummaryMetadata_PluginData `protobuf:"bytes,1,opt,name=plugin_data,json=pluginData,proto3" json:"plugin_data,omitempty"`
	// Display name for viewing in TensorBoard.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Longform readable description of the summary sequence. Markdown supported.
	SummaryDescription string `protobuf:"bytes,3,opt,name=summary_description,json=summaryDescription,proto3" json:"summary_description,omitempty"`
}

A SummaryMetadata encapsulates information on which plugins are able to make use of a certain summary value.

func (*SummaryMetadata) Descriptor added in v0.3.1

func (*SummaryMetadata) Descriptor() ([]byte, []int)

func (*SummaryMetadata) GetDisplayName added in v0.3.1

func (m *SummaryMetadata) GetDisplayName() string

func (*SummaryMetadata) GetPluginData added in v0.3.1

func (m *SummaryMetadata) GetPluginData() *SummaryMetadata_PluginData

func (*SummaryMetadata) GetSummaryDescription added in v0.3.1

func (m *SummaryMetadata) GetSummaryDescription() string

func (*SummaryMetadata) Marshal added in v0.3.1

func (m *SummaryMetadata) Marshal() (dAtA []byte, err error)

func (*SummaryMetadata) MarshalTo added in v0.3.1

func (m *SummaryMetadata) MarshalTo(dAtA []byte) (int, error)

func (*SummaryMetadata) ProtoMessage added in v0.3.1

func (*SummaryMetadata) ProtoMessage()

func (*SummaryMetadata) Reset added in v0.3.1

func (m *SummaryMetadata) Reset()

func (*SummaryMetadata) Size added in v0.3.1

func (m *SummaryMetadata) Size() (n int)

func (*SummaryMetadata) String added in v0.3.1

func (m *SummaryMetadata) String() string

func (*SummaryMetadata) Unmarshal added in v0.3.1

func (m *SummaryMetadata) Unmarshal(dAtA []byte) error

func (*SummaryMetadata) XXX_DiscardUnknown added in v0.3.1

func (m *SummaryMetadata) XXX_DiscardUnknown()

func (*SummaryMetadata) XXX_Marshal added in v0.3.1

func (m *SummaryMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SummaryMetadata) XXX_Merge added in v0.3.1

func (m *SummaryMetadata) XXX_Merge(src proto.Message)

func (*SummaryMetadata) XXX_Size added in v0.3.1

func (m *SummaryMetadata) XXX_Size() int

func (*SummaryMetadata) XXX_Unmarshal added in v0.3.1

func (m *SummaryMetadata) XXX_Unmarshal(b []byte) error

type SummaryMetadata_PluginData added in v0.3.1

type SummaryMetadata_PluginData struct {
	// The name of the plugin this data pertains to.
	PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
	// The content to store for the plugin. The best practice is for this to be
	// a binary serialized protocol buffer.
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
}

func (*SummaryMetadata_PluginData) Descriptor added in v0.3.1

func (*SummaryMetadata_PluginData) Descriptor() ([]byte, []int)

func (*SummaryMetadata_PluginData) GetContent added in v0.3.1

func (m *SummaryMetadata_PluginData) GetContent() []byte

func (*SummaryMetadata_PluginData) GetPluginName added in v0.3.1

func (m *SummaryMetadata_PluginData) GetPluginName() string

func (*SummaryMetadata_PluginData) Marshal added in v0.3.1

func (m *SummaryMetadata_PluginData) Marshal() (dAtA []byte, err error)

func (*SummaryMetadata_PluginData) MarshalTo added in v0.3.1

func (m *SummaryMetadata_PluginData) MarshalTo(dAtA []byte) (int, error)

func (*SummaryMetadata_PluginData) ProtoMessage added in v0.3.1

func (*SummaryMetadata_PluginData) ProtoMessage()

func (*SummaryMetadata_PluginData) Reset added in v0.3.1

func (m *SummaryMetadata_PluginData) Reset()

func (*SummaryMetadata_PluginData) Size added in v0.3.1

func (m *SummaryMetadata_PluginData) Size() (n int)

func (*SummaryMetadata_PluginData) String added in v0.3.1

func (m *SummaryMetadata_PluginData) String() string

func (*SummaryMetadata_PluginData) Unmarshal added in v0.3.1

func (m *SummaryMetadata_PluginData) Unmarshal(dAtA []byte) error

func (*SummaryMetadata_PluginData) XXX_DiscardUnknown added in v0.3.1

func (m *SummaryMetadata_PluginData) XXX_DiscardUnknown()

func (*SummaryMetadata_PluginData) XXX_Marshal added in v0.3.1

func (m *SummaryMetadata_PluginData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SummaryMetadata_PluginData) XXX_Merge added in v0.3.1

func (m *SummaryMetadata_PluginData) XXX_Merge(src proto.Message)

func (*SummaryMetadata_PluginData) XXX_Size added in v0.3.1

func (m *SummaryMetadata_PluginData) XXX_Size() int

func (*SummaryMetadata_PluginData) XXX_Unmarshal added in v0.3.1

func (m *SummaryMetadata_PluginData) XXX_Unmarshal(b []byte) error

type Summary_Audio

type Summary_Audio struct {
	// Sample rate of the audio in Hz.
	SampleRate float32 `protobuf:"fixed32,1,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"`
	// Number of channels of audio.
	NumChannels int64 `protobuf:"varint,2,opt,name=num_channels,json=numChannels,proto3" json:"num_channels,omitempty"`
	// Length of the audio in frames (samples per channel).
	LengthFrames int64 `protobuf:"varint,3,opt,name=length_frames,json=lengthFrames,proto3" json:"length_frames,omitempty"`
	// Encoded audio data and its associated RFC 2045 content type (e.g.
	// "audio/wav").
	EncodedAudioString []byte `protobuf:"bytes,4,opt,name=encoded_audio_string,json=encodedAudioString,proto3" json:"encoded_audio_string,omitempty"`
	ContentType        string `protobuf:"bytes,5,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
}

func (*Summary_Audio) Descriptor

func (*Summary_Audio) Descriptor() ([]byte, []int)

func (*Summary_Audio) GetContentType

func (m *Summary_Audio) GetContentType() string

func (*Summary_Audio) GetEncodedAudioString

func (m *Summary_Audio) GetEncodedAudioString() []byte

func (*Summary_Audio) GetLengthFrames

func (m *Summary_Audio) GetLengthFrames() int64

func (*Summary_Audio) GetNumChannels

func (m *Summary_Audio) GetNumChannels() int64

func (*Summary_Audio) GetSampleRate

func (m *Summary_Audio) GetSampleRate() float32

func (*Summary_Audio) Marshal

func (m *Summary_Audio) Marshal() (dAtA []byte, err error)

func (*Summary_Audio) MarshalTo

func (m *Summary_Audio) MarshalTo(dAtA []byte) (int, error)

func (*Summary_Audio) ProtoMessage

func (*Summary_Audio) ProtoMessage()

func (*Summary_Audio) Reset

func (m *Summary_Audio) Reset()

func (*Summary_Audio) Size

func (m *Summary_Audio) Size() (n int)

func (*Summary_Audio) String

func (m *Summary_Audio) String() string

func (*Summary_Audio) Unmarshal

func (m *Summary_Audio) Unmarshal(dAtA []byte) error

func (*Summary_Audio) XXX_DiscardUnknown added in v0.3.1

func (m *Summary_Audio) XXX_DiscardUnknown()

func (*Summary_Audio) XXX_Marshal added in v0.3.1

func (m *Summary_Audio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Summary_Audio) XXX_Merge added in v0.3.1

func (m *Summary_Audio) XXX_Merge(src proto.Message)

func (*Summary_Audio) XXX_Size added in v0.3.1

func (m *Summary_Audio) XXX_Size() int

func (*Summary_Audio) XXX_Unmarshal added in v0.3.1

func (m *Summary_Audio) XXX_Unmarshal(b []byte) error

type Summary_Image

type Summary_Image struct {
	// Dimensions of the image.
	Height int32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Width  int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
	// Valid colorspace values are
	//   1 - grayscale
	//   2 - grayscale + alpha
	//   3 - RGB
	//   4 - RGBA
	//   5 - DIGITAL_YUV
	//   6 - BGRA
	Colorspace int32 `protobuf:"varint,3,opt,name=colorspace,proto3" json:"colorspace,omitempty"`
	// Image data in encoded format.  All image formats supported by
	// image_codec::CoderUtil can be stored here.
	EncodedImageString []byte `protobuf:"bytes,4,opt,name=encoded_image_string,json=encodedImageString,proto3" json:"encoded_image_string,omitempty"`
}

func (*Summary_Image) Descriptor

func (*Summary_Image) Descriptor() ([]byte, []int)

func (*Summary_Image) GetColorspace

func (m *Summary_Image) GetColorspace() int32

func (*Summary_Image) GetEncodedImageString

func (m *Summary_Image) GetEncodedImageString() []byte

func (*Summary_Image) GetHeight

func (m *Summary_Image) GetHeight() int32

func (*Summary_Image) GetWidth

func (m *Summary_Image) GetWidth() int32

func (*Summary_Image) Marshal

func (m *Summary_Image) Marshal() (dAtA []byte, err error)

func (*Summary_Image) MarshalTo

func (m *Summary_Image) MarshalTo(dAtA []byte) (int, error)

func (*Summary_Image) ProtoMessage

func (*Summary_Image) ProtoMessage()

func (*Summary_Image) Reset

func (m *Summary_Image) Reset()

func (*Summary_Image) Size

func (m *Summary_Image) Size() (n int)

func (*Summary_Image) String

func (m *Summary_Image) String() string

func (*Summary_Image) Unmarshal

func (m *Summary_Image) Unmarshal(dAtA []byte) error

func (*Summary_Image) XXX_DiscardUnknown added in v0.3.1

func (m *Summary_Image) XXX_DiscardUnknown()

func (*Summary_Image) XXX_Marshal added in v0.3.1

func (m *Summary_Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Summary_Image) XXX_Merge added in v0.3.1

func (m *Summary_Image) XXX_Merge(src proto.Message)

func (*Summary_Image) XXX_Size added in v0.3.1

func (m *Summary_Image) XXX_Size() int

func (*Summary_Image) XXX_Unmarshal added in v0.3.1

func (m *Summary_Image) XXX_Unmarshal(b []byte) error

type Summary_Value

type Summary_Value struct {
	// This field is deprecated and will not be set.
	NodeName string `protobuf:"bytes,7,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	// Tag name for the data. Used by TensorBoard plugins to organize data. Tags
	// are often organized by scope (which contains slashes to convey
	// hierarchy). For example: foo/bar/0
	Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	// Contains metadata on the summary value such as which plugins may use it.
	// Take note that many summary values may lack a metadata field. This is
	// because the FileWriter only keeps a metadata object on the first summary
	// value with a certain tag for each tag. TensorBoard then remembers which
	// tags are associated with which plugins. This saves space.
	Metadata *SummaryMetadata `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Value associated with the tag.
	//
	// Types that are valid to be assigned to Value:
	//	*Summary_Value_SimpleValue
	//	*Summary_Value_ObsoleteOldStyleHistogram
	//	*Summary_Value_Image
	//	*Summary_Value_Histo
	//	*Summary_Value_Audio
	//	*Summary_Value_Tensor
	Value isSummary_Value_Value `protobuf_oneof:"value"`
}

func (*Summary_Value) Descriptor

func (*Summary_Value) Descriptor() ([]byte, []int)

func (*Summary_Value) GetAudio

func (m *Summary_Value) GetAudio() *Summary_Audio

func (*Summary_Value) GetHisto

func (m *Summary_Value) GetHisto() *HistogramProto

func (*Summary_Value) GetImage

func (m *Summary_Value) GetImage() *Summary_Image

func (*Summary_Value) GetMetadata added in v0.3.1

func (m *Summary_Value) GetMetadata() *SummaryMetadata

func (*Summary_Value) GetNodeName

func (m *Summary_Value) GetNodeName() string

func (*Summary_Value) GetObsoleteOldStyleHistogram

func (m *Summary_Value) GetObsoleteOldStyleHistogram() []byte

func (*Summary_Value) GetSimpleValue

func (m *Summary_Value) GetSimpleValue() float32

func (*Summary_Value) GetTag

func (m *Summary_Value) GetTag() string

func (*Summary_Value) GetTensor

func (m *Summary_Value) GetTensor() *TensorProto

func (*Summary_Value) GetValue

func (m *Summary_Value) GetValue() isSummary_Value_Value

func (*Summary_Value) Marshal

func (m *Summary_Value) Marshal() (dAtA []byte, err error)

func (*Summary_Value) MarshalTo

func (m *Summary_Value) MarshalTo(dAtA []byte) (int, error)

func (*Summary_Value) ProtoMessage

func (*Summary_Value) ProtoMessage()

func (*Summary_Value) Reset

func (m *Summary_Value) Reset()

func (*Summary_Value) Size

func (m *Summary_Value) Size() (n int)

func (*Summary_Value) String

func (m *Summary_Value) String() string

func (*Summary_Value) Unmarshal

func (m *Summary_Value) Unmarshal(dAtA []byte) error

func (*Summary_Value) XXX_DiscardUnknown added in v0.3.1

func (m *Summary_Value) XXX_DiscardUnknown()

func (*Summary_Value) XXX_Marshal added in v0.3.1

func (m *Summary_Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Summary_Value) XXX_Merge added in v0.3.1

func (m *Summary_Value) XXX_Merge(src proto.Message)

func (*Summary_Value) XXX_OneofFuncs

func (*Summary_Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*Summary_Value) XXX_Size added in v0.3.1

func (m *Summary_Value) XXX_Size() int

func (*Summary_Value) XXX_Unmarshal added in v0.3.1

func (m *Summary_Value) XXX_Unmarshal(b []byte) error

type Summary_Value_Audio

type Summary_Value_Audio struct {
	Audio *Summary_Audio `protobuf:"bytes,6,opt,name=audio,proto3,oneof"`
}

func (*Summary_Value_Audio) MarshalTo

func (m *Summary_Value_Audio) MarshalTo(dAtA []byte) (int, error)

func (*Summary_Value_Audio) Size

func (m *Summary_Value_Audio) Size() (n int)

type Summary_Value_Histo

type Summary_Value_Histo struct {
	Histo *HistogramProto `protobuf:"bytes,5,opt,name=histo,proto3,oneof"`
}

func (*Summary_Value_Histo) MarshalTo

func (m *Summary_Value_Histo) MarshalTo(dAtA []byte) (int, error)

func (*Summary_Value_Histo) Size

func (m *Summary_Value_Histo) Size() (n int)

type Summary_Value_Image

type Summary_Value_Image struct {
	Image *Summary_Image `protobuf:"bytes,4,opt,name=image,proto3,oneof"`
}

func (*Summary_Value_Image) MarshalTo

func (m *Summary_Value_Image) MarshalTo(dAtA []byte) (int, error)

func (*Summary_Value_Image) Size

func (m *Summary_Value_Image) Size() (n int)

type Summary_Value_ObsoleteOldStyleHistogram

type Summary_Value_ObsoleteOldStyleHistogram struct {
	ObsoleteOldStyleHistogram []byte `protobuf:"bytes,3,opt,name=obsolete_old_style_histogram,json=obsoleteOldStyleHistogram,proto3,oneof"`
}

func (*Summary_Value_ObsoleteOldStyleHistogram) MarshalTo

func (m *Summary_Value_ObsoleteOldStyleHistogram) MarshalTo(dAtA []byte) (int, error)

func (*Summary_Value_ObsoleteOldStyleHistogram) Size

type Summary_Value_SimpleValue

type Summary_Value_SimpleValue struct {
	SimpleValue float32 `protobuf:"fixed32,2,opt,name=simple_value,json=simpleValue,proto3,oneof"`
}

func (*Summary_Value_SimpleValue) MarshalTo

func (m *Summary_Value_SimpleValue) MarshalTo(dAtA []byte) (int, error)

func (*Summary_Value_SimpleValue) Size

func (m *Summary_Value_SimpleValue) Size() (n int)

type Summary_Value_Tensor

type Summary_Value_Tensor struct {
	Tensor *TensorProto `protobuf:"bytes,8,opt,name=tensor,proto3,oneof"`
}

func (*Summary_Value_Tensor) MarshalTo

func (m *Summary_Value_Tensor) MarshalTo(dAtA []byte) (int, error)

func (*Summary_Value_Tensor) Size

func (m *Summary_Value_Tensor) Size() (n int)

type TaggedRunMetadata added in v0.3.1

type TaggedRunMetadata struct {
	// Tag name associated with this metadata.
	Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	// Byte-encoded version of the `RunMetadata` proto in order to allow lazy
	// deserialization.
	RunMetadata []byte `protobuf:"bytes,2,opt,name=run_metadata,json=runMetadata,proto3" json:"run_metadata,omitempty"`
}

For logging the metadata output for a single session.run() call.

func (*TaggedRunMetadata) Descriptor added in v0.3.1

func (*TaggedRunMetadata) Descriptor() ([]byte, []int)

func (*TaggedRunMetadata) GetRunMetadata added in v0.3.1

func (m *TaggedRunMetadata) GetRunMetadata() []byte

func (*TaggedRunMetadata) GetTag added in v0.3.1

func (m *TaggedRunMetadata) GetTag() string

func (*TaggedRunMetadata) Marshal added in v0.3.1

func (m *TaggedRunMetadata) Marshal() (dAtA []byte, err error)

func (*TaggedRunMetadata) MarshalTo added in v0.3.1

func (m *TaggedRunMetadata) MarshalTo(dAtA []byte) (int, error)

func (*TaggedRunMetadata) ProtoMessage added in v0.3.1

func (*TaggedRunMetadata) ProtoMessage()

func (*TaggedRunMetadata) Reset added in v0.3.1

func (m *TaggedRunMetadata) Reset()

func (*TaggedRunMetadata) Size added in v0.3.1

func (m *TaggedRunMetadata) Size() (n int)

func (*TaggedRunMetadata) String added in v0.3.1

func (m *TaggedRunMetadata) String() string

func (*TaggedRunMetadata) Unmarshal added in v0.3.1

func (m *TaggedRunMetadata) Unmarshal(dAtA []byte) error

func (*TaggedRunMetadata) XXX_DiscardUnknown added in v0.3.1

func (m *TaggedRunMetadata) XXX_DiscardUnknown()

func (*TaggedRunMetadata) XXX_Marshal added in v0.3.1

func (m *TaggedRunMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TaggedRunMetadata) XXX_Merge added in v0.3.1

func (m *TaggedRunMetadata) XXX_Merge(src proto.Message)

func (*TaggedRunMetadata) XXX_Size added in v0.3.1

func (m *TaggedRunMetadata) XXX_Size() int

func (*TaggedRunMetadata) XXX_Unmarshal added in v0.3.1

func (m *TaggedRunMetadata) XXX_Unmarshal(b []byte) error

type TensorConnection added in v0.3.1

type TensorConnection struct {
	// A tensor name. The value of this tensor will be substituted for
	// the tensor named in `to_tensor`.
	FromTensor string `protobuf:"bytes,1,opt,name=from_tensor,json=fromTensor,proto3" json:"from_tensor,omitempty"`
	// A tensor name. The value of this tensor will be bound to the
	// value of the tensor named in `from_tensor`.
	ToTensor string `protobuf:"bytes,2,opt,name=to_tensor,json=toTensor,proto3" json:"to_tensor,omitempty"`
}

Defines a connection between two tensors in a `GraphDef`.

func (*TensorConnection) Descriptor added in v0.3.1

func (*TensorConnection) Descriptor() ([]byte, []int)

func (*TensorConnection) GetFromTensor added in v0.3.1

func (m *TensorConnection) GetFromTensor() string

func (*TensorConnection) GetToTensor added in v0.3.1

func (m *TensorConnection) GetToTensor() string

func (*TensorConnection) Marshal added in v0.3.1

func (m *TensorConnection) Marshal() (dAtA []byte, err error)

func (*TensorConnection) MarshalTo added in v0.3.1

func (m *TensorConnection) MarshalTo(dAtA []byte) (int, error)

func (*TensorConnection) ProtoMessage added in v0.3.1

func (*TensorConnection) ProtoMessage()

func (*TensorConnection) Reset added in v0.3.1

func (m *TensorConnection) Reset()

func (*TensorConnection) Size added in v0.3.1

func (m *TensorConnection) Size() (n int)

func (*TensorConnection) String added in v0.3.1

func (m *TensorConnection) String() string

func (*TensorConnection) Unmarshal added in v0.3.1

func (m *TensorConnection) Unmarshal(dAtA []byte) error

func (*TensorConnection) XXX_DiscardUnknown added in v0.3.1

func (m *TensorConnection) XXX_DiscardUnknown()

func (*TensorConnection) XXX_Marshal added in v0.3.1

func (m *TensorConnection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TensorConnection) XXX_Merge added in v0.3.1

func (m *TensorConnection) XXX_Merge(src proto.Message)

func (*TensorConnection) XXX_Size added in v0.3.1

func (m *TensorConnection) XXX_Size() int

func (*TensorConnection) XXX_Unmarshal added in v0.3.1

func (m *TensorConnection) XXX_Unmarshal(b []byte) error

type TensorDescription

type TensorDescription struct {
	// Data type of tensor elements
	Dtype DataType `protobuf:"varint,1,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
	// Shape of the tensor.
	Shape *TensorShapeProto `protobuf:"bytes,2,opt,name=shape,proto3" json:"shape,omitempty"`
	// Information about the size and allocator used for the data
	AllocationDescription *AllocationDescription `protobuf:"bytes,4,opt,name=allocation_description,json=allocationDescription,proto3" json:"allocation_description,omitempty"`
}

func (*TensorDescription) Descriptor

func (*TensorDescription) Descriptor() ([]byte, []int)

func (*TensorDescription) GetAllocationDescription

func (m *TensorDescription) GetAllocationDescription() *AllocationDescription

func (*TensorDescription) GetDtype

func (m *TensorDescription) GetDtype() DataType

func (*TensorDescription) GetShape

func (m *TensorDescription) GetShape() *TensorShapeProto

func (*TensorDescription) Marshal

func (m *TensorDescription) Marshal() (dAtA []byte, err error)

func (*TensorDescription) MarshalTo

func (m *TensorDescription) MarshalTo(dAtA []byte) (int, error)

func (*TensorDescription) ProtoMessage

func (*TensorDescription) ProtoMessage()

func (*TensorDescription) Reset

func (m *TensorDescription) Reset()

func (*TensorDescription) Size

func (m *TensorDescription) Size() (n int)

func (*TensorDescription) String

func (m *TensorDescription) String() string

func (*TensorDescription) Unmarshal

func (m *TensorDescription) Unmarshal(dAtA []byte) error

func (*TensorDescription) XXX_DiscardUnknown added in v0.3.1

func (m *TensorDescription) XXX_DiscardUnknown()

func (*TensorDescription) XXX_Marshal added in v0.3.1

func (m *TensorDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TensorDescription) XXX_Merge added in v0.3.1

func (m *TensorDescription) XXX_Merge(src proto.Message)

func (*TensorDescription) XXX_Size added in v0.3.1

func (m *TensorDescription) XXX_Size() int

func (*TensorDescription) XXX_Unmarshal added in v0.3.1

func (m *TensorDescription) XXX_Unmarshal(b []byte) error

type TensorInfo

type TensorInfo struct {
	// Types that are valid to be assigned to Encoding:
	//	*TensorInfo_Name
	//	*TensorInfo_CooSparse_
	Encoding isTensorInfo_Encoding `protobuf_oneof:"encoding"`
	Dtype    DataType              `protobuf:"varint,2,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
	// The static shape should be recorded here, to the extent that it can
	// be known in advance.  In the case of a SparseTensor, this field describes
	// the logical shape of the represented tensor (aka dense_shape).
	TensorShape *TensorShapeProto `protobuf:"bytes,3,opt,name=tensor_shape,json=tensorShape,proto3" json:"tensor_shape,omitempty"`
}

Information about a Tensor necessary for feeding or retrieval.

func (*TensorInfo) Descriptor

func (*TensorInfo) Descriptor() ([]byte, []int)

func (*TensorInfo) GetCooSparse added in v0.2.18

func (m *TensorInfo) GetCooSparse() *TensorInfo_CooSparse

func (*TensorInfo) GetDtype

func (m *TensorInfo) GetDtype() DataType

func (*TensorInfo) GetEncoding added in v0.2.18

func (m *TensorInfo) GetEncoding() isTensorInfo_Encoding

func (*TensorInfo) GetName

func (m *TensorInfo) GetName() string

func (*TensorInfo) GetTensorShape

func (m *TensorInfo) GetTensorShape() *TensorShapeProto

func (*TensorInfo) Marshal

func (m *TensorInfo) Marshal() (dAtA []byte, err error)

func (*TensorInfo) MarshalTo

func (m *TensorInfo) MarshalTo(dAtA []byte) (int, error)

func (*TensorInfo) ProtoMessage

func (*TensorInfo) ProtoMessage()

func (*TensorInfo) Reset

func (m *TensorInfo) Reset()

func (*TensorInfo) Size

func (m *TensorInfo) Size() (n int)

func (*TensorInfo) String

func (m *TensorInfo) String() string

func (*TensorInfo) Unmarshal

func (m *TensorInfo) Unmarshal(dAtA []byte) error

func (*TensorInfo) XXX_DiscardUnknown added in v0.3.1

func (m *TensorInfo) XXX_DiscardUnknown()

func (*TensorInfo) XXX_Marshal added in v0.3.1

func (m *TensorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TensorInfo) XXX_Merge added in v0.3.1

func (m *TensorInfo) XXX_Merge(src proto.Message)

func (*TensorInfo) XXX_OneofFuncs added in v0.2.18

func (*TensorInfo) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*TensorInfo) XXX_Size added in v0.3.1

func (m *TensorInfo) XXX_Size() int

func (*TensorInfo) XXX_Unmarshal added in v0.3.1

func (m *TensorInfo) XXX_Unmarshal(b []byte) error

type TensorInfo_CooSparse added in v0.2.18

type TensorInfo_CooSparse struct {
	// The shape of the values Tensor is [?].  Its dtype must be the dtype of
	// the SparseTensor as a whole, given in the enclosing TensorInfo.
	ValuesTensorName string `protobuf:"bytes,1,opt,name=values_tensor_name,json=valuesTensorName,proto3" json:"values_tensor_name,omitempty"`
	// The indices Tensor must have dtype int64 and shape [?, ?].
	IndicesTensorName string `protobuf:"bytes,2,opt,name=indices_tensor_name,json=indicesTensorName,proto3" json:"indices_tensor_name,omitempty"`
	// The dynamic logical shape represented by the SparseTensor is recorded in
	// the Tensor referenced here.  It must have dtype int64 and shape [?].
	DenseShapeTensorName string `protobuf:"bytes,3,opt,name=dense_shape_tensor_name,json=denseShapeTensorName,proto3" json:"dense_shape_tensor_name,omitempty"`
}

For sparse tensors, The COO encoding stores a triple of values, indices, and shape.

func (*TensorInfo_CooSparse) Descriptor added in v0.2.18

func (*TensorInfo_CooSparse) Descriptor() ([]byte, []int)

func (*TensorInfo_CooSparse) GetDenseShapeTensorName added in v0.2.18

func (m *TensorInfo_CooSparse) GetDenseShapeTensorName() string

func (*TensorInfo_CooSparse) GetIndicesTensorName added in v0.2.18

func (m *TensorInfo_CooSparse) GetIndicesTensorName() string

func (*TensorInfo_CooSparse) GetValuesTensorName added in v0.2.18

func (m *TensorInfo_CooSparse) GetValuesTensorName() string

func (*TensorInfo_CooSparse) Marshal added in v0.2.18

func (m *TensorInfo_CooSparse) Marshal() (dAtA []byte, err error)

func (*TensorInfo_CooSparse) MarshalTo added in v0.2.18

func (m *TensorInfo_CooSparse) MarshalTo(dAtA []byte) (int, error)

func (*TensorInfo_CooSparse) ProtoMessage added in v0.2.18

func (*TensorInfo_CooSparse) ProtoMessage()

func (*TensorInfo_CooSparse) Reset added in v0.2.18

func (m *TensorInfo_CooSparse) Reset()

func (*TensorInfo_CooSparse) Size added in v0.2.18

func (m *TensorInfo_CooSparse) Size() (n int)

func (*TensorInfo_CooSparse) String added in v0.2.18

func (m *TensorInfo_CooSparse) String() string

func (*TensorInfo_CooSparse) Unmarshal added in v0.2.18

func (m *TensorInfo_CooSparse) Unmarshal(dAtA []byte) error

func (*TensorInfo_CooSparse) XXX_DiscardUnknown added in v0.3.1

func (m *TensorInfo_CooSparse) XXX_DiscardUnknown()

func (*TensorInfo_CooSparse) XXX_Marshal added in v0.3.1

func (m *TensorInfo_CooSparse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TensorInfo_CooSparse) XXX_Merge added in v0.3.1

func (m *TensorInfo_CooSparse) XXX_Merge(src proto.Message)

func (*TensorInfo_CooSparse) XXX_Size added in v0.3.1

func (m *TensorInfo_CooSparse) XXX_Size() int

func (*TensorInfo_CooSparse) XXX_Unmarshal added in v0.3.1

func (m *TensorInfo_CooSparse) XXX_Unmarshal(b []byte) error

type TensorInfo_CooSparse_ added in v0.2.18

type TensorInfo_CooSparse_ struct {
	CooSparse *TensorInfo_CooSparse `protobuf:"bytes,4,opt,name=coo_sparse,json=cooSparse,proto3,oneof"`
}

func (*TensorInfo_CooSparse_) MarshalTo added in v0.2.18

func (m *TensorInfo_CooSparse_) MarshalTo(dAtA []byte) (int, error)

func (*TensorInfo_CooSparse_) Size added in v0.2.18

func (m *TensorInfo_CooSparse_) Size() (n int)

type TensorInfo_Name added in v0.2.18

type TensorInfo_Name struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3,oneof"`
}

func (*TensorInfo_Name) MarshalTo added in v0.2.18

func (m *TensorInfo_Name) MarshalTo(dAtA []byte) (int, error)

func (*TensorInfo_Name) Size added in v0.2.18

func (m *TensorInfo_Name) Size() (n int)

type TensorProto

type TensorProto struct {
	Dtype DataType `protobuf:"varint,1,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
	// Shape of the tensor.  TODO(touts): sort out the 0-rank issues.
	TensorShape *TensorShapeProto `protobuf:"bytes,2,opt,name=tensor_shape,json=tensorShape,proto3" json:"tensor_shape,omitempty"`
	// Version number.
	//
	// In version 0, if the "repeated xxx" representations contain only one
	// element, that element is repeated to fill the shape.  This makes it easy
	// to represent a constant Tensor with a single value.
	VersionNumber int32 `protobuf:"varint,3,opt,name=version_number,json=versionNumber,proto3" json:"version_number,omitempty"`
	// Serialized raw tensor content from either Tensor::AsProtoTensorContent or
	// memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. This representation
	// can be used for all tensor types. The purpose of this representation is to
	// reduce serialization overhead during RPC call by avoiding serialization of
	// many repeated small items.
	TensorContent []byte `protobuf:"bytes,4,opt,name=tensor_content,json=tensorContent,proto3" json:"tensor_content,omitempty"`
	// DT_HALF, DT_BFLOAT16. Note that since protobuf has no int16 type, we'll
	// have some pointless zero padding for each value here.
	HalfVal []int32 `protobuf:"varint,13,rep,packed,name=half_val,json=halfVal,proto3" json:"half_val,omitempty"`
	// DT_FLOAT.
	FloatVal []float32 `protobuf:"fixed32,5,rep,packed,name=float_val,json=floatVal,proto3" json:"float_val,omitempty"`
	// DT_DOUBLE.
	DoubleVal []float64 `protobuf:"fixed64,6,rep,packed,name=double_val,json=doubleVal,proto3" json:"double_val,omitempty"`
	// DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
	IntVal []int32 `protobuf:"varint,7,rep,packed,name=int_val,json=intVal,proto3" json:"int_val,omitempty"`
	// DT_STRING
	StringVal [][]byte `protobuf:"bytes,8,rep,name=string_val,json=stringVal,proto3" json:"string_val,omitempty"`
	// DT_COMPLEX64. scomplex_val(2*i) and scomplex_val(2*i+1) are real
	// and imaginary parts of i-th single precision complex.
	ScomplexVal []float32 `protobuf:"fixed32,9,rep,packed,name=scomplex_val,json=scomplexVal,proto3" json:"scomplex_val,omitempty"`
	// DT_INT64
	Int64Val []int64 `protobuf:"varint,10,rep,packed,name=int64_val,json=int64Val,proto3" json:"int64_val,omitempty"`
	// DT_BOOL
	BoolVal []bool `protobuf:"varint,11,rep,packed,name=bool_val,json=boolVal,proto3" json:"bool_val,omitempty"`
	// DT_COMPLEX128. dcomplex_val(2*i) and dcomplex_val(2*i+1) are real
	// and imaginary parts of i-th double precision complex.
	DcomplexVal []float64 `protobuf:"fixed64,12,rep,packed,name=dcomplex_val,json=dcomplexVal,proto3" json:"dcomplex_val,omitempty"`
	// DT_RESOURCE
	ResourceHandleVal []*ResourceHandleProto `protobuf:"bytes,14,rep,name=resource_handle_val,json=resourceHandleVal,proto3" json:"resource_handle_val,omitempty"`
	// DT_VARIANT
	VariantVal []*VariantTensorDataProto `protobuf:"bytes,15,rep,name=variant_val,json=variantVal,proto3" json:"variant_val,omitempty"`
	// DT_UINT32
	Uint32Val []uint32 `protobuf:"varint,16,rep,packed,name=uint32_val,json=uint32Val,proto3" json:"uint32_val,omitempty"`
	// DT_UINT64
	Uint64Val []uint64 `protobuf:"varint,17,rep,packed,name=uint64_val,json=uint64Val,proto3" json:"uint64_val,omitempty"`
}

Protocol buffer representing a tensor.

func (*TensorProto) Descriptor

func (*TensorProto) Descriptor() ([]byte, []int)

func (*TensorProto) GetBoolVal

func (m *TensorProto) GetBoolVal() []bool

func (*TensorProto) GetDcomplexVal

func (m *TensorProto) GetDcomplexVal() []float64

func (*TensorProto) GetDoubleVal

func (m *TensorProto) GetDoubleVal() []float64

func (*TensorProto) GetDtype

func (m *TensorProto) GetDtype() DataType

func (*TensorProto) GetFloatVal

func (m *TensorProto) GetFloatVal() []float32

func (*TensorProto) GetHalfVal

func (m *TensorProto) GetHalfVal() []int32

func (*TensorProto) GetInt64Val

func (m *TensorProto) GetInt64Val() []int64

func (*TensorProto) GetIntVal

func (m *TensorProto) GetIntVal() []int32

func (*TensorProto) GetResourceHandleVal

func (m *TensorProto) GetResourceHandleVal() []*ResourceHandleProto

func (*TensorProto) GetScomplexVal

func (m *TensorProto) GetScomplexVal() []float32

func (*TensorProto) GetStringVal

func (m *TensorProto) GetStringVal() [][]byte

func (*TensorProto) GetTensorContent

func (m *TensorProto) GetTensorContent() []byte

func (*TensorProto) GetTensorShape

func (m *TensorProto) GetTensorShape() *TensorShapeProto

func (*TensorProto) GetUint32Val added in v0.3.1

func (m *TensorProto) GetUint32Val() []uint32

func (*TensorProto) GetUint64Val added in v0.3.1

func (m *TensorProto) GetUint64Val() []uint64

func (*TensorProto) GetVariantVal added in v0.3.1

func (m *TensorProto) GetVariantVal() []*VariantTensorDataProto

func (*TensorProto) GetVersionNumber

func (m *TensorProto) GetVersionNumber() int32

func (*TensorProto) Marshal

func (m *TensorProto) Marshal() (dAtA []byte, err error)

func (*TensorProto) MarshalTo

func (m *TensorProto) MarshalTo(dAtA []byte) (int, error)

func (*TensorProto) ProtoMessage

func (*TensorProto) ProtoMessage()

func (*TensorProto) Reset

func (m *TensorProto) Reset()

func (*TensorProto) Size

func (m *TensorProto) Size() (n int)

func (*TensorProto) String

func (m *TensorProto) String() string

func (*TensorProto) Unmarshal

func (m *TensorProto) Unmarshal(dAtA []byte) error

func (*TensorProto) XXX_DiscardUnknown added in v0.3.1

func (m *TensorProto) XXX_DiscardUnknown()

func (*TensorProto) XXX_Marshal added in v0.3.1

func (m *TensorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TensorProto) XXX_Merge added in v0.3.1

func (m *TensorProto) XXX_Merge(src proto.Message)

func (*TensorProto) XXX_Size added in v0.3.1

func (m *TensorProto) XXX_Size() int

func (*TensorProto) XXX_Unmarshal added in v0.3.1

func (m *TensorProto) XXX_Unmarshal(b []byte) error

type TensorShapeProto

type TensorShapeProto struct {
	// Dimensions of the tensor, such as {"input", 30}, {"output", 40}
	// for a 30 x 40 2D tensor.  If an entry has size -1, this
	// corresponds to a dimension of unknown size. The names are
	// optional.
	//
	// The order of entries in "dim" matters: It indicates the layout of the
	// values in the tensor in-memory representation.
	//
	// The first entry in "dim" is the outermost dimension used to layout the
	// values, the last entry is the innermost dimension.  This matches the
	// in-memory layout of RowMajor Eigen tensors.
	//
	// If "dim.size()" > 0, "unknown_rank" must be false.
	Dim []*TensorShapeProto_Dim `protobuf:"bytes,2,rep,name=dim,proto3" json:"dim,omitempty"`
	// If true, the number of dimensions in the shape is unknown.
	//
	// If true, "dim.size()" must be 0.
	UnknownRank bool `protobuf:"varint,3,opt,name=unknown_rank,json=unknownRank,proto3" json:"unknown_rank,omitempty"`
}

Dimensions of a tensor.

func (*TensorShapeProto) Descriptor

func (*TensorShapeProto) Descriptor() ([]byte, []int)

func (*TensorShapeProto) GetDim

func (m *TensorShapeProto) GetDim() []*TensorShapeProto_Dim

func (*TensorShapeProto) GetUnknownRank

func (m *TensorShapeProto) GetUnknownRank() bool

func (*TensorShapeProto) Marshal

func (m *TensorShapeProto) Marshal() (dAtA []byte, err error)

func (*TensorShapeProto) MarshalTo

func (m *TensorShapeProto) MarshalTo(dAtA []byte) (int, error)

func (*TensorShapeProto) ProtoMessage

func (*TensorShapeProto) ProtoMessage()

func (*TensorShapeProto) Reset

func (m *TensorShapeProto) Reset()

func (*TensorShapeProto) Size

func (m *TensorShapeProto) Size() (n int)

func (*TensorShapeProto) String

func (m *TensorShapeProto) String() string

func (*TensorShapeProto) Unmarshal

func (m *TensorShapeProto) Unmarshal(dAtA []byte) error

func (*TensorShapeProto) XXX_DiscardUnknown added in v0.3.1

func (m *TensorShapeProto) XXX_DiscardUnknown()

func (*TensorShapeProto) XXX_Marshal added in v0.3.1

func (m *TensorShapeProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TensorShapeProto) XXX_Merge added in v0.3.1

func (m *TensorShapeProto) XXX_Merge(src proto.Message)

func (*TensorShapeProto) XXX_Size added in v0.3.1

func (m *TensorShapeProto) XXX_Size() int

func (*TensorShapeProto) XXX_Unmarshal added in v0.3.1

func (m *TensorShapeProto) XXX_Unmarshal(b []byte) error

type TensorShapeProto_Dim

type TensorShapeProto_Dim struct {
	// Size of the tensor in that dimension.
	// This value must be >= -1, but values of -1 are reserved for "unknown"
	// shapes (values of -1 mean "unknown" dimension).  Certain wrappers
	// that work with TensorShapeProto may fail at runtime when deserializing
	// a TensorShapeProto containing a dim value of -1.
	Size_ int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// Optional name of the tensor dimension.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}

One dimension of the tensor.

func (*TensorShapeProto_Dim) Descriptor

func (*TensorShapeProto_Dim) Descriptor() ([]byte, []int)

func (*TensorShapeProto_Dim) GetName

func (m *TensorShapeProto_Dim) GetName() string

func (*TensorShapeProto_Dim) GetSize_

func (m *TensorShapeProto_Dim) GetSize_() int64

func (*TensorShapeProto_Dim) Marshal

func (m *TensorShapeProto_Dim) Marshal() (dAtA []byte, err error)

func (*TensorShapeProto_Dim) MarshalTo

func (m *TensorShapeProto_Dim) MarshalTo(dAtA []byte) (int, error)

func (*TensorShapeProto_Dim) ProtoMessage

func (*TensorShapeProto_Dim) ProtoMessage()

func (*TensorShapeProto_Dim) Reset

func (m *TensorShapeProto_Dim) Reset()

func (*TensorShapeProto_Dim) Size

func (m *TensorShapeProto_Dim) Size() (n int)

func (*TensorShapeProto_Dim) String

func (m *TensorShapeProto_Dim) String() string

func (*TensorShapeProto_Dim) Unmarshal

func (m *TensorShapeProto_Dim) Unmarshal(dAtA []byte) error

func (*TensorShapeProto_Dim) XXX_DiscardUnknown added in v0.3.1

func (m *TensorShapeProto_Dim) XXX_DiscardUnknown()

func (*TensorShapeProto_Dim) XXX_Marshal added in v0.3.1

func (m *TensorShapeProto_Dim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TensorShapeProto_Dim) XXX_Merge added in v0.3.1

func (m *TensorShapeProto_Dim) XXX_Merge(src proto.Message)

func (*TensorShapeProto_Dim) XXX_Size added in v0.3.1

func (m *TensorShapeProto_Dim) XXX_Size() int

func (*TensorShapeProto_Dim) XXX_Unmarshal added in v0.3.1

func (m *TensorShapeProto_Dim) XXX_Unmarshal(b []byte) error

type TensorSliceProto

type TensorSliceProto struct {
	// Extent of the slice in all tensor dimensions.
	//
	// Must have one entry for each of the dimension of the tensor that this
	// slice belongs to.  The order of sizes is the same as the order of
	// dimensions in the TensorShape.
	Extent []*TensorSliceProto_Extent `protobuf:"bytes,1,rep,name=extent,proto3" json:"extent,omitempty"`
}

Can only be interpreted if you know the corresponding TensorShape.

func (*TensorSliceProto) Descriptor

func (*TensorSliceProto) Descriptor() ([]byte, []int)

func (*TensorSliceProto) GetExtent

func (m *TensorSliceProto) GetExtent() []*TensorSliceProto_Extent

func (*TensorSliceProto) Marshal

func (m *TensorSliceProto) Marshal() (dAtA []byte, err error)

func (*TensorSliceProto) MarshalTo

func (m *TensorSliceProto) MarshalTo(dAtA []byte) (int, error)

func (*TensorSliceProto) ProtoMessage

func (*TensorSliceProto) ProtoMessage()

func (*TensorSliceProto) Reset

func (m *TensorSliceProto) Reset()

func (*TensorSliceProto) Size

func (m *TensorSliceProto) Size() (n int)

func (*TensorSliceProto) String

func (m *TensorSliceProto) String() string

func (*TensorSliceProto) Unmarshal

func (m *TensorSliceProto) Unmarshal(dAtA []byte) error

func (*TensorSliceProto) XXX_DiscardUnknown added in v0.3.1

func (m *TensorSliceProto) XXX_DiscardUnknown()

func (*TensorSliceProto) XXX_Marshal added in v0.3.1

func (m *TensorSliceProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TensorSliceProto) XXX_Merge added in v0.3.1

func (m *TensorSliceProto) XXX_Merge(src proto.Message)

func (*TensorSliceProto) XXX_Size added in v0.3.1

func (m *TensorSliceProto) XXX_Size() int

func (*TensorSliceProto) XXX_Unmarshal added in v0.3.1

func (m *TensorSliceProto) XXX_Unmarshal(b []byte) error

type TensorSliceProto_Extent

type TensorSliceProto_Extent struct {
	// Start index of the slice, starting at 0.
	Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	// Length of the slice: if the length is missing or -1 we will
	// interpret this as "everything in this dimension".  We use
	// "oneof" to preserve information about whether the length is
	// present without changing the serialization format from the
	// prior proto2 version of this proto.
	//
	// Types that are valid to be assigned to HasLength:
	//	*TensorSliceProto_Extent_Length
	HasLength isTensorSliceProto_Extent_HasLength `protobuf_oneof:"has_length"`
}

Extent of the slice in one dimension.

func (*TensorSliceProto_Extent) Descriptor

func (*TensorSliceProto_Extent) Descriptor() ([]byte, []int)

func (*TensorSliceProto_Extent) GetHasLength

func (m *TensorSliceProto_Extent) GetHasLength() isTensorSliceProto_Extent_HasLength

func (*TensorSliceProto_Extent) GetLength

func (m *TensorSliceProto_Extent) GetLength() int64

func (*TensorSliceProto_Extent) GetStart

func (m *TensorSliceProto_Extent) GetStart() int64

func (*TensorSliceProto_Extent) Marshal

func (m *TensorSliceProto_Extent) Marshal() (dAtA []byte, err error)

func (*TensorSliceProto_Extent) MarshalTo

func (m *TensorSliceProto_Extent) MarshalTo(dAtA []byte) (int, error)

func (*TensorSliceProto_Extent) ProtoMessage

func (*TensorSliceProto_Extent) ProtoMessage()

func (*TensorSliceProto_Extent) Reset

func (m *TensorSliceProto_Extent) Reset()

func (*TensorSliceProto_Extent) Size

func (m *TensorSliceProto_Extent) Size() (n int)

func (*TensorSliceProto_Extent) String

func (m *TensorSliceProto_Extent) String() string

func (*TensorSliceProto_Extent) Unmarshal

func (m *TensorSliceProto_Extent) Unmarshal(dAtA []byte) error

func (*TensorSliceProto_Extent) XXX_DiscardUnknown added in v0.3.1

func (m *TensorSliceProto_Extent) XXX_DiscardUnknown()

func (*TensorSliceProto_Extent) XXX_Marshal added in v0.3.1

func (m *TensorSliceProto_Extent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TensorSliceProto_Extent) XXX_Merge added in v0.3.1

func (m *TensorSliceProto_Extent) XXX_Merge(src proto.Message)

func (*TensorSliceProto_Extent) XXX_OneofFuncs

func (*TensorSliceProto_Extent) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*TensorSliceProto_Extent) XXX_Size added in v0.3.1

func (m *TensorSliceProto_Extent) XXX_Size() int

func (*TensorSliceProto_Extent) XXX_Unmarshal added in v0.3.1

func (m *TensorSliceProto_Extent) XXX_Unmarshal(b []byte) error

type TensorSliceProto_Extent_Length

type TensorSliceProto_Extent_Length struct {
	Length int64 `protobuf:"varint,2,opt,name=length,proto3,oneof"`
}

func (*TensorSliceProto_Extent_Length) MarshalTo

func (m *TensorSliceProto_Extent_Length) MarshalTo(dAtA []byte) (int, error)

func (*TensorSliceProto_Extent_Length) Size

func (m *TensorSliceProto_Extent_Length) Size() (n int)

type ThreadPoolOptionProto

type ThreadPoolOptionProto struct {
	// The number of threads in the pool.
	//
	// 0 means the system picks a value based on where this option proto is used
	// (see the declaration of the specific field for more info).
	NumThreads int32 `protobuf:"varint,1,opt,name=num_threads,json=numThreads,proto3" json:"num_threads,omitempty"`
	// The global name of the threadpool.
	//
	// If empty, then the threadpool is made and used according to the scope it's
	// in - e.g., for a session threadpool, it is used by that session only.
	//
	// If non-empty, then:
	// - a global threadpool associated with this name is looked
	//   up or created. This allows, for example, sharing one threadpool across
	//   many sessions (e.g., like the default behavior, if
	//   inter_op_parallelism_threads is not configured), but still partitioning
	//   into a large and small pool.
	// - if the threadpool for this global_name already exists, then it is an
	//   error if the existing pool was created using a different num_threads
	//   value as is specified on this call.
	// - threadpools created this way are never garbage collected.
	GlobalName string `protobuf:"bytes,2,opt,name=global_name,json=globalName,proto3" json:"global_name,omitempty"`
}

func (*ThreadPoolOptionProto) Descriptor

func (*ThreadPoolOptionProto) Descriptor() ([]byte, []int)

func (*ThreadPoolOptionProto) GetGlobalName added in v0.3.1

func (m *ThreadPoolOptionProto) GetGlobalName() string

func (*ThreadPoolOptionProto) GetNumThreads

func (m *ThreadPoolOptionProto) GetNumThreads() int32

func (*ThreadPoolOptionProto) Marshal

func (m *ThreadPoolOptionProto) Marshal() (dAtA []byte, err error)

func (*ThreadPoolOptionProto) MarshalTo

func (m *ThreadPoolOptionProto) MarshalTo(dAtA []byte) (int, error)

func (*ThreadPoolOptionProto) ProtoMessage

func (*ThreadPoolOptionProto) ProtoMessage()

func (*ThreadPoolOptionProto) Reset

func (m *ThreadPoolOptionProto) Reset()

func (*ThreadPoolOptionProto) Size

func (m *ThreadPoolOptionProto) Size() (n int)

func (*ThreadPoolOptionProto) String

func (m *ThreadPoolOptionProto) String() string

func (*ThreadPoolOptionProto) Unmarshal

func (m *ThreadPoolOptionProto) Unmarshal(dAtA []byte) error

func (*ThreadPoolOptionProto) XXX_DiscardUnknown added in v0.3.1

func (m *ThreadPoolOptionProto) XXX_DiscardUnknown()

func (*ThreadPoolOptionProto) XXX_Marshal added in v0.3.1

func (m *ThreadPoolOptionProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ThreadPoolOptionProto) XXX_Merge added in v0.3.1

func (m *ThreadPoolOptionProto) XXX_Merge(src proto.Message)

func (*ThreadPoolOptionProto) XXX_Size added in v0.3.1

func (m *ThreadPoolOptionProto) XXX_Size() int

func (*ThreadPoolOptionProto) XXX_Unmarshal added in v0.3.1

func (m *ThreadPoolOptionProto) XXX_Unmarshal(b []byte) error

type TraceOpts

type TraceOpts struct {
	// Length of the trace to be taken, in seconds.
	Duration float64 `protobuf:"fixed64,1,opt,name=duration,proto3" json:"duration,omitempty"`
	// If true, capture step profile locally in each worker. Currently
	// unimplemented.
	UseStepProfiler bool `protobuf:"varint,2,opt,name=use_step_profiler,json=useStepProfiler,proto3" json:"use_step_profiler,omitempty"`
	// If true, capture kernel events from each worker.
	UseKernelProfiler bool `protobuf:"varint,3,opt,name=use_kernel_profiler,json=useKernelProfiler,proto3" json:"use_kernel_profiler,omitempty"`
	// If true, capture extended profiling events from TensorFlow process.
	UseExtendedProfiler bool `protobuf:"varint,4,opt,name=use_extended_profiler,json=useExtendedProfiler,proto3" json:"use_extended_profiler,omitempty"`
	// If true, capture GPU profiling events locally on each
	// machine. Currently unimplemented.
	UseGpuProfiler bool `protobuf:"varint,5,opt,name=use_gpu_profiler,json=useGpuProfiler,proto3" json:"use_gpu_profiler,omitempty"`
	// If true, collect sampled profile events. Currently unimplemented.
	UseSampleProfiler bool `protobuf:"varint,6,opt,name=use_sample_profiler,json=useSampleProfiler,proto3" json:"use_sample_profiler,omitempty"`
}

func (*TraceOpts) Descriptor

func (*TraceOpts) Descriptor() ([]byte, []int)

func (*TraceOpts) GetDuration

func (m *TraceOpts) GetDuration() float64

func (*TraceOpts) GetUseExtendedProfiler

func (m *TraceOpts) GetUseExtendedProfiler() bool

func (*TraceOpts) GetUseGpuProfiler

func (m *TraceOpts) GetUseGpuProfiler() bool

func (*TraceOpts) GetUseKernelProfiler

func (m *TraceOpts) GetUseKernelProfiler() bool

func (*TraceOpts) GetUseSampleProfiler

func (m *TraceOpts) GetUseSampleProfiler() bool

func (*TraceOpts) GetUseStepProfiler

func (m *TraceOpts) GetUseStepProfiler() bool

func (*TraceOpts) Marshal

func (m *TraceOpts) Marshal() (dAtA []byte, err error)

func (*TraceOpts) MarshalTo

func (m *TraceOpts) MarshalTo(dAtA []byte) (int, error)

func (*TraceOpts) ProtoMessage

func (*TraceOpts) ProtoMessage()

func (*TraceOpts) Reset

func (m *TraceOpts) Reset()

func (*TraceOpts) Size

func (m *TraceOpts) Size() (n int)

func (*TraceOpts) String

func (m *TraceOpts) String() string

func (*TraceOpts) Unmarshal

func (m *TraceOpts) Unmarshal(dAtA []byte) error

func (*TraceOpts) XXX_DiscardUnknown added in v0.3.1

func (m *TraceOpts) XXX_DiscardUnknown()

func (*TraceOpts) XXX_Marshal added in v0.3.1

func (m *TraceOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TraceOpts) XXX_Merge added in v0.3.1

func (m *TraceOpts) XXX_Merge(src proto.Message)

func (*TraceOpts) XXX_Size added in v0.3.1

func (m *TraceOpts) XXX_Size() int

func (*TraceOpts) XXX_Unmarshal added in v0.3.1

func (m *TraceOpts) XXX_Unmarshal(b []byte) error

type TracingRequest

type TracingRequest struct {
	Options *TraceOpts `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
}

Out-of-band request to configure distributed tracing.

func (*TracingRequest) Descriptor

func (*TracingRequest) Descriptor() ([]byte, []int)

func (*TracingRequest) GetOptions

func (m *TracingRequest) GetOptions() *TraceOpts

func (*TracingRequest) Marshal

func (m *TracingRequest) Marshal() (dAtA []byte, err error)

func (*TracingRequest) MarshalTo

func (m *TracingRequest) MarshalTo(dAtA []byte) (int, error)

func (*TracingRequest) ProtoMessage

func (*TracingRequest) ProtoMessage()

func (*TracingRequest) Reset

func (m *TracingRequest) Reset()

func (*TracingRequest) Size

func (m *TracingRequest) Size() (n int)

func (*TracingRequest) String

func (m *TracingRequest) String() string

func (*TracingRequest) Unmarshal

func (m *TracingRequest) Unmarshal(dAtA []byte) error

func (*TracingRequest) XXX_DiscardUnknown added in v0.3.1

func (m *TracingRequest) XXX_DiscardUnknown()

func (*TracingRequest) XXX_Marshal added in v0.3.1

func (m *TracingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TracingRequest) XXX_Merge added in v0.3.1

func (m *TracingRequest) XXX_Merge(src proto.Message)

func (*TracingRequest) XXX_Size added in v0.3.1

func (m *TracingRequest) XXX_Size() int

func (*TracingRequest) XXX_Unmarshal added in v0.3.1

func (m *TracingRequest) XXX_Unmarshal(b []byte) error

type TracingResponse

type TracingResponse struct {
}

func (*TracingResponse) Descriptor

func (*TracingResponse) Descriptor() ([]byte, []int)

func (*TracingResponse) Marshal

func (m *TracingResponse) Marshal() (dAtA []byte, err error)

func (*TracingResponse) MarshalTo

func (m *TracingResponse) MarshalTo(dAtA []byte) (int, error)

func (*TracingResponse) ProtoMessage

func (*TracingResponse) ProtoMessage()

func (*TracingResponse) Reset

func (m *TracingResponse) Reset()

func (*TracingResponse) Size

func (m *TracingResponse) Size() (n int)

func (*TracingResponse) String

func (m *TracingResponse) String() string

func (*TracingResponse) Unmarshal

func (m *TracingResponse) Unmarshal(dAtA []byte) error

func (*TracingResponse) XXX_DiscardUnknown added in v0.3.1

func (m *TracingResponse) XXX_DiscardUnknown()

func (*TracingResponse) XXX_Marshal added in v0.3.1

func (m *TracingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TracingResponse) XXX_Merge added in v0.3.1

func (m *TracingResponse) XXX_Merge(src proto.Message)

func (*TracingResponse) XXX_Size added in v0.3.1

func (m *TracingResponse) XXX_Size() int

func (*TracingResponse) XXX_Unmarshal added in v0.3.1

func (m *TracingResponse) XXX_Unmarshal(b []byte) error

type ValuesDef

type ValuesDef struct {
	// Value names that have been seen in this context.
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// Value names referenced by but external to this context.
	ExternalValues map[string]string `` /* 191-byte string literal not displayed */
}

Protocol buffer representing the values in ControlFlowContext.

func (*ValuesDef) Descriptor

func (*ValuesDef) Descriptor() ([]byte, []int)

func (*ValuesDef) GetExternalValues

func (m *ValuesDef) GetExternalValues() map[string]string

func (*ValuesDef) GetValues

func (m *ValuesDef) GetValues() []string

func (*ValuesDef) Marshal

func (m *ValuesDef) Marshal() (dAtA []byte, err error)

func (*ValuesDef) MarshalTo

func (m *ValuesDef) MarshalTo(dAtA []byte) (int, error)

func (*ValuesDef) ProtoMessage

func (*ValuesDef) ProtoMessage()

func (*ValuesDef) Reset

func (m *ValuesDef) Reset()

func (*ValuesDef) Size

func (m *ValuesDef) Size() (n int)

func (*ValuesDef) String

func (m *ValuesDef) String() string

func (*ValuesDef) Unmarshal

func (m *ValuesDef) Unmarshal(dAtA []byte) error

func (*ValuesDef) XXX_DiscardUnknown added in v0.3.1

func (m *ValuesDef) XXX_DiscardUnknown()

func (*ValuesDef) XXX_Marshal added in v0.3.1

func (m *ValuesDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValuesDef) XXX_Merge added in v0.3.1

func (m *ValuesDef) XXX_Merge(src proto.Message)

func (*ValuesDef) XXX_Size added in v0.3.1

func (m *ValuesDef) XXX_Size() int

func (*ValuesDef) XXX_Unmarshal added in v0.3.1

func (m *ValuesDef) XXX_Unmarshal(b []byte) error

type VariableDef

type VariableDef struct {
	// Name of the variable tensor.
	VariableName string `protobuf:"bytes,1,opt,name=variable_name,json=variableName,proto3" json:"variable_name,omitempty"`
	// Name of the tensor holding the variable's initial value.
	InitialValueName string `protobuf:"bytes,6,opt,name=initial_value_name,json=initialValueName,proto3" json:"initial_value_name,omitempty"`
	// Name of the initializer op.
	InitializerName string `protobuf:"bytes,2,opt,name=initializer_name,json=initializerName,proto3" json:"initializer_name,omitempty"`
	// Name of the snapshot tensor.
	SnapshotName string `protobuf:"bytes,3,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"`
	// Support for saving variables as slices of a larger variable.
	SaveSliceInfoDef *SaveSliceInfoDef `protobuf:"bytes,4,opt,name=save_slice_info_def,json=saveSliceInfoDef,proto3" json:"save_slice_info_def,omitempty"`
	// Whether to represent this as a ResourceVariable.
	IsResource bool `protobuf:"varint,5,opt,name=is_resource,json=isResource,proto3" json:"is_resource,omitempty"`
	// Whether this variable should be trained.
	Trainable bool `protobuf:"varint,7,opt,name=trainable,proto3" json:"trainable,omitempty"`
}

Protocol buffer representing a Variable.

func (*VariableDef) Descriptor

func (*VariableDef) Descriptor() ([]byte, []int)

func (*VariableDef) GetInitialValueName added in v0.3.1

func (m *VariableDef) GetInitialValueName() string

func (*VariableDef) GetInitializerName

func (m *VariableDef) GetInitializerName() string

func (*VariableDef) GetIsResource

func (m *VariableDef) GetIsResource() bool

func (*VariableDef) GetSaveSliceInfoDef

func (m *VariableDef) GetSaveSliceInfoDef() *SaveSliceInfoDef

func (*VariableDef) GetSnapshotName

func (m *VariableDef) GetSnapshotName() string

func (*VariableDef) GetTrainable added in v0.3.1

func (m *VariableDef) GetTrainable() bool

func (*VariableDef) GetVariableName

func (m *VariableDef) GetVariableName() string

func (*VariableDef) Marshal

func (m *VariableDef) Marshal() (dAtA []byte, err error)

func (*VariableDef) MarshalTo

func (m *VariableDef) MarshalTo(dAtA []byte) (int, error)

func (*VariableDef) ProtoMessage

func (*VariableDef) ProtoMessage()

func (*VariableDef) Reset

func (m *VariableDef) Reset()

func (*VariableDef) Size

func (m *VariableDef) Size() (n int)

func (*VariableDef) String

func (m *VariableDef) String() string

func (*VariableDef) Unmarshal

func (m *VariableDef) Unmarshal(dAtA []byte) error

func (*VariableDef) XXX_DiscardUnknown added in v0.3.1

func (m *VariableDef) XXX_DiscardUnknown()

func (*VariableDef) XXX_Marshal added in v0.3.1

func (m *VariableDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VariableDef) XXX_Merge added in v0.3.1

func (m *VariableDef) XXX_Merge(src proto.Message)

func (*VariableDef) XXX_Size added in v0.3.1

func (m *VariableDef) XXX_Size() int

func (*VariableDef) XXX_Unmarshal added in v0.3.1

func (m *VariableDef) XXX_Unmarshal(b []byte) error

type VariantTensorDataProto added in v0.3.1

type VariantTensorDataProto struct {
	// Name of the type of objects being serialized.
	TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
	// Portions of the object that are not Tensors.
	Metadata []byte `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Tensors contained within objects being serialized.
	Tensors []*TensorProto `protobuf:"bytes,3,rep,name=tensors,proto3" json:"tensors,omitempty"`
}

Protocol buffer representing the serialization format of DT_VARIANT tensors.

func (*VariantTensorDataProto) Descriptor added in v0.3.1

func (*VariantTensorDataProto) Descriptor() ([]byte, []int)

func (*VariantTensorDataProto) GetMetadata added in v0.3.1

func (m *VariantTensorDataProto) GetMetadata() []byte

func (*VariantTensorDataProto) GetTensors added in v0.3.1

func (m *VariantTensorDataProto) GetTensors() []*TensorProto

func (*VariantTensorDataProto) GetTypeName added in v0.3.1

func (m *VariantTensorDataProto) GetTypeName() string

func (*VariantTensorDataProto) Marshal added in v0.3.1

func (m *VariantTensorDataProto) Marshal() (dAtA []byte, err error)

func (*VariantTensorDataProto) MarshalTo added in v0.3.1

func (m *VariantTensorDataProto) MarshalTo(dAtA []byte) (int, error)

func (*VariantTensorDataProto) ProtoMessage added in v0.3.1

func (*VariantTensorDataProto) ProtoMessage()

func (*VariantTensorDataProto) Reset added in v0.3.1

func (m *VariantTensorDataProto) Reset()

func (*VariantTensorDataProto) Size added in v0.3.1

func (m *VariantTensorDataProto) Size() (n int)

func (*VariantTensorDataProto) String added in v0.3.1

func (m *VariantTensorDataProto) String() string

func (*VariantTensorDataProto) Unmarshal added in v0.3.1

func (m *VariantTensorDataProto) Unmarshal(dAtA []byte) error

func (*VariantTensorDataProto) XXX_DiscardUnknown added in v0.3.1

func (m *VariantTensorDataProto) XXX_DiscardUnknown()

func (*VariantTensorDataProto) XXX_Marshal added in v0.3.1

func (m *VariantTensorDataProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VariantTensorDataProto) XXX_Merge added in v0.3.1

func (m *VariantTensorDataProto) XXX_Merge(src proto.Message)

func (*VariantTensorDataProto) XXX_Size added in v0.3.1

func (m *VariantTensorDataProto) XXX_Size() int

func (*VariantTensorDataProto) XXX_Unmarshal added in v0.3.1

func (m *VariantTensorDataProto) XXX_Unmarshal(b []byte) error

type VersionDef

type VersionDef struct {
	// The version of the code that produced this data.
	Producer int32 `protobuf:"varint,1,opt,name=producer,proto3" json:"producer,omitempty"`
	// Any consumer below this version is not allowed to consume this data.
	MinConsumer int32 `protobuf:"varint,2,opt,name=min_consumer,json=minConsumer,proto3" json:"min_consumer,omitempty"`
	// Specific consumer versions which are disallowed (e.g. due to bugs).
	BadConsumers []int32 `protobuf:"varint,3,rep,packed,name=bad_consumers,json=badConsumers,proto3" json:"bad_consumers,omitempty"`
}

Version information for a piece of serialized data

There are different types of versions for each type of data (GraphDef, etc.), but they all have the same common shape described here.

Each consumer has "consumer" and "min_producer" versions (specified elsewhere). A consumer is allowed to consume this data if

producer >= min_producer
consumer >= min_consumer
consumer not in bad_consumers

func (*VersionDef) Descriptor

func (*VersionDef) Descriptor() ([]byte, []int)

func (*VersionDef) GetBadConsumers

func (m *VersionDef) GetBadConsumers() []int32

func (*VersionDef) GetMinConsumer

func (m *VersionDef) GetMinConsumer() int32

func (*VersionDef) GetProducer

func (m *VersionDef) GetProducer() int32

func (*VersionDef) Marshal

func (m *VersionDef) Marshal() (dAtA []byte, err error)

func (*VersionDef) MarshalTo

func (m *VersionDef) MarshalTo(dAtA []byte) (int, error)

func (*VersionDef) ProtoMessage

func (*VersionDef) ProtoMessage()

func (*VersionDef) Reset

func (m *VersionDef) Reset()

func (*VersionDef) Size

func (m *VersionDef) Size() (n int)

func (*VersionDef) String

func (m *VersionDef) String() string

func (*VersionDef) Unmarshal

func (m *VersionDef) Unmarshal(dAtA []byte) error

func (*VersionDef) XXX_DiscardUnknown added in v0.3.1

func (m *VersionDef) XXX_DiscardUnknown()

func (*VersionDef) XXX_Marshal added in v0.3.1

func (m *VersionDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VersionDef) XXX_Merge added in v0.3.1

func (m *VersionDef) XXX_Merge(src proto.Message)

func (*VersionDef) XXX_Size added in v0.3.1

func (m *VersionDef) XXX_Size() int

func (*VersionDef) XXX_Unmarshal added in v0.3.1

func (m *VersionDef) XXX_Unmarshal(b []byte) error

type WaitQueueDoneRequest added in v0.3.1

type WaitQueueDoneRequest struct {
	ContextId uint64 `protobuf:"fixed64,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"`
	// Ids to wait on. If empty, wait on everything currently pending.
	OpId []int64 `protobuf:"varint,2,rep,packed,name=op_id,json=opId,proto3" json:"op_id,omitempty"`
}

func (*WaitQueueDoneRequest) Descriptor added in v0.3.1

func (*WaitQueueDoneRequest) Descriptor() ([]byte, []int)

func (*WaitQueueDoneRequest) GetContextId added in v0.3.1

func (m *WaitQueueDoneRequest) GetContextId() uint64

func (*WaitQueueDoneRequest) GetOpId added in v0.3.1

func (m *WaitQueueDoneRequest) GetOpId() []int64

func (*WaitQueueDoneRequest) Marshal added in v0.3.1

func (m *WaitQueueDoneRequest) Marshal() (dAtA []byte, err error)

func (*WaitQueueDoneRequest) MarshalTo added in v0.3.1

func (m *WaitQueueDoneRequest) MarshalTo(dAtA []byte) (int, error)

func (*WaitQueueDoneRequest) ProtoMessage added in v0.3.1

func (*WaitQueueDoneRequest) ProtoMessage()

func (*WaitQueueDoneRequest) Reset added in v0.3.1

func (m *WaitQueueDoneRequest) Reset()

func (*WaitQueueDoneRequest) Size added in v0.3.1

func (m *WaitQueueDoneRequest) Size() (n int)

func (*WaitQueueDoneRequest) String added in v0.3.1

func (m *WaitQueueDoneRequest) String() string

func (*WaitQueueDoneRequest) Unmarshal added in v0.3.1

func (m *WaitQueueDoneRequest) Unmarshal(dAtA []byte) error

func (*WaitQueueDoneRequest) XXX_DiscardUnknown added in v0.3.1

func (m *WaitQueueDoneRequest) XXX_DiscardUnknown()

func (*WaitQueueDoneRequest) XXX_Marshal added in v0.3.1

func (m *WaitQueueDoneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WaitQueueDoneRequest) XXX_Merge added in v0.3.1

func (m *WaitQueueDoneRequest) XXX_Merge(src proto.Message)

func (*WaitQueueDoneRequest) XXX_Size added in v0.3.1

func (m *WaitQueueDoneRequest) XXX_Size() int

func (*WaitQueueDoneRequest) XXX_Unmarshal added in v0.3.1

func (m *WaitQueueDoneRequest) XXX_Unmarshal(b []byte) error

type WaitQueueDoneResponse added in v0.3.1

type WaitQueueDoneResponse struct {
}

func (*WaitQueueDoneResponse) Descriptor added in v0.3.1

func (*WaitQueueDoneResponse) Descriptor() ([]byte, []int)

func (*WaitQueueDoneResponse) Marshal added in v0.3.1

func (m *WaitQueueDoneResponse) Marshal() (dAtA []byte, err error)

func (*WaitQueueDoneResponse) MarshalTo added in v0.3.1

func (m *WaitQueueDoneResponse) MarshalTo(dAtA []byte) (int, error)

func (*WaitQueueDoneResponse) ProtoMessage added in v0.3.1

func (*WaitQueueDoneResponse) ProtoMessage()

func (*WaitQueueDoneResponse) Reset added in v0.3.1

func (m *WaitQueueDoneResponse) Reset()

func (*WaitQueueDoneResponse) Size added in v0.3.1

func (m *WaitQueueDoneResponse) Size() (n int)

func (*WaitQueueDoneResponse) String added in v0.3.1

func (m *WaitQueueDoneResponse) String() string

func (*WaitQueueDoneResponse) Unmarshal added in v0.3.1

func (m *WaitQueueDoneResponse) Unmarshal(dAtA []byte) error

func (*WaitQueueDoneResponse) XXX_DiscardUnknown added in v0.3.1

func (m *WaitQueueDoneResponse) XXX_DiscardUnknown()

func (*WaitQueueDoneResponse) XXX_Marshal added in v0.3.1

func (m *WaitQueueDoneResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WaitQueueDoneResponse) XXX_Merge added in v0.3.1

func (m *WaitQueueDoneResponse) XXX_Merge(src proto.Message)

func (*WaitQueueDoneResponse) XXX_Size added in v0.3.1

func (m *WaitQueueDoneResponse) XXX_Size() int

func (*WaitQueueDoneResponse) XXX_Unmarshal added in v0.3.1

func (m *WaitQueueDoneResponse) XXX_Unmarshal(b []byte) error

type WatchdogConfig added in v0.3.1

type WatchdogConfig struct {
	TimeoutMs int64 `protobuf:"varint,1,opt,name=timeout_ms,json=timeoutMs,proto3" json:"timeout_ms,omitempty"`
}

func (*WatchdogConfig) Descriptor added in v0.3.1

func (*WatchdogConfig) Descriptor() ([]byte, []int)

func (*WatchdogConfig) GetTimeoutMs added in v0.3.1

func (m *WatchdogConfig) GetTimeoutMs() int64

func (*WatchdogConfig) Marshal added in v0.3.1

func (m *WatchdogConfig) Marshal() (dAtA []byte, err error)

func (*WatchdogConfig) MarshalTo added in v0.3.1

func (m *WatchdogConfig) MarshalTo(dAtA []byte) (int, error)

func (*WatchdogConfig) ProtoMessage added in v0.3.1

func (*WatchdogConfig) ProtoMessage()

func (*WatchdogConfig) Reset added in v0.3.1

func (m *WatchdogConfig) Reset()

func (*WatchdogConfig) Size added in v0.3.1

func (m *WatchdogConfig) Size() (n int)

func (*WatchdogConfig) String added in v0.3.1

func (m *WatchdogConfig) String() string

func (*WatchdogConfig) Unmarshal added in v0.3.1

func (m *WatchdogConfig) Unmarshal(dAtA []byte) error

func (*WatchdogConfig) XXX_DiscardUnknown added in v0.3.1

func (m *WatchdogConfig) XXX_DiscardUnknown()

func (*WatchdogConfig) XXX_Marshal added in v0.3.1

func (m *WatchdogConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WatchdogConfig) XXX_Merge added in v0.3.1

func (m *WatchdogConfig) XXX_Merge(src proto.Message)

func (*WatchdogConfig) XXX_Size added in v0.3.1

func (m *WatchdogConfig) XXX_Size() int

func (*WatchdogConfig) XXX_Unmarshal added in v0.3.1

func (m *WatchdogConfig) XXX_Unmarshal(b []byte) error

type WhileContextDef

type WhileContextDef struct {
	// Name of the context.
	ContextName string `protobuf:"bytes,1,opt,name=context_name,json=contextName,proto3" json:"context_name,omitempty"`
	// The number of iterations allowed to run in parallel.
	ParallelIterations int32 `protobuf:"varint,2,opt,name=parallel_iterations,json=parallelIterations,proto3" json:"parallel_iterations,omitempty"`
	// Whether backprop is enabled for this while loop.
	BackProp bool `protobuf:"varint,3,opt,name=back_prop,json=backProp,proto3" json:"back_prop,omitempty"`
	// Whether GPU-CPU memory swap is enabled for this loop.
	SwapMemory bool `protobuf:"varint,4,opt,name=swap_memory,json=swapMemory,proto3" json:"swap_memory,omitempty"`
	// Name of the pivot tensor.
	PivotName string `protobuf:"bytes,5,opt,name=pivot_name,json=pivotName,proto3" json:"pivot_name,omitempty"`
	// Name of the pivot_for_pred tensor.
	PivotForPredName string `protobuf:"bytes,6,opt,name=pivot_for_pred_name,json=pivotForPredName,proto3" json:"pivot_for_pred_name,omitempty"`
	// Name of the pivot_for_body tensor.
	PivotForBodyName string `protobuf:"bytes,7,opt,name=pivot_for_body_name,json=pivotForBodyName,proto3" json:"pivot_for_body_name,omitempty"`
	// List of names for exit tensors.
	LoopExitNames []string `protobuf:"bytes,8,rep,name=loop_exit_names,json=loopExitNames,proto3" json:"loop_exit_names,omitempty"`
	// List of names for enter tensors.
	LoopEnterNames []string `protobuf:"bytes,10,rep,name=loop_enter_names,json=loopEnterNames,proto3" json:"loop_enter_names,omitempty"`
	// Values and external values in control flow context.
	ValuesDef *ValuesDef `protobuf:"bytes,9,opt,name=values_def,json=valuesDef,proto3" json:"values_def,omitempty"`
	// Optional name of the maximum_iterations tensor.
	MaximumIterationsName string `` /* 127-byte string literal not displayed */
	// Contexts contained inside this context (e.g. nested whiles).
	NestedContexts []*ControlFlowContextDef `protobuf:"bytes,12,rep,name=nested_contexts,json=nestedContexts,proto3" json:"nested_contexts,omitempty"`
}

Protocol buffer representing a WhileContext object.

func (*WhileContextDef) Descriptor

func (*WhileContextDef) Descriptor() ([]byte, []int)

func (*WhileContextDef) GetBackProp

func (m *WhileContextDef) GetBackProp() bool

func (*WhileContextDef) GetContextName

func (m *WhileContextDef) GetContextName() string

func (*WhileContextDef) GetLoopEnterNames

func (m *WhileContextDef) GetLoopEnterNames() []string

func (*WhileContextDef) GetLoopExitNames

func (m *WhileContextDef) GetLoopExitNames() []string

func (*WhileContextDef) GetMaximumIterationsName added in v0.3.1

func (m *WhileContextDef) GetMaximumIterationsName() string

func (*WhileContextDef) GetNestedContexts added in v0.3.1

func (m *WhileContextDef) GetNestedContexts() []*ControlFlowContextDef

func (*WhileContextDef) GetParallelIterations

func (m *WhileContextDef) GetParallelIterations() int32

func (*WhileContextDef) GetPivotForBodyName

func (m *WhileContextDef) GetPivotForBodyName() string

func (*WhileContextDef) GetPivotForPredName

func (m *WhileContextDef) GetPivotForPredName() string

func (*WhileContextDef) GetPivotName

func (m *WhileContextDef) GetPivotName() string

func (*WhileContextDef) GetSwapMemory

func (m *WhileContextDef) GetSwapMemory() bool

func (*WhileContextDef) GetValuesDef

func (m *WhileContextDef) GetValuesDef() *ValuesDef

func (*WhileContextDef) Marshal

func (m *WhileContextDef) Marshal() (dAtA []byte, err error)

func (*WhileContextDef) MarshalTo

func (m *WhileContextDef) MarshalTo(dAtA []byte) (int, error)

func (*WhileContextDef) ProtoMessage

func (*WhileContextDef) ProtoMessage()

func (*WhileContextDef) Reset

func (m *WhileContextDef) Reset()

func (*WhileContextDef) Size

func (m *WhileContextDef) Size() (n int)

func (*WhileContextDef) String

func (m *WhileContextDef) String() string

func (*WhileContextDef) Unmarshal

func (m *WhileContextDef) Unmarshal(dAtA []byte) error

func (*WhileContextDef) XXX_DiscardUnknown added in v0.3.1

func (m *WhileContextDef) XXX_DiscardUnknown()

func (*WhileContextDef) XXX_Marshal added in v0.3.1

func (m *WhileContextDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WhileContextDef) XXX_Merge added in v0.3.1

func (m *WhileContextDef) XXX_Merge(src proto.Message)

func (*WhileContextDef) XXX_Size added in v0.3.1

func (m *WhileContextDef) XXX_Size() int

func (*WhileContextDef) XXX_Unmarshal added in v0.3.1

func (m *WhileContextDef) XXX_Unmarshal(b []byte) error

type WorkerHealth added in v0.3.1

type WorkerHealth int32

Current health status of a worker.

const (
	WorkerHealth_OK                       WorkerHealth = 0
	WorkerHealth_RECEIVED_SHUTDOWN_SIGNAL WorkerHealth = 1
	WorkerHealth_INTERNAL_ERROR           WorkerHealth = 2
)

func (WorkerHealth) EnumDescriptor added in v0.3.1

func (WorkerHealth) EnumDescriptor() ([]byte, []int)

func (WorkerHealth) String added in v0.3.1

func (x WorkerHealth) String() string

type WorkerHeartbeatRequest added in v0.3.1

type WorkerHeartbeatRequest struct {
	ShutdownMode   WorkerShutdownMode `` /* 133-byte string literal not displayed */
	WatchdogConfig *WatchdogConfig    `protobuf:"bytes,2,opt,name=watchdog_config,json=watchdogConfig,proto3" json:"watchdog_config,omitempty"`
}

func (*WorkerHeartbeatRequest) Descriptor added in v0.3.1

func (*WorkerHeartbeatRequest) Descriptor() ([]byte, []int)

func (*WorkerHeartbeatRequest) GetShutdownMode added in v0.3.1

func (m *WorkerHeartbeatRequest) GetShutdownMode() WorkerShutdownMode

func (*WorkerHeartbeatRequest) GetWatchdogConfig added in v0.3.1

func (m *WorkerHeartbeatRequest) GetWatchdogConfig() *WatchdogConfig

func (*WorkerHeartbeatRequest) Marshal added in v0.3.1

func (m *WorkerHeartbeatRequest) Marshal() (dAtA []byte, err error)

func (*WorkerHeartbeatRequest) MarshalTo added in v0.3.1

func (m *WorkerHeartbeatRequest) MarshalTo(dAtA []byte) (int, error)

func (*WorkerHeartbeatRequest) ProtoMessage added in v0.3.1

func (*WorkerHeartbeatRequest) ProtoMessage()

func (*WorkerHeartbeatRequest) Reset added in v0.3.1

func (m *WorkerHeartbeatRequest) Reset()

func (*WorkerHeartbeatRequest) Size added in v0.3.1

func (m *WorkerHeartbeatRequest) Size() (n int)

func (*WorkerHeartbeatRequest) String added in v0.3.1

func (m *WorkerHeartbeatRequest) String() string

func (*WorkerHeartbeatRequest) Unmarshal added in v0.3.1

func (m *WorkerHeartbeatRequest) Unmarshal(dAtA []byte) error

func (*WorkerHeartbeatRequest) XXX_DiscardUnknown added in v0.3.1

func (m *WorkerHeartbeatRequest) XXX_DiscardUnknown()

func (*WorkerHeartbeatRequest) XXX_Marshal added in v0.3.1

func (m *WorkerHeartbeatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkerHeartbeatRequest) XXX_Merge added in v0.3.1

func (m *WorkerHeartbeatRequest) XXX_Merge(src proto.Message)

func (*WorkerHeartbeatRequest) XXX_Size added in v0.3.1

func (m *WorkerHeartbeatRequest) XXX_Size() int

func (*WorkerHeartbeatRequest) XXX_Unmarshal added in v0.3.1

func (m *WorkerHeartbeatRequest) XXX_Unmarshal(b []byte) error

type WorkerHeartbeatResponse added in v0.3.1

type WorkerHeartbeatResponse struct {
	HealthStatus WorkerHealth `` /* 127-byte string literal not displayed */
	WorkerLog    []*Event     `protobuf:"bytes,2,rep,name=worker_log,json=workerLog,proto3" json:"worker_log,omitempty"`
	Hostname     string       `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"`
}

func (*WorkerHeartbeatResponse) Descriptor added in v0.3.1

func (*WorkerHeartbeatResponse) Descriptor() ([]byte, []int)

func (*WorkerHeartbeatResponse) GetHealthStatus added in v0.3.1

func (m *WorkerHeartbeatResponse) GetHealthStatus() WorkerHealth

func (*WorkerHeartbeatResponse) GetHostname added in v0.3.1

func (m *WorkerHeartbeatResponse) GetHostname() string

func (*WorkerHeartbeatResponse) GetWorkerLog added in v0.3.1

func (m *WorkerHeartbeatResponse) GetWorkerLog() []*Event

func (*WorkerHeartbeatResponse) Marshal added in v0.3.1

func (m *WorkerHeartbeatResponse) Marshal() (dAtA []byte, err error)

func (*WorkerHeartbeatResponse) MarshalTo added in v0.3.1

func (m *WorkerHeartbeatResponse) MarshalTo(dAtA []byte) (int, error)

func (*WorkerHeartbeatResponse) ProtoMessage added in v0.3.1

func (*WorkerHeartbeatResponse) ProtoMessage()

func (*WorkerHeartbeatResponse) Reset added in v0.3.1

func (m *WorkerHeartbeatResponse) Reset()

func (*WorkerHeartbeatResponse) Size added in v0.3.1

func (m *WorkerHeartbeatResponse) Size() (n int)

func (*WorkerHeartbeatResponse) String added in v0.3.1

func (m *WorkerHeartbeatResponse) String() string

func (*WorkerHeartbeatResponse) Unmarshal added in v0.3.1

func (m *WorkerHeartbeatResponse) Unmarshal(dAtA []byte) error

func (*WorkerHeartbeatResponse) XXX_DiscardUnknown added in v0.3.1

func (m *WorkerHeartbeatResponse) XXX_DiscardUnknown()

func (*WorkerHeartbeatResponse) XXX_Marshal added in v0.3.1

func (m *WorkerHeartbeatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkerHeartbeatResponse) XXX_Merge added in v0.3.1

func (m *WorkerHeartbeatResponse) XXX_Merge(src proto.Message)

func (*WorkerHeartbeatResponse) XXX_Size added in v0.3.1

func (m *WorkerHeartbeatResponse) XXX_Size() int

func (*WorkerHeartbeatResponse) XXX_Unmarshal added in v0.3.1

func (m *WorkerHeartbeatResponse) XXX_Unmarshal(b []byte) error

type WorkerServiceClient

type WorkerServiceClient interface {
	// See worker.proto for details.
	GetStatus(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*GetStatusResponse, error)
	// See worker.proto for details.
	CreateWorkerSession(ctx context.Context, in *CreateWorkerSessionRequest, opts ...grpc.CallOption) (*CreateWorkerSessionResponse, error)
	// See worker.proto for details.
	DeleteWorkerSession(ctx context.Context, in *DeleteWorkerSessionRequest, opts ...grpc.CallOption) (*DeleteWorkerSessionResponse, error)
	// See worker.proto for details.
	RegisterGraph(ctx context.Context, in *RegisterGraphRequest, opts ...grpc.CallOption) (*RegisterGraphResponse, error)
	// See worker.proto for details.
	DeregisterGraph(ctx context.Context, in *DeregisterGraphRequest, opts ...grpc.CallOption) (*DeregisterGraphResponse, error)
	// See worker.proto for details.
	RunGraph(ctx context.Context, in *RunGraphRequest, opts ...grpc.CallOption) (*RunGraphResponse, error)
	// See worker.proto for details.
	CleanupGraph(ctx context.Context, in *CleanupGraphRequest, opts ...grpc.CallOption) (*CleanupGraphResponse, error)
	// See worker.proto for details.
	CleanupAll(ctx context.Context, in *CleanupAllRequest, opts ...grpc.CallOption) (*CleanupAllResponse, error)
	// See worker.proto for details.
	RecvTensor(ctx context.Context, in *RecvTensorRequest, opts ...grpc.CallOption) (*RecvTensorResponse, error)
	// See worker.proto for details.
	Logging(ctx context.Context, in *LoggingRequest, opts ...grpc.CallOption) (*LoggingResponse, error)
	// See worker.proto for details.
	Tracing(ctx context.Context, in *TracingRequest, opts ...grpc.CallOption) (*TracingResponse, error)
	// See worker.proto for details.
	RecvBuf(ctx context.Context, in *RecvBufRequest, opts ...grpc.CallOption) (*RecvBufResponse, error)
	// See worker.proto for details.
	GetStepSequence(ctx context.Context, in *GetStepSequenceRequest, opts ...grpc.CallOption) (*GetStepSequenceResponse, error)
	// See worker.proto for details.
	CompleteGroup(ctx context.Context, in *CompleteGroupRequest, opts ...grpc.CallOption) (*CompleteGroupResponse, error)
	// See worker.proto for details.
	CompleteInstance(ctx context.Context, in *CompleteInstanceRequest, opts ...grpc.CallOption) (*CompleteInstanceResponse, error)
}

WorkerServiceClient is the client API for WorkerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewWorkerServiceClient

func NewWorkerServiceClient(cc *grpc.ClientConn) WorkerServiceClient

type WorkerServiceServer

type WorkerServiceServer interface {
	// See worker.proto for details.
	GetStatus(context.Context, *GetStatusRequest) (*GetStatusResponse, error)
	// See worker.proto for details.
	CreateWorkerSession(context.Context, *CreateWorkerSessionRequest) (*CreateWorkerSessionResponse, error)
	// See worker.proto for details.
	DeleteWorkerSession(context.Context, *DeleteWorkerSessionRequest) (*DeleteWorkerSessionResponse, error)
	// See worker.proto for details.
	RegisterGraph(context.Context, *RegisterGraphRequest) (*RegisterGraphResponse, error)
	// See worker.proto for details.
	DeregisterGraph(context.Context, *DeregisterGraphRequest) (*DeregisterGraphResponse, error)
	// See worker.proto for details.
	RunGraph(context.Context, *RunGraphRequest) (*RunGraphResponse, error)
	// See worker.proto for details.
	CleanupGraph(context.Context, *CleanupGraphRequest) (*CleanupGraphResponse, error)
	// See worker.proto for details.
	CleanupAll(context.Context, *CleanupAllRequest) (*CleanupAllResponse, error)
	// See worker.proto for details.
	RecvTensor(context.Context, *RecvTensorRequest) (*RecvTensorResponse, error)
	// See worker.proto for details.
	Logging(context.Context, *LoggingRequest) (*LoggingResponse, error)
	// See worker.proto for details.
	Tracing(context.Context, *TracingRequest) (*TracingResponse, error)
	// See worker.proto for details.
	RecvBuf(context.Context, *RecvBufRequest) (*RecvBufResponse, error)
	// See worker.proto for details.
	GetStepSequence(context.Context, *GetStepSequenceRequest) (*GetStepSequenceResponse, error)
	// See worker.proto for details.
	CompleteGroup(context.Context, *CompleteGroupRequest) (*CompleteGroupResponse, error)
	// See worker.proto for details.
	CompleteInstance(context.Context, *CompleteInstanceRequest) (*CompleteInstanceResponse, error)
}

WorkerServiceServer is the server API for WorkerService service.

type WorkerShutdownMode added in v0.3.1

type WorkerShutdownMode int32

Indicates the behavior of the worker when an internal error or shutdown signal is received.

const (
	WorkerShutdownMode_DEFAULT              WorkerShutdownMode = 0
	WorkerShutdownMode_SHUTDOWN_IMMEDIATELY WorkerShutdownMode = 1
	WorkerShutdownMode_WAIT_FOR_COORDINATOR WorkerShutdownMode = 2
)

func (WorkerShutdownMode) EnumDescriptor added in v0.3.1

func (WorkerShutdownMode) EnumDescriptor() ([]byte, []int)

func (WorkerShutdownMode) String added in v0.3.1

func (x WorkerShutdownMode) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL