org.tensorflow.framework.SignatureDefOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto Show documentation
Show all versions of proto Show documentation
Java API for TensorFlow protocol buffers.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/protobuf/meta_graph.proto
package org.tensorflow.framework;
public interface SignatureDefOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.SignatureDef)
com.google.protobuf.MessageOrBuilder {
/**
*
* Named input parameters.
*
*
* map<string, .tensorflow.TensorInfo> inputs = 1;
*/
int getInputsCount();
/**
*
* Named input parameters.
*
*
* map<string, .tensorflow.TensorInfo> inputs = 1;
*/
boolean containsInputs(
java.lang.String key);
/**
* Use {@link #getInputsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getInputs();
/**
*
* Named input parameters.
*
*
* map<string, .tensorflow.TensorInfo> inputs = 1;
*/
java.util.Map
getInputsMap();
/**
*
* Named input parameters.
*
*
* map<string, .tensorflow.TensorInfo> inputs = 1;
*/
org.tensorflow.framework.TensorInfo getInputsOrDefault(
java.lang.String key,
org.tensorflow.framework.TensorInfo defaultValue);
/**
*
* Named input parameters.
*
*
* map<string, .tensorflow.TensorInfo> inputs = 1;
*/
org.tensorflow.framework.TensorInfo getInputsOrThrow(
java.lang.String key);
/**
*
* Named output parameters.
*
*
* map<string, .tensorflow.TensorInfo> outputs = 2;
*/
int getOutputsCount();
/**
*
* Named output parameters.
*
*
* map<string, .tensorflow.TensorInfo> outputs = 2;
*/
boolean containsOutputs(
java.lang.String key);
/**
* Use {@link #getOutputsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getOutputs();
/**
*
* Named output parameters.
*
*
* map<string, .tensorflow.TensorInfo> outputs = 2;
*/
java.util.Map
getOutputsMap();
/**
*
* Named output parameters.
*
*
* map<string, .tensorflow.TensorInfo> outputs = 2;
*/
org.tensorflow.framework.TensorInfo getOutputsOrDefault(
java.lang.String key,
org.tensorflow.framework.TensorInfo defaultValue);
/**
*
* Named output parameters.
*
*
* map<string, .tensorflow.TensorInfo> outputs = 2;
*/
org.tensorflow.framework.TensorInfo getOutputsOrThrow(
java.lang.String key);
/**
*
* 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;
*/
java.lang.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;
*/
com.google.protobuf.ByteString
getMethodNameBytes();
}