TensorFlow教程之API DOC 6.1.13 Struct tensorflow::SessionOptions

本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权。

Configuration information for a Session .

Member Summary

Member Details

Env* tensorflow::SessionOptions::env

The environment to use.

string tensorflow::SessionOptions::target

The TensorFlow runtime to connect to.

If 'target' is empty or unspecified, the local TensorFlow runtime implementation will be used. Otherwise, the TensorFlow engine defined by 'target' will be used to perform all computations.

"target" can be either a single entry or a comma separated list of entries. Each entry is a resolvable address of the following format: local ip:port host:port ... other system-specific formats to identify tasks and jobs ...

NOTE: at the moment 'local' maps to an in-process service-based runtime.

Upon creation, a single session affines itself to one of the remote processes, with possible load balancing choices when the "target" resolves to a list of possible processes.

If the session disconnects from the remote process during its lifetime, session calls may fail immediately.

ConfigProto tensorflow::SessionOptions::config

Configuration options.

tensorflow::SessionOptions::SessionOptions()

时间: 2024-08-28 15:53:25

TensorFlow教程之API DOC 6.1.13 Struct tensorflow::SessionOptions的相关文章

TensorFlow教程之API DOC 6.1.14 Struct tensorflow::Status::State

本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权. Struct tensorflow::Status::State Member Summary tensorflow::error::Code tensorflow::Status::State::code string tensorflow::Status::State::msg Member Details tensorflow::error::Code tensorflow::Status::State:

TensorFlow教程之API DOC 6.1.15 Struct tensorflow::TensorShapeDim

本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权. Struct tensorflow::TensorShapeDim Member Summary int tensorflow::TensorShapeDim::size tensorflow::TensorShapeDim::TensorShapeDim(int64 s) Member Details int tensorflow::TensorShapeDim::size tensorflow::Tenso

TensorFlow教程之API DOC 6.1.16 Struct tensorflow::ThreadOptions

本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权. Struct tensorflow::ThreadOptions Options to configure a Thread . Note that the options are all hints, and the underlying implementation may choose to ignore it. Member Summary size_t tensorflow::ThreadOption

TensorFlow教程之API DOC 6.3.13. STATE OPS

本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权. Variables Note: Functions taking Tensor arguments can also take anything accepted by tf.convert_to_tensor. Contents Variables Variables class tf.Variable Variable helper functions tf.all_variables() tf.train

TensorFlow教程之API DOC 6.1.6 Class tensorflow::Tensor

本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权. Class tensorflow::Tensor Represents an n-dimensional array of values. Member Summary tensorflow::Tensor::Tensor() Default Tensor constructor. Creates a 1-dimension, 0-element float tensor. tensorflow::Tensor

TensorFlow教程之API DOC 6.1.5 Class tensorflow::Status

本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权. Class tensorflow::Status Member Summary tensorflow::Status::Status() Create a success status. tensorflow::Status::~Status() tensorflow::Status::Status(tensorflow::error::Code code, tensorflow::StringPiece ms

TensorFlow教程之API DOC 6.1.8 Class tensorflow::TensorShape

本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权. Class tensorflow::TensorShape Manages the dimensions of a Tensor and their sizes. Member Summary tensorflow::TensorShape::TensorShape(gtl::ArraySlice< int64 > dim_sizes) Construct a TensorShape from the pro

TensorFlow教程之API DOC 6.1.7 Class tensorflow::TensorBuffer

本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权. Class tensorflow::TensorBuffer Member Summary tensorflow::TensorBuffer::~TensorBuffer() override virtual void* tensorflow::TensorBuffer::data() const =0 virtual size_t tensorflow::TensorBuffer::size() const

TensorFlow教程之API DOC 6.1.11 Class tensorflow::Thread

本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权. Class tensorflow::Thread Member Summary tensorflow::Thread::Thread() virtual tensorflow::Thread::~Thread() Blocks until the thread of control stops running. Member Details tensorflow::Thread::Thread() virtua