CallableOptions.Builder

パブリック静的最終クラスCallableOptions.Builder

 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()`.
 
Protobuf 型tensorflow.CallableOptions

パブリックメソッド

CallableOptions.Builder
addAllFeed (Iterable<String> 値)
 Tensors to be fed in the callable.
CallableOptions.Builder
addAllFetch (Iterable<String> 値)
 Fetches.
CallableOptions.Builder
addAllTarget (Iterable<String> 値)
 Target Nodes.
CallableOptions.Builder
addAllTensorConnection (Iterable<? extends TensorConnection > 値)
 Tensors to be connected in the callable.
CallableOptions.Builder
addFeed (文字列値)
 Tensors to be fed in the callable.
CallableOptions.Builder
addFeedBytes (com.google.protobuf.ByteString 値)
 Tensors to be fed in the callable.
CallableOptions.Builder
addFetch (文字列値)
 Fetches.
CallableOptions.Builder
addFetchBytes (com.google.protobuf.ByteString 値)
 Fetches.
CallableOptions.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
CallableOptions.Builder
addTarget (文字列値)
 Target Nodes.
CallableOptions.Builder
addTargetBytes (com.google.protobuf.ByteString 値)
 Target Nodes.
CallableOptions.Builder
addTensorConnection (int インデックス、 TensorConnection値)
 Tensors to be connected in the callable.
CallableOptions.Builder
addTensorConnection (int インデックス、 TensorConnection.Builder builderForValue)
 Tensors to be connected in the callable.
CallableOptions.Builder
addTensorConnection ( TensorConnection値)
 Tensors to be connected in the callable.
CallableOptions.Builder
addTensorConnection ( TensorConnection.Builder builderForValue)
 Tensors to be connected in the callable.
TensorConnection.Builder
addTensorConnectionBuilder ()
 Tensors to be connected in the callable.
TensorConnection.Builder
addTensorConnectionBuilder (int インデックス)
 Tensors to be connected in the callable.
呼び出し可能なオプション
建てる()
呼び出し可能なオプション
CallableOptions.Builder
クリア()
CallableOptions.Builder
クリアフィード()
 Tensors to be fed in the callable.
CallableOptions.Builder
CallableOptions.Builder
CallableOptions.Builder
CallableOptions.Builder
clearFetchSkipSync ()
 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.
CallableOptions.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド)
CallableOptions.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
CallableOptions.Builder
ClearRunOptions ()
 Options that will be applied to each run.
CallableOptions.Builder
クリアターゲット()
 Target Nodes.
CallableOptions.Builder
clearTensorConnection ()
 Tensors to be connected in the callable.
CallableOptions.Builder
ブール値
containsFeedDevices (文字列キー)
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
ブール値
containsFetchDevices (文字列キー)
map<string, string> fetch_devices = 7;
呼び出し可能なオプション
最終的な静的 com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getFeed (int インデックス)
 Tensors to be fed in the callable.
com.google.protobuf.ByteString
getFeedBytes (int インデックス)
 Tensors to be fed in the callable.
整数
getFeedCount ()
 Tensors to be fed in the callable.
マップ<文字列, 文字列>
getFeedDevices ()
代わりにgetFeedDevicesMap()を使用してください。
整数
getFeedDevicesCount ()
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
マップ<文字列, 文字列>
getFeedDevicesMap ()
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
getFeedDevicesOrDefault (文字列キー、文字列defaultValue)
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
getFeedDevicesOrThrow (文字列キー)
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
com.google.protobuf.ProtocolStringList
getFeedList ()
 Tensors to be fed in the callable.
getFetch (int インデックス)
 Fetches.
com.google.protobuf.ByteString
getFetchBytes (int インデックス)
 Fetches.
整数
getFetchCount ()
 Fetches.
マップ<文字列, 文字列>
getFetchDevices ()
代わりにgetFetchDevicesMap()を使用してください。
整数
getFetchDevicesCount ()
map<string, string> fetch_devices = 7;
マップ<文字列, 文字列>
getFetchDevicesMap ()
map<string, string> fetch_devices = 7;
getFetchDevicesOrDefault (文字列キー、文字列defaultValue)
map<string, string> fetch_devices = 7;
getFetchDevicesOrThrow (文字列キー)
map<string, string> fetch_devices = 7;
com.google.protobuf.ProtocolStringList
getFetchList ()
 Fetches.
ブール値
getFetchSkipSync ()
 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.
マップ<文字列, 文字列>
getMutableFeedDevices ()
代わりに代替の突然変異アクセサーを使用してください。
マップ<文字列, 文字列>
getMutableFetchDevices ()
代わりに代替の突然変異アクセサーを使用してください。
実行オプション
getRunOptions ()
 Options that will be applied to each run.
RunOptions.Builder
getRunOptionsBuilder ()
 Options that will be applied to each run.
RunOptionsOrBuilder
getRunOptionsOrBuilder ()
 Options that will be applied to each run.
getTarget (int インデックス)
 Target Nodes.
com.google.protobuf.ByteString
getTargetBytes (int インデックス)
 Target Nodes.
整数
getTargetCount ()
 Target Nodes.
com.google.protobuf.ProtocolStringList
getTargetList ()
 Target Nodes.
テンソル接続
getTensorConnection (int インデックス)
 Tensors to be connected in the callable.
TensorConnection.Builder
getTensorConnectionBuilder (int インデックス)
 Tensors to be connected in the callable.
リスト< TensorConnection.Builder >
getTensorConnectionBuilderList ()
 Tensors to be connected in the callable.
整数
getTensorConnectionCount ()
 Tensors to be connected in the callable.
リスト< TensorConnection >
getTensorConnectionList ()
 Tensors to be connected in the callable.
TensorConnectionOrBuilder
getTensorConnectionOrBuilder (int インデックス)
 Tensors to be connected in the callable.
リスト<? TensorConnectionOrBuilderを拡張 >
getTensorConnectionOrBuilderList ()
 Tensors to be connected in the callable.
ブール値
hasRunOptions ()
 Options that will be applied to each run.
最終ブール値
CallableOptions.Builder
mergeFrom (com.google.protobuf.Message other)
CallableOptions.Builder
mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CallableOptions.Builder
mergeRunOptions ( RunOptions値)
 Options that will be applied to each run.
最終的なCal​​lableOptions.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド)
CallableOptions.Builder
putAllFeedDevices (Map<String, String> 値)
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
CallableOptions.Builder
putAllFetchDevices (Map<String, String> 値)
map<string, string> fetch_devices = 7;
CallableOptions.Builder
putFeedDevices (文字列キー、文字列値)
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
CallableOptions.Builder
putFetchDevices (文字列キー、文字列値)
map<string, string> fetch_devices = 7;
CallableOptions.Builder
RemoveFeedDevices (文字列キー)
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
CallableOptions.Builder
RemoveFetchDevices (文字列キー)
map<string, string> fetch_devices = 7;
CallableOptions.Builder
RemoveTensorConnection (int インデックス)
 Tensors to be connected in the callable.
CallableOptions.Builder
setFeed (int インデックス、文字列値)
 Tensors to be fed in the callable.
CallableOptions.Builder
setFetch (int インデックス、文字列値)
 Fetches.
CallableOptions.Builder
setFetchSkipSync (ブール値)
 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.
CallableOptions.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
CallableOptions.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)
CallableOptions.Builder
setRunOptions ( RunOptions.Builder builderForValue)
 Options that will be applied to each run.
CallableOptions.Builder
setRunOptions ( RunOptions値)
 Options that will be applied to each run.
CallableOptions.Builder
setTarget (int インデックス、文字列値)
 Target Nodes.
CallableOptions.Builder
setTensorConnection (int インデックス、 TensorConnection値)
 Tensors to be connected in the callable.
CallableOptions.Builder
setTensorConnection (int インデックス、 TensorConnection.Builder builderForValue)
 Tensors to be connected in the callable.
最終的なCal​​lableOptions.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

継承されたメソッド

パブリックメソッド

public CallableOptions.Builder addAllFeed (Iterable<String> 値)

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public CallableOptions.Builder addAllFetch (Iterable<String> 値)

 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.
 
repeated string fetch = 2;

public CallableOptions.Builder addAllTarget (Iterable<String> 値)

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public CallableOptions.Builder addAllTensorConnection (Iterable<? extends TensorConnection > 値)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions.Builder addFeed (文字列値)

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public CallableOptions.Builder addFeedBytes (com.google.protobuf.ByteString 値)

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public CallableOptions.Builder addFetch (文字列値)

 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.
 
repeated string fetch = 2;

public CallableOptions.Builder addFetchBytes (com.google.protobuf.ByteString 値)

 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.
 
repeated string fetch = 2;

public CallableOptions.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)

public CallableOptions.Builder addTarget (文字列値)

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public CallableOptions.Builder addTargetBytes (com.google.protobuf.ByteString 値)

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public CallableOptions.Builder addTensorConnection (int インデックス、 TensorConnection値)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions.Builder addTensorConnection (int インデックス、 TensorConnection.Builder builderForValue)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions.Builder addTensorConnection ( TensorConnection値)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions.Builder addTensorConnection ( TensorConnection.Builder builderForValue)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public TensorConnection.Builder addTensorConnectionBuilder ()

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public TensorConnection.Builder addTensorConnectionBuilder (int インデックス)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions build ()

public CallableOptions buildPartial ()

public CallableOptions.Builder clear ()

public CallableOptions.Builder clearFeed ()

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public CallableOptions.Builder clearFeedDevices ()

public CallableOptions.Builder clearFetch ()

 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.
 
repeated string fetch = 2;

public CallableOptions.Builder clearFetchDevices ()

public CallableOptions.Builder clearFetchSkipSync ()

 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.
 
bool fetch_skip_sync = 8;

public CallableOptions.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド)

public CallableOptions.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public CallableOptions.Builder clearRunOptions ()

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

public CallableOptions.Builder clearTarget ()

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public CallableOptions.Builder clearTensorConnection ()

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions.Builder clone ()

public boolean containsFeedDevices (文字列キー)

 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()).
 
map<string, string> feed_devices = 6;

public boolean containsFetchDevices (文字列キー)

map<string, string> fetch_devices = 7;

public CallableOptions getDefaultInstanceForType ()

public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public String getFeed (int インデックス)

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public com.google.protobuf.ByteString getFeedBytes (int インデックス)

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public int getFeedCount ()

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public Map<String, String> getFeedDevices ()

代わりにgetFeedDevicesMap()を使用してください。

public int getFeedDevicesCount ()

 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()).
 
map<string, string> feed_devices = 6;

public Map<String, String> getFeedDevicesMap ()

 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()).
 
map<string, string> feed_devices = 6;

public String getFeedDevicesOrDefault (文字列キー、文字列defaultValue)

 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()).
 
map<string, string> feed_devices = 6;

public String getFeedDevicesOrThrow (文字列キー)

 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()).
 
map<string, string> feed_devices = 6;

public com.google.protobuf.ProtocolStringList getFeedList ()

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public String getFetch (int インデックス)

 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.
 
repeated string fetch = 2;

public com.google.protobuf.ByteString getFetchBytes (int インデックス)

 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.
 
repeated string fetch = 2;

public int getFetchCount ()

 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.
 
repeated string fetch = 2;

public Map<String, String> getFetchDevices ()

代わりにgetFetchDevicesMap()を使用してください。

public int getFetchDevicesCount ()

map<string, string> fetch_devices = 7;

public Map<String, String> getFetchDevicesMap ()

map<string, string> fetch_devices = 7;

public String getFetchDevicesOrDefault (文字列キー、文字列defaultValue)

map<string, string> fetch_devices = 7;

public String getFetchDevicesOrThrow (文字列キー)

map<string, string> fetch_devices = 7;

public com.google.protobuf.ProtocolStringList getFetchList ()

 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.
 
repeated string fetch = 2;

public boolean getFetchSkipSync ()

 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.
 
bool fetch_skip_sync = 8;

public Map<String, String> getMutableFeedDevices ()

代わりに代替の突然変異アクセサーを使用してください。

public Map<String, String> getMutableFetchDevices ()

代わりに代替の突然変異アクセサーを使用してください。

public RunOptions getRunOptions ()

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

public RunOptions.Builder getRunOptionsBuilder ()

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

public RunOptionsOrBuilder getRunOptionsOrBuilder ()

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

public String getTarget (int インデックス)

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public com.google.protobuf.ByteString getTargetBytes (int インデックス)

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public int getTargetCount ()

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public com.google.protobuf.ProtocolStringList getTargetList ()

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public TensorConnection getTensorConnection (int インデックス)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public TensorConnection.Builder getTensorConnectionBuilder (int インデックス)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public List< TensorConnection.Builder > getTensorConnectionBuilderList ()

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public int getTensorConnectionCount ()

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public List< TensorConnection > getTensorConnectionList ()

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public TensorConnectionOrBuilder getTensorConnectionOrBuilder (int インデックス)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

公開リスト<? extends TensorConnectionOrBuilder > getTensorConnectionOrBuilderList ()

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public boolean hasRunOptions ()

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

パブリック最終ブール値isInitialized ()

public CallableOptions.Builder mergeFrom (com.google.protobuf.Message other)

public CallableOptions.Builder mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public CallableOptions.Builder mergeRunOptions ( RunOptions値)

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

public Final CallableOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

public CallableOptions.Builder putAllFeedDevices (Map<String, String> 値)

 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()).
 
map<string, string> feed_devices = 6;

public CallableOptions.Builder putAllFetchDevices (Map<String, String> 値)

map<string, string> fetch_devices = 7;

public CallableOptions.Builder putFeedDevices (文字列キー、文字列値)

 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()).
 
map<string, string> feed_devices = 6;

public CallableOptions.Builder putFetchDevices (文字列キー、文字列値)

map<string, string> fetch_devices = 7;

public CallableOptions.Builder RemoveFeedDevices (文字列キー)

 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()).
 
map<string, string> feed_devices = 6;

public CallableOptions.Builder RemoveFetchDevices (文字列キー)

map<string, string> fetch_devices = 7;

public CallableOptions.Builder RemoveTensorConnection (int インデックス)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions.Builder setFeed (int インデックス、文字列値)

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public CallableOptions.Builder setFetch (int インデックス、文字列値)

 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.
 
repeated string fetch = 2;

public CallableOptions.Builder setFetchSkipSync (ブール値)

 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.
 
bool fetch_skip_sync = 8;

public CallableOptions.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)

public CallableOptions.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)

public CallableOptions.Builder setRunOptions ( RunOptions.Builder builderForValue)

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

public CallableOptions.Builder setRunOptions ( RunOptions値)

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

public CallableOptions.Builder setTarget (int インデックス、文字列値)

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public CallableOptions.Builder setTensorConnection (int インデックス、 TensorConnection値)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions.Builder setTensorConnection (int インデックス、 TensorConnection.Builder builderForValue)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public Final CallableOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

パブリック静的最終クラスCallableOptions.Builder

 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()`.
 
Protobuf 型tensorflow.CallableOptions

パブリックメソッド

CallableOptions.Builder
addAllFeed (Iterable<String> 値)
 Tensors to be fed in the callable.
CallableOptions.Builder
addAllFetch (Iterable<String> 値)
 Fetches.
CallableOptions.Builder
addAllTarget (Iterable<String> 値)
 Target Nodes.
CallableOptions.Builder
addAllTensorConnection (Iterable<? extends TensorConnection > 値)
 Tensors to be connected in the callable.
CallableOptions.Builder
addFeed (文字列値)
 Tensors to be fed in the callable.
CallableOptions.Builder
addFeedBytes (com.google.protobuf.ByteString 値)
 Tensors to be fed in the callable.
CallableOptions.Builder
addFetch (文字列値)
 Fetches.
CallableOptions.Builder
addFetchBytes (com.google.protobuf.ByteString 値)
 Fetches.
CallableOptions.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
CallableOptions.Builder
addTarget (文字列値)
 Target Nodes.
CallableOptions.Builder
addTargetBytes (com.google.protobuf.ByteString 値)
 Target Nodes.
CallableOptions.Builder
addTensorConnection (int インデックス、 TensorConnection値)
 Tensors to be connected in the callable.
CallableOptions.Builder
addTensorConnection (int インデックス、 TensorConnection.Builder builderForValue)
 Tensors to be connected in the callable.
CallableOptions.Builder
addTensorConnection ( TensorConnection値)
 Tensors to be connected in the callable.
CallableOptions.Builder
addTensorConnection ( TensorConnection.Builder builderForValue)
 Tensors to be connected in the callable.
TensorConnection.Builder
addTensorConnectionBuilder ()
 Tensors to be connected in the callable.
TensorConnection.Builder
addTensorConnectionBuilder (int インデックス)
 Tensors to be connected in the callable.
呼び出し可能なオプション
建てる()
呼び出し可能なオプション
CallableOptions.Builder
クリア()
CallableOptions.Builder
クリアフィード()
 Tensors to be fed in the callable.
CallableOptions.Builder
CallableOptions.Builder
CallableOptions.Builder
CallableOptions.Builder
clearFetchSkipSync ()
 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.
CallableOptions.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド)
CallableOptions.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
CallableOptions.Builder
ClearRunOptions ()
 Options that will be applied to each run.
CallableOptions.Builder
クリアターゲット()
 Target Nodes.
CallableOptions.Builder
clearTensorConnection ()
 Tensors to be connected in the callable.
CallableOptions.Builder
ブール値
containsFeedDevices (文字列キー)
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
ブール値
containsFetchDevices (文字列キー)
map<string, string> fetch_devices = 7;
呼び出し可能なオプション
最終的な静的 com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getFeed (int インデックス)
 Tensors to be fed in the callable.
com.google.protobuf.ByteString
getFeedBytes (int インデックス)
 Tensors to be fed in the callable.
整数
getFeedCount ()
 Tensors to be fed in the callable.
マップ<文字列, 文字列>
getFeedDevices ()
代わりにgetFeedDevicesMap()を使用してください。
整数
getFeedDevicesCount ()
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
マップ<文字列, 文字列>
getFeedDevicesMap ()
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
getFeedDevicesOrDefault (文字列キー、文字列defaultValue)
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
getFeedDevicesOrThrow (文字列キー)
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
com.google.protobuf.ProtocolStringList
getFeedList ()
 Tensors to be fed in the callable.
getFetch (int インデックス)
 Fetches.
com.google.protobuf.ByteString
getFetchBytes (int インデックス)
 Fetches.
整数
getFetchCount ()
 Fetches.
マップ<文字列, 文字列>
getFetchDevices ()
代わりにgetFetchDevicesMap()を使用してください。
整数
getFetchDevicesCount ()
map<string, string> fetch_devices = 7;
マップ<文字列, 文字列>
getFetchDevicesMap ()
map<string, string> fetch_devices = 7;
getFetchDevicesOrDefault (文字列キー、文字列defaultValue)
map<string, string> fetch_devices = 7;
getFetchDevicesOrThrow (文字列キー)
map<string, string> fetch_devices = 7;
com.google.protobuf.ProtocolStringList
getFetchList ()
 Fetches.
ブール値
getFetchSkipSync ()
 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.
マップ<文字列, 文字列>
getMutableFeedDevices ()
代わりに代替の突然変異アクセサーを使用してください。
マップ<文字列, 文字列>
getMutableFetchDevices ()
代わりに代替の突然変異アクセサーを使用してください。
実行オプション
getRunOptions ()
 Options that will be applied to each run.
RunOptions.Builder
getRunOptionsBuilder ()
 Options that will be applied to each run.
RunOptionsOrBuilder
getRunOptionsOrBuilder ()
 Options that will be applied to each run.
getTarget (int インデックス)
 Target Nodes.
com.google.protobuf.ByteString
getTargetBytes (int インデックス)
 Target Nodes.
整数
getTargetCount ()
 Target Nodes.
com.google.protobuf.ProtocolStringList
getTargetList ()
 Target Nodes.
テンソル接続
getTensorConnection (int インデックス)
 Tensors to be connected in the callable.
TensorConnection.Builder
getTensorConnectionBuilder (int インデックス)
 Tensors to be connected in the callable.
リスト< TensorConnection.Builder >
getTensorConnectionBuilderList ()
 Tensors to be connected in the callable.
整数
getTensorConnectionCount ()
 Tensors to be connected in the callable.
リスト< TensorConnection >
getTensorConnectionList ()
 Tensors to be connected in the callable.
TensorConnectionOrBuilder
getTensorConnectionOrBuilder (int インデックス)
 Tensors to be connected in the callable.
リスト<? TensorConnectionOrBuilderを拡張 >
getTensorConnectionOrBuilderList ()
 Tensors to be connected in the callable.
ブール値
hasRunOptions ()
 Options that will be applied to each run.
最終ブール値
CallableOptions.Builder
mergeFrom (com.google.protobuf.Message other)
CallableOptions.Builder
mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CallableOptions.Builder
mergeRunOptions ( RunOptions値)
 Options that will be applied to each run.
最終的なCal​​lableOptions.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド)
CallableOptions.Builder
putAllFeedDevices (Map<String, String> 値)
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
CallableOptions.Builder
putAllFetchDevices (Map<String, String> 値)
map<string, string> fetch_devices = 7;
CallableOptions.Builder
putFeedDevices (文字列キー、文字列値)
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
CallableOptions.Builder
putFetchDevices (文字列キー、文字列値)
map<string, string> fetch_devices = 7;
CallableOptions.Builder
RemoveFeedDevices (文字列キー)
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
CallableOptions.Builder
RemoveFetchDevices (文字列キー)
map<string, string> fetch_devices = 7;
CallableOptions.Builder
RemoveTensorConnection (int インデックス)
 Tensors to be connected in the callable.
CallableOptions.Builder
setFeed (int インデックス、文字列値)
 Tensors to be fed in the callable.
CallableOptions.Builder
setFetch (int インデックス、文字列値)
 Fetches.
CallableOptions.Builder
setFetchSkipSync (ブール値)
 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.
CallableOptions.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
CallableOptions.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)
CallableOptions.Builder
setRunOptions ( RunOptions.Builder builderForValue)
 Options that will be applied to each run.
CallableOptions.Builder
setRunOptions ( RunOptions値)
 Options that will be applied to each run.
CallableOptions.Builder
setTarget (int インデックス、文字列値)
 Target Nodes.
CallableOptions.Builder
setTensorConnection (int インデックス、 TensorConnection値)
 Tensors to be connected in the callable.
CallableOptions.Builder
setTensorConnection (int インデックス、 TensorConnection.Builder builderForValue)
 Tensors to be connected in the callable.
最終的なCal​​lableOptions.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

継承されたメソッド

パブリックメソッド

public CallableOptions.Builder addAllFeed (Iterable<String> 値)

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public CallableOptions.Builder addAllFetch (Iterable<String> 値)

 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.
 
repeated string fetch = 2;

public CallableOptions.Builder addAllTarget (Iterable<String> 値)

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public CallableOptions.Builder addAllTensorConnection (Iterable<? extends TensorConnection > 値)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions.Builder addFeed (文字列値)

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public CallableOptions.Builder addFeedBytes (com.google.protobuf.ByteString 値)

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public CallableOptions.Builder addFetch (文字列値)

 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.
 
repeated string fetch = 2;

public CallableOptions.Builder addFetchBytes (com.google.protobuf.ByteString 値)

 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.
 
repeated string fetch = 2;

public CallableOptions.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)

public CallableOptions.Builder addTarget (文字列値)

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public CallableOptions.Builder addTargetBytes (com.google.protobuf.ByteString 値)

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public CallableOptions.Builder addTensorConnection (int インデックス、 TensorConnection値)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions.Builder addTensorConnection (int インデックス、 TensorConnection.Builder builderForValue)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions.Builder addTensorConnection ( TensorConnection値)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions.Builder addTensorConnection ( TensorConnection.Builder builderForValue)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public TensorConnection.Builder addTensorConnectionBuilder ()

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public TensorConnection.Builder addTensorConnectionBuilder (int インデックス)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions build ()

public CallableOptions buildPartial ()

public CallableOptions.Builder clear ()

public CallableOptions.Builder clearFeed ()

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public CallableOptions.Builder clearFeedDevices ()

public CallableOptions.Builder clearFetch ()

 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.
 
repeated string fetch = 2;

public CallableOptions.Builder clearFetchDevices ()

public CallableOptions.Builder clearFetchSkipSync ()

 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.
 
bool fetch_skip_sync = 8;

public CallableOptions.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド)

public CallableOptions.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public CallableOptions.Builder clearRunOptions ()

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

public CallableOptions.Builder clearTarget ()

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public CallableOptions.Builder clearTensorConnection ()

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions.Builder clone ()

public boolean containsFeedDevices (文字列キー)

 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()).
 
map<string, string> feed_devices = 6;

public boolean containsFetchDevices (文字列キー)

map<string, string> fetch_devices = 7;

public CallableOptions getDefaultInstanceForType ()

public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public String getFeed (int インデックス)

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public com.google.protobuf.ByteString getFeedBytes (int インデックス)

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public int getFeedCount ()

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public Map<String, String> getFeedDevices ()

代わりにgetFeedDevicesMap()を使用してください。

public int getFeedDevicesCount ()

 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()).
 
map<string, string> feed_devices = 6;

public Map<String, String> getFeedDevicesMap ()

 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()).
 
map<string, string> feed_devices = 6;

public String getFeedDevicesOrDefault (文字列キー、文字列defaultValue)

 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()).
 
map<string, string> feed_devices = 6;

public String getFeedDevicesOrThrow (文字列キー)

 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()).
 
map<string, string> feed_devices = 6;

public com.google.protobuf.ProtocolStringList getFeedList ()

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public String getFetch (int インデックス)

 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.
 
repeated string fetch = 2;

public com.google.protobuf.ByteString getFetchBytes (int インデックス)

 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.
 
repeated string fetch = 2;

public int getFetchCount ()

 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.
 
repeated string fetch = 2;

public Map<String, String> getFetchDevices ()

代わりにgetFetchDevicesMap()を使用してください。

public int getFetchDevicesCount ()

map<string, string> fetch_devices = 7;

public Map<String, String> getFetchDevicesMap ()

map<string, string> fetch_devices = 7;

public String getFetchDevicesOrDefault (文字列キー、文字列defaultValue)

map<string, string> fetch_devices = 7;

public String getFetchDevicesOrThrow (文字列キー)

map<string, string> fetch_devices = 7;

public com.google.protobuf.ProtocolStringList getFetchList ()

 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.
 
repeated string fetch = 2;

public boolean getFetchSkipSync ()

 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.
 
bool fetch_skip_sync = 8;

public Map<String, String> getMutableFeedDevices ()

代わりに代替の突然変異アクセサーを使用してください。

public Map<String, String> getMutableFetchDevices ()

代わりに代替の突然変異アクセサーを使用してください。

public RunOptions getRunOptions ()

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

public RunOptions.Builder getRunOptionsBuilder ()

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

public RunOptionsOrBuilder getRunOptionsOrBuilder ()

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

public String getTarget (int インデックス)

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public com.google.protobuf.ByteString getTargetBytes (int インデックス)

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public int getTargetCount ()

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public com.google.protobuf.ProtocolStringList getTargetList ()

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public TensorConnection getTensorConnection (int インデックス)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public TensorConnection.Builder getTensorConnectionBuilder (int インデックス)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public List< TensorConnection.Builder > getTensorConnectionBuilderList ()

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public int getTensorConnectionCount ()

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public List< TensorConnection > getTensorConnectionList ()

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public TensorConnectionOrBuilder getTensorConnectionOrBuilder (int インデックス)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

公開リスト<? extends TensorConnectionOrBuilder > getTensorConnectionOrBuilderList ()

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public boolean hasRunOptions ()

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

パブリック最終ブール値isInitialized ()

public CallableOptions.Builder mergeFrom (com.google.protobuf.Message other)

public CallableOptions.Builder mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public CallableOptions.Builder mergeRunOptions ( RunOptions値)

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

public Final CallableOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

public CallableOptions.Builder putAllFeedDevices (Map<String, String> 値)

 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()).
 
map<string, string> feed_devices = 6;

public CallableOptions.Builder putAllFetchDevices (Map<String, String> 値)

map<string, string> fetch_devices = 7;

public CallableOptions.Builder putFeedDevices (文字列キー、文字列値)

 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()).
 
map<string, string> feed_devices = 6;

public CallableOptions.Builder putFetchDevices (文字列キー、文字列値)

map<string, string> fetch_devices = 7;

public CallableOptions.Builder RemoveFeedDevices (文字列キー)

 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()).
 
map<string, string> feed_devices = 6;

public CallableOptions.Builder RemoveFetchDevices (文字列キー)

map<string, string> fetch_devices = 7;

public CallableOptions.Builder RemoveTensorConnection (int インデックス)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions.Builder setFeed (int インデックス、文字列値)

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public CallableOptions.Builder setFetch (int インデックス、文字列値)

 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.
 
repeated string fetch = 2;

public CallableOptions.Builder setFetchSkipSync (ブール値)

 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.
 
bool fetch_skip_sync = 8;

public CallableOptions.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)

public CallableOptions.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)

public CallableOptions.Builder setRunOptions ( RunOptions.Builder builderForValue)

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

public CallableOptions.Builder setRunOptions ( RunOptions値)

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

public CallableOptions.Builder setTarget (int インデックス、文字列値)

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public CallableOptions.Builder setTensorConnection (int インデックス、 TensorConnection値)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions.Builder setTensorConnection (int インデックス、 TensorConnection.Builder builderForValue)

 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.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public Final CallableOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)