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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageOrBuilder
getUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3
public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3
public 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 CallableOptionsOrBuilder
public int getFeedCount()
Tensors to be fed in the callable. Each feed is the name of a tensor.
repeated string feed = 1;
getFeedCount
in interface CallableOptionsOrBuilder
public 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 CallableOptionsOrBuilder
public 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 CallableOptionsOrBuilder
public 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 CallableOptionsOrBuilder
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;
getFetchCount
in interface CallableOptionsOrBuilder
public 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 CallableOptionsOrBuilder
public 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 CallableOptionsOrBuilder
public 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 CallableOptionsOrBuilder
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;
getTargetCount
in interface CallableOptionsOrBuilder
public 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 CallableOptionsOrBuilder
public 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 CallableOptionsOrBuilder
public boolean hasRunOptions()
Options that will be applied to each run.
.tensorflow.RunOptions run_options = 4;
hasRunOptions
in interface CallableOptionsOrBuilder
public RunOptions getRunOptions()
Options that will be applied to each run.
.tensorflow.RunOptions run_options = 4;
getRunOptions
in interface CallableOptionsOrBuilder
public RunOptionsOrBuilder getRunOptionsOrBuilder()
Options that will be applied to each run.
.tensorflow.RunOptions run_options = 4;
getRunOptionsOrBuilder
in interface CallableOptionsOrBuilder
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;
getTensorConnectionList
in interface CallableOptionsOrBuilder
public 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 CallableOptionsOrBuilder
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;
getTensorConnectionCount
in interface CallableOptionsOrBuilder
public 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 CallableOptionsOrBuilder
public 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 CallableOptionsOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output) throws IOException
writeTo
in interface com.github.os72.protobuf351.MessageLite
writeTo
in class com.github.os72.protobuf351.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.github.os72.protobuf351.MessageLite
getSerializedSize
in class com.github.os72.protobuf351.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.github.os72.protobuf351.Message
equals
in class com.github.os72.protobuf351.AbstractMessage
public int hashCode()
hashCode
in interface com.github.os72.protobuf351.Message
hashCode
in class com.github.os72.protobuf351.AbstractMessage
public static CallableOptions parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static CallableOptions parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static CallableOptions parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public 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.InvalidProtocolBufferException
public static CallableOptions parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static CallableOptions parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static CallableOptions parseFrom(InputStream input) throws IOException
IOException
public static CallableOptions parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CallableOptions parseDelimitedFrom(InputStream input) throws IOException
IOException
public static CallableOptions parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CallableOptions parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static CallableOptions parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public CallableOptions.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static CallableOptions.Builder newBuilder()
public static CallableOptions.Builder newBuilder(CallableOptions prototype)
public CallableOptions.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected CallableOptions.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.github.os72.protobuf351.MessageLite
getParserForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public CallableOptions getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2018. All rights reserved.