public final class
CallableOptions
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 type
tensorflow.CallableOptions
Nested Classes
class | CallableOptions.Builder | Defines a subgraph in another `GraphDef` as a set of feed points and nodes to be fetched or executed. |
Constants
Public Methods
boolean |
containsFeedDevices(String key)
The Tensor objects fed in the callable and fetched from the callable are expected to be backed by host (CPU) memory by default. |
boolean |
containsFetchDevices(String key)
map<string, string> fetch_devices = 7;
|
boolean |
equals(Object obj)
|
static CallableOptions | |
CallableOptions | |
final static com.google.protobuf.Descriptors.Descriptor | |
String |
getFeed(int index)
Tensors to be fed in the callable. |
com.google.protobuf.ByteString |
getFeedBytes(int index)
Tensors to be fed in the callable. |
int |
getFeedCount()
Tensors to be fed in the callable. |
Map<String, String> |
getFeedDevices()
Use
getFeedDevicesMap() instead. |
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. |
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. |
String |
getFeedDevicesOrDefault(String key, String defaultValue)
The Tensor objects fed in the callable and fetched from the callable are expected to be backed by host (CPU) memory by default. |
String |
getFeedDevicesOrThrow(String key)
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. |
String |
getFetch(int index)
Fetches. |
com.google.protobuf.ByteString |
getFetchBytes(int index)
Fetches. |
int |
getFetchCount()
Fetches. |
Map<String, String> |
getFetchDevices()
Use
getFetchDevicesMap() instead. |
int |
getFetchDevicesCount()
map<string, string> fetch_devices = 7;
|
Map<String, String> |
getFetchDevicesMap()
map<string, string> fetch_devices = 7;
|
String |
getFetchDevicesOrDefault(String key, String defaultValue)
map<string, string> fetch_devices = 7;
|
String |
getFetchDevicesOrThrow(String key)
map<string, string> fetch_devices = 7;
|
com.google.protobuf.ProtocolStringList |
getFetchList()
Fetches. |
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. |
|
|
RunOptions |
getRunOptions()
Options that will be applied to each run. |
RunOptionsOrBuilder |
getRunOptionsOrBuilder()
Options that will be applied to each run. |
int | |
String |
getTarget(int index)
Target Nodes. |
com.google.protobuf.ByteString |
getTargetBytes(int index)
Target Nodes. |
int |
getTargetCount()
Target Nodes. |
com.google.protobuf.ProtocolStringList |
getTargetList()
Target Nodes. |
TensorConnection |
getTensorConnection(int index)
Tensors to be connected in the callable. |
int |
getTensorConnectionCount()
Tensors to be connected in the callable. |
List<TensorConnection> |
getTensorConnectionList()
Tensors to be connected in the callable. |
TensorConnectionOrBuilder |
getTensorConnectionOrBuilder(int index)
Tensors to be connected in the callable. |
List<? extends TensorConnectionOrBuilder> |
getTensorConnectionOrBuilderList()
Tensors to be connected in the callable. |
final com.google.protobuf.UnknownFieldSet | |
boolean |
hasRunOptions()
Options that will be applied to each run. |
int |
hashCode()
|
final boolean | |
static CallableOptions.Builder | |
static CallableOptions.Builder |
newBuilder(CallableOptions prototype)
|
CallableOptions.Builder | |
static CallableOptions |
parseDelimitedFrom(InputStream input)
|
static CallableOptions |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static CallableOptions |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static CallableOptions |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static CallableOptions |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static CallableOptions |
parseFrom(ByteBuffer data)
|
static CallableOptions |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static CallableOptions |
parseFrom(com.google.protobuf.ByteString data)
|
static CallableOptions |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static CallableOptions |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
CallableOptions.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|