public interface
SignatureDefOrBuilder
Known Indirect Subclasses |
Public Methods
abstract boolean |
containsInputs(String key)
Named input parameters. |
abstract boolean |
containsOutputs(String key)
Named output parameters. |
abstract Map<String, TensorInfo> |
getInputs()
Use
getInputsMap() instead. |
abstract int |
getInputsCount()
Named input parameters. |
abstract Map<String, TensorInfo> |
getInputsMap()
Named input parameters. |
abstract TensorInfo | |
abstract TensorInfo |
getInputsOrThrow(String key)
Named input parameters. |
abstract String |
getMethodName()
Extensible method_name information enabling third-party users to mark a SignatureDef as supporting a particular method. |
abstract com.google.protobuf.ByteString |
getMethodNameBytes()
Extensible method_name information enabling third-party users to mark a SignatureDef as supporting a particular method. |
abstract Map<String, TensorInfo> |
getOutputs()
Use
getOutputsMap() instead. |
abstract int |
getOutputsCount()
Named output parameters. |
abstract Map<String, TensorInfo> |
getOutputsMap()
Named output parameters. |
abstract TensorInfo | |
abstract TensorInfo |
getOutputsOrThrow(String key)
Named output parameters. |
Public Methods
public abstract boolean containsInputs (String key)
Named input parameters.
map<string, .tensorflow.TensorInfo> inputs = 1;
public abstract boolean containsOutputs (String key)
Named output parameters.
map<string, .tensorflow.TensorInfo> outputs = 2;
public abstract int getInputsCount ()
Named input parameters.
map<string, .tensorflow.TensorInfo> inputs = 1;
public abstract Map<String, TensorInfo> getInputsMap ()
Named input parameters.
map<string, .tensorflow.TensorInfo> inputs = 1;
public abstract TensorInfo getInputsOrDefault (String key, TensorInfo defaultValue)
Named input parameters.
map<string, .tensorflow.TensorInfo> inputs = 1;
public abstract TensorInfo getInputsOrThrow (String key)
Named input parameters.
map<string, .tensorflow.TensorInfo> inputs = 1;
public abstract 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;
public abstract com.google.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;
public abstract int getOutputsCount ()
Named output parameters.
map<string, .tensorflow.TensorInfo> outputs = 2;
public abstract Map<String, TensorInfo> getOutputsMap ()
Named output parameters.
map<string, .tensorflow.TensorInfo> outputs = 2;
public abstract TensorInfo getOutputsOrDefault (String key, TensorInfo defaultValue)
Named output parameters.
map<string, .tensorflow.TensorInfo> outputs = 2;
public abstract TensorInfo getOutputsOrThrow (String key)
Named output parameters.
map<string, .tensorflow.TensorInfo> outputs = 2;