public final class CallableOptions extends org.nd4j.shade.protobuf.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.
|
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter
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 org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFeed(int index)
Tensors to be fed in the callable.
|
org.nd4j.shade.protobuf.ByteString |
getFeedBytes(int index)
Tensors to be fed in the callable.
|
int |
getFeedCount()
Tensors to be fed in the callable.
|
org.nd4j.shade.protobuf.ProtocolStringList |
getFeedList()
Tensors to be fed in the callable.
|
String |
getFetch(int index)
Fetches.
|
org.nd4j.shade.protobuf.ByteString |
getFetchBytes(int index)
Fetches.
|
int |
getFetchCount()
Fetches.
|
org.nd4j.shade.protobuf.ProtocolStringList |
getFetchList()
Fetches.
|
org.nd4j.shade.protobuf.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.
|
org.nd4j.shade.protobuf.ByteString |
getTargetBytes(int index)
Target Nodes.
|
int |
getTargetCount()
Target Nodes.
|
org.nd4j.shade.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.
|
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasRunOptions()
Options that will be applied to each run.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CallableOptions.Builder |
newBuilder() |
static CallableOptions.Builder |
newBuilder(CallableOptions prototype) |
CallableOptions.Builder |
newBuilderForType() |
protected CallableOptions.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
static CallableOptions |
parseDelimitedFrom(InputStream input) |
static CallableOptions |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static CallableOptions |
parseFrom(byte[] data) |
static CallableOptions |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static CallableOptions |
parseFrom(ByteBuffer data) |
static CallableOptions |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static CallableOptions |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static CallableOptions |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static CallableOptions |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static CallableOptions |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static CallableOptions |
parseFrom(InputStream input) |
static CallableOptions |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<CallableOptions> |
parser() |
CallableOptions.Builder |
toBuilder() |
void |
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, 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, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternal
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 org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public org.nd4j.shade.protobuf.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 org.nd4j.shade.protobuf.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 org.nd4j.shade.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;
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 org.nd4j.shade.protobuf.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 org.nd4j.shade.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;
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 org.nd4j.shade.protobuf.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 org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface org.nd4j.shade.protobuf.MessageLite
writeTo
in class org.nd4j.shade.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface org.nd4j.shade.protobuf.MessageLite
getSerializedSize
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface org.nd4j.shade.protobuf.Message
equals
in class org.nd4j.shade.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface org.nd4j.shade.protobuf.Message
hashCode
in class org.nd4j.shade.protobuf.AbstractMessage
public static CallableOptions parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static CallableOptions parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static CallableOptions parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static CallableOptions parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static CallableOptions parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static CallableOptions parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static CallableOptions parseFrom(InputStream input) throws IOException
IOException
public static CallableOptions parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CallableOptions parseDelimitedFrom(InputStream input) throws IOException
IOException
public static CallableOptions parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CallableOptions parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOException
public static CallableOptions parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public CallableOptions.Builder newBuilderForType()
newBuilderForType
in interface org.nd4j.shade.protobuf.Message
newBuilderForType
in interface org.nd4j.shade.protobuf.MessageLite
public static CallableOptions.Builder newBuilder()
public static CallableOptions.Builder newBuilder(CallableOptions prototype)
public CallableOptions.Builder toBuilder()
toBuilder
in interface org.nd4j.shade.protobuf.Message
toBuilder
in interface org.nd4j.shade.protobuf.MessageLite
protected CallableOptions.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public static CallableOptions getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<CallableOptions> parser()
public org.nd4j.shade.protobuf.Parser<CallableOptions> getParserForType()
getParserForType
in interface org.nd4j.shade.protobuf.Message
getParserForType
in interface org.nd4j.shade.protobuf.MessageLite
getParserForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public CallableOptions getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
Copyright © 2020. All rights reserved.