public interface SignatureDefOrBuilder
extends org.nd4j.shade.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsInputs(String key)
Named input parameters.
|
boolean |
containsOutputs(String key)
Named output parameters.
|
Map<String,TensorInfo> |
getInputs()
Deprecated.
|
int |
getInputsCount()
Named input parameters.
|
Map<String,TensorInfo> |
getInputsMap()
Named input parameters.
|
TensorInfo |
getInputsOrDefault(String key,
TensorInfo defaultValue)
Named input parameters.
|
TensorInfo |
getInputsOrThrow(String key)
Named input parameters.
|
String |
getMethodName()
Extensible method_name information enabling third-party users to mark a
SignatureDef as supporting a particular method.
|
org.nd4j.shade.protobuf.ByteString |
getMethodNameBytes()
Extensible method_name information enabling third-party users to mark a
SignatureDef as supporting a particular method.
|
Map<String,TensorInfo> |
getOutputs()
Deprecated.
|
int |
getOutputsCount()
Named output parameters.
|
Map<String,TensorInfo> |
getOutputsMap()
Named output parameters.
|
TensorInfo |
getOutputsOrDefault(String key,
TensorInfo defaultValue)
Named output parameters.
|
TensorInfo |
getOutputsOrThrow(String key)
Named output parameters.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
int getInputsCount()
Named input parameters.
map<string, .tensorflow.TensorInfo> inputs = 1;
boolean containsInputs(String key)
Named input parameters.
map<string, .tensorflow.TensorInfo> inputs = 1;
@Deprecated Map<String,TensorInfo> getInputs()
getInputsMap()
instead.Map<String,TensorInfo> getInputsMap()
Named input parameters.
map<string, .tensorflow.TensorInfo> inputs = 1;
TensorInfo getInputsOrDefault(String key, TensorInfo defaultValue)
Named input parameters.
map<string, .tensorflow.TensorInfo> inputs = 1;
TensorInfo getInputsOrThrow(String key)
Named input parameters.
map<string, .tensorflow.TensorInfo> inputs = 1;
int getOutputsCount()
Named output parameters.
map<string, .tensorflow.TensorInfo> outputs = 2;
boolean containsOutputs(String key)
Named output parameters.
map<string, .tensorflow.TensorInfo> outputs = 2;
@Deprecated Map<String,TensorInfo> getOutputs()
getOutputsMap()
instead.Map<String,TensorInfo> getOutputsMap()
Named output parameters.
map<string, .tensorflow.TensorInfo> outputs = 2;
TensorInfo getOutputsOrDefault(String key, TensorInfo defaultValue)
Named output parameters.
map<string, .tensorflow.TensorInfo> outputs = 2;
TensorInfo getOutputsOrThrow(String key)
Named output parameters.
map<string, .tensorflow.TensorInfo> outputs = 2;
String getMethodName()
Extensible method_name information enabling third-party users to mark a SignatureDef as supporting a particular method. This enables producers and consumers of SignatureDefs, e.g. a model definition library and a serving library to have a clear hand-off regarding the semantics of a computation. Note that multiple SignatureDefs in a single MetaGraphDef may have the same method_name. This is commonly used to support multi-headed computation, where a single graph computation may return multiple results.
string method_name = 3;
org.nd4j.shade.protobuf.ByteString getMethodNameBytes()
Extensible method_name information enabling third-party users to mark a SignatureDef as supporting a particular method. This enables producers and consumers of SignatureDefs, e.g. a model definition library and a serving library to have a clear hand-off regarding the semantics of a computation. Note that multiple SignatureDefs in a single MetaGraphDef may have the same method_name. This is commonly used to support multi-headed computation, where a single graph computation may return multiple results.
string method_name = 3;
Copyright © 2020. All rights reserved.