Package | Description |
---|---|
org.tensorflow.framework |
Modifier and Type | Method and Description |
---|---|
CallableOptions.Builder |
CallableOptions.Builder.addAllFeed(Iterable<String> values)
Tensors to be fed in the callable.
|
CallableOptions.Builder |
CallableOptions.Builder.addAllFetch(Iterable<String> values)
Fetches.
|
CallableOptions.Builder |
CallableOptions.Builder.addAllTarget(Iterable<String> values)
Target Nodes.
|
CallableOptions.Builder |
CallableOptions.Builder.addAllTensorConnection(Iterable<? extends TensorConnection> values)
Tensors to be connected in the callable.
|
CallableOptions.Builder |
CallableOptions.Builder.addFeed(String value)
Tensors to be fed in the callable.
|
CallableOptions.Builder |
CallableOptions.Builder.addFeedBytes(com.google.protobuf.ByteString value)
Tensors to be fed in the callable.
|
CallableOptions.Builder |
CallableOptions.Builder.addFetch(String value)
Fetches.
|
CallableOptions.Builder |
CallableOptions.Builder.addFetchBytes(com.google.protobuf.ByteString value)
Fetches.
|
CallableOptions.Builder |
CallableOptions.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CallableOptions.Builder |
CallableOptions.Builder.addTarget(String value)
Target Nodes.
|
CallableOptions.Builder |
CallableOptions.Builder.addTargetBytes(com.google.protobuf.ByteString value)
Target Nodes.
|
CallableOptions.Builder |
CallableOptions.Builder.addTensorConnection(int index,
TensorConnection.Builder builderForValue)
Tensors to be connected in the callable.
|
CallableOptions.Builder |
CallableOptions.Builder.addTensorConnection(int index,
TensorConnection value)
Tensors to be connected in the callable.
|
CallableOptions.Builder |
CallableOptions.Builder.addTensorConnection(TensorConnection.Builder builderForValue)
Tensors to be connected in the callable.
|
CallableOptions.Builder |
CallableOptions.Builder.addTensorConnection(TensorConnection value)
Tensors to be connected in the callable.
|
CallableOptions.Builder |
CallableOptions.Builder.clear() |
CallableOptions.Builder |
CallableOptions.Builder.clearFeed()
Tensors to be fed in the callable.
|
CallableOptions.Builder |
CallableOptions.Builder.clearFeedDevices() |
CallableOptions.Builder |
CallableOptions.Builder.clearFetch()
Fetches.
|
CallableOptions.Builder |
CallableOptions.Builder.clearFetchDevices() |
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 |
CallableOptions.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CallableOptions.Builder |
CallableOptions.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CallableOptions.Builder |
CallableOptions.Builder.clearRunOptions()
Options that will be applied to each run.
|
CallableOptions.Builder |
CallableOptions.Builder.clearTarget()
Target Nodes.
|
CallableOptions.Builder |
CallableOptions.Builder.clearTensorConnection()
Tensors to be connected in the callable.
|
CallableOptions.Builder |
CallableOptions.Builder.clone() |
CallableOptions.Builder |
CallableOptions.Builder.mergeFrom(CallableOptions other) |
CallableOptions.Builder |
CallableOptions.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CallableOptions.Builder |
CallableOptions.Builder.mergeFrom(com.google.protobuf.Message other) |
CallableOptions.Builder |
CallableOptions.Builder.mergeRunOptions(RunOptions value)
Options that will be applied to each run.
|
CallableOptions.Builder |
CallableOptions.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static CallableOptions.Builder |
CallableOptions.newBuilder() |
static CallableOptions.Builder |
CallableOptions.newBuilder(CallableOptions prototype) |
CallableOptions.Builder |
CallableOptions.newBuilderForType() |
protected CallableOptions.Builder |
CallableOptions.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
CallableOptions.Builder |
CallableOptions.Builder.putAllFeedDevices(Map<String,String> values)
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 |
CallableOptions.Builder.putAllFetchDevices(Map<String,String> values)
map<string, string> fetch_devices = 7; |
CallableOptions.Builder |
CallableOptions.Builder.putFeedDevices(String key,
String value)
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 |
CallableOptions.Builder.putFetchDevices(String key,
String value)
map<string, string> fetch_devices = 7; |
CallableOptions.Builder |
CallableOptions.Builder.removeFeedDevices(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.
|
CallableOptions.Builder |
CallableOptions.Builder.removeFetchDevices(String key)
map<string, string> fetch_devices = 7; |
CallableOptions.Builder |
CallableOptions.Builder.removeTensorConnection(int index)
Tensors to be connected in the callable.
|
CallableOptions.Builder |
CallableOptions.Builder.setFeed(int index,
String value)
Tensors to be fed in the callable.
|
CallableOptions.Builder |
CallableOptions.Builder.setFetch(int index,
String value)
Fetches.
|
CallableOptions.Builder |
CallableOptions.Builder.setFetchSkipSync(boolean value)
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 |
CallableOptions.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CallableOptions.Builder |
CallableOptions.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CallableOptions.Builder |
CallableOptions.Builder.setRunOptions(RunOptions.Builder builderForValue)
Options that will be applied to each run.
|
CallableOptions.Builder |
CallableOptions.Builder.setRunOptions(RunOptions value)
Options that will be applied to each run.
|
CallableOptions.Builder |
CallableOptions.Builder.setTarget(int index,
String value)
Target Nodes.
|
CallableOptions.Builder |
CallableOptions.Builder.setTensorConnection(int index,
TensorConnection.Builder builderForValue)
Tensors to be connected in the callable.
|
CallableOptions.Builder |
CallableOptions.Builder.setTensorConnection(int index,
TensorConnection value)
Tensors to be connected in the callable.
|
CallableOptions.Builder |
CallableOptions.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CallableOptions.Builder |
CallableOptions.toBuilder() |
Copyright © 2015–2019. All rights reserved.