public final class CallableOptions extends com.github.os72.protobuf351.GeneratedMessageV3 implements CallableOptionsOrBuilder
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| Modifier and Type | Class and Description |
|---|---|
static class |
CallableOptions.Builder
Defines a subgraph in another `GraphDef` as a set of feed points and nodes
to be fetched or executed.
|
com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
FEED_FIELD_NUMBER |
static int |
FETCH_FIELD_NUMBER |
static int |
RUN_OPTIONS_FIELD_NUMBER |
static int |
TARGET_FIELD_NUMBER |
static int |
TENSOR_CONNECTION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static CallableOptions |
getDefaultInstance() |
CallableOptions |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
String |
getFeed(int index)
Tensors to be fed in the callable.
|
com.github.os72.protobuf351.ByteString |
getFeedBytes(int index)
Tensors to be fed in the callable.
|
int |
getFeedCount()
Tensors to be fed in the callable.
|
com.github.os72.protobuf351.ProtocolStringList |
getFeedList()
Tensors to be fed in the callable.
|
String |
getFetch(int index)
Fetches.
|
com.github.os72.protobuf351.ByteString |
getFetchBytes(int index)
Fetches.
|
int |
getFetchCount()
Fetches.
|
com.github.os72.protobuf351.ProtocolStringList |
getFetchList()
Fetches.
|
com.github.os72.protobuf351.Parser<CallableOptions> |
getParserForType() |
RunOptions |
getRunOptions()
Options that will be applied to each run.
|
RunOptionsOrBuilder |
getRunOptionsOrBuilder()
Options that will be applied to each run.
|
int |
getSerializedSize() |
String |
getTarget(int index)
Target Nodes.
|
com.github.os72.protobuf351.ByteString |
getTargetBytes(int index)
Target Nodes.
|
int |
getTargetCount()
Target Nodes.
|
com.github.os72.protobuf351.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.
|
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasRunOptions()
Options that will be applied to each run.
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CallableOptions.Builder |
newBuilder() |
static CallableOptions.Builder |
newBuilder(CallableOptions prototype) |
CallableOptions.Builder |
newBuilderForType() |
protected CallableOptions.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static CallableOptions |
parseDelimitedFrom(InputStream input) |
static CallableOptions |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static CallableOptions |
parseFrom(byte[] data) |
static CallableOptions |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static CallableOptions |
parseFrom(ByteBuffer data) |
static CallableOptions |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static CallableOptions |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static CallableOptions |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static CallableOptions |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static CallableOptions |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static CallableOptions |
parseFrom(InputStream input) |
static CallableOptions |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<CallableOptions> |
parser() |
CallableOptions.Builder |
toBuilder() |
void |
writeTo(com.github.os72.protobuf351.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int FEED_FIELD_NUMBER
public static final int FETCH_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
public static final int RUN_OPTIONS_FIELD_NUMBER
public static final int TENSOR_CONNECTION_FIELD_NUMBER
public final com.github.os72.protobuf351.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.github.os72.protobuf351.MessageOrBuildergetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3public com.github.os72.protobuf351.ProtocolStringList getFeedList()
Tensors to be fed in the callable. Each feed is the name of a tensor.
repeated string feed = 1;getFeedList in interface CallableOptionsOrBuilderpublic int getFeedCount()
Tensors to be fed in the callable. Each feed is the name of a tensor.
repeated string feed = 1;getFeedCount in interface CallableOptionsOrBuilderpublic String getFeed(int index)
Tensors to be fed in the callable. Each feed is the name of a tensor.
repeated string feed = 1;getFeed in interface CallableOptionsOrBuilderpublic com.github.os72.protobuf351.ByteString getFeedBytes(int index)
Tensors to be fed in the callable. Each feed is the name of a tensor.
repeated string feed = 1;getFeedBytes in interface CallableOptionsOrBuilderpublic com.github.os72.protobuf351.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;getFetchList in interface CallableOptionsOrBuilderpublic 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;getFetchCount in interface CallableOptionsOrBuilderpublic String getFetch(int index)
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;getFetch in interface CallableOptionsOrBuilderpublic com.github.os72.protobuf351.ByteString getFetchBytes(int index)
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;getFetchBytes in interface CallableOptionsOrBuilderpublic com.github.os72.protobuf351.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;getTargetList in interface CallableOptionsOrBuilderpublic 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;getTargetCount in interface CallableOptionsOrBuilderpublic String getTarget(int index)
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;getTarget in interface CallableOptionsOrBuilderpublic com.github.os72.protobuf351.ByteString getTargetBytes(int index)
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;getTargetBytes in interface CallableOptionsOrBuilderpublic boolean hasRunOptions()
Options that will be applied to each run.
.tensorflow.RunOptions run_options = 4;hasRunOptions in interface CallableOptionsOrBuilderpublic RunOptions getRunOptions()
Options that will be applied to each run.
.tensorflow.RunOptions run_options = 4;getRunOptions in interface CallableOptionsOrBuilderpublic RunOptionsOrBuilder getRunOptionsOrBuilder()
Options that will be applied to each run.
.tensorflow.RunOptions run_options = 4;getRunOptionsOrBuilder in interface CallableOptionsOrBuilderpublic 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;getTensorConnectionList in interface CallableOptionsOrBuilderpublic List<? 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;getTensorConnectionOrBuilderList in interface CallableOptionsOrBuilderpublic 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;getTensorConnectionCount in interface CallableOptionsOrBuilderpublic TensorConnection getTensorConnection(int index)
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;getTensorConnection in interface CallableOptionsOrBuilderpublic TensorConnectionOrBuilder getTensorConnectionOrBuilder(int index)
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;getTensorConnectionOrBuilder in interface CallableOptionsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3public void writeTo(com.github.os72.protobuf351.CodedOutputStream output)
throws IOException
writeTo in interface com.github.os72.protobuf351.MessageLitewriteTo in class com.github.os72.protobuf351.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.github.os72.protobuf351.MessageLitegetSerializedSize in class com.github.os72.protobuf351.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.github.os72.protobuf351.Messageequals in class com.github.os72.protobuf351.AbstractMessagepublic int hashCode()
hashCode in interface com.github.os72.protobuf351.MessagehashCode in class com.github.os72.protobuf351.AbstractMessagepublic static CallableOptions parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static CallableOptions parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static CallableOptions parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static CallableOptions parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static CallableOptions parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static CallableOptions parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static CallableOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static CallableOptions parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CallableOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CallableOptions parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CallableOptions parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOExceptionpublic static CallableOptions parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CallableOptions.Builder newBuilderForType()
newBuilderForType in interface com.github.os72.protobuf351.MessagenewBuilderForType in interface com.github.os72.protobuf351.MessageLitepublic static CallableOptions.Builder newBuilder()
public static CallableOptions.Builder newBuilder(CallableOptions prototype)
public CallableOptions.Builder toBuilder()
toBuilder in interface com.github.os72.protobuf351.MessagetoBuilder in interface com.github.os72.protobuf351.MessageLiteprotected CallableOptions.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.github.os72.protobuf351.GeneratedMessageV3public static CallableOptions getDefaultInstance()
public static com.github.os72.protobuf351.Parser<CallableOptions> parser()
public com.github.os72.protobuf351.Parser<CallableOptions> getParserForType()
getParserForType in interface com.github.os72.protobuf351.MessagegetParserForType in interface com.github.os72.protobuf351.MessageLitegetParserForType in class com.github.os72.protobuf351.GeneratedMessageV3public CallableOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderCopyright © 2018. All rights reserved.