public final class
SavedConcreteFunction
Stores low-level information about a concrete function. Referenced in either a SavedFunction or a SavedBareConcreteFunction.
tensorflow.SavedConcreteFunction
Nested Classes
class | SavedConcreteFunction.Builder | Stores low-level information about a concrete function. |
Constants
int | BOUND_INPUTS_FIELD_NUMBER | |
int | CANONICALIZED_INPUT_SIGNATURE_FIELD_NUMBER | |
int | OUTPUT_SIGNATURE_FIELD_NUMBER |
Public Methods
boolean |
equals(Object obj)
|
int |
getBoundInputs(int index)
Bound inputs to the function. |
int |
getBoundInputsCount()
Bound inputs to the function. |
List<Integer> |
getBoundInputsList()
Bound inputs to the function. |
StructuredValue |
getCanonicalizedInputSignature()
Input in canonicalized form that was received to create this concrete function. |
StructuredValueOrBuilder |
getCanonicalizedInputSignatureOrBuilder()
Input in canonicalized form that was received to create this concrete function. |
static SavedConcreteFunction | |
SavedConcreteFunction | |
final static com.google.protobuf.Descriptors.Descriptor | |
StructuredValue |
getOutputSignature()
Output that was the return value of this function after replacing all Tensors with TensorSpecs. |
StructuredValueOrBuilder |
getOutputSignatureOrBuilder()
Output that was the return value of this function after replacing all Tensors with TensorSpecs. |
|
|
int | |
final com.google.protobuf.UnknownFieldSet | |
boolean |
hasCanonicalizedInputSignature()
Input in canonicalized form that was received to create this concrete function. |
boolean |
hasOutputSignature()
Output that was the return value of this function after replacing all Tensors with TensorSpecs. |
int |
hashCode()
|
final boolean | |
static SavedConcreteFunction.Builder |
newBuilder(SavedConcreteFunction prototype)
|
static SavedConcreteFunction.Builder | |
SavedConcreteFunction.Builder | |
static SavedConcreteFunction |
parseDelimitedFrom(InputStream input)
|
static SavedConcreteFunction |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedConcreteFunction |
parseFrom(ByteBuffer data)
|
static SavedConcreteFunction |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedConcreteFunction |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedConcreteFunction |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static SavedConcreteFunction |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedConcreteFunction |
parseFrom(com.google.protobuf.ByteString data)
|
static SavedConcreteFunction |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedConcreteFunction |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
SavedConcreteFunction.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int BOUND_INPUTS_FIELD_NUMBER
Constant Value:
2
public static final int CANONICALIZED_INPUT_SIGNATURE_FIELD_NUMBER
Constant Value:
3
public static final int OUTPUT_SIGNATURE_FIELD_NUMBER
Constant Value:
4
Public Methods
public boolean equals (Object obj)
public int getBoundInputs (int index)
Bound inputs to the function. The SavedObjects identified by the node ids given here are appended as extra inputs to the caller-supplied inputs. The only types of SavedObjects valid here are SavedVariable, SavedResource and SavedAsset.
repeated int32 bound_inputs = 2;
public int getBoundInputsCount ()
Bound inputs to the function. The SavedObjects identified by the node ids given here are appended as extra inputs to the caller-supplied inputs. The only types of SavedObjects valid here are SavedVariable, SavedResource and SavedAsset.
repeated int32 bound_inputs = 2;
public List<Integer> getBoundInputsList ()
Bound inputs to the function. The SavedObjects identified by the node ids given here are appended as extra inputs to the caller-supplied inputs. The only types of SavedObjects valid here are SavedVariable, SavedResource and SavedAsset.
repeated int32 bound_inputs = 2;
public StructuredValue getCanonicalizedInputSignature ()
Input in canonicalized form that was received to create this concrete function.
.tensorflow.StructuredValue canonicalized_input_signature = 3;
public StructuredValueOrBuilder getCanonicalizedInputSignatureOrBuilder ()
Input in canonicalized form that was received to create this concrete function.
.tensorflow.StructuredValue canonicalized_input_signature = 3;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public StructuredValue getOutputSignature ()
Output that was the return value of this function after replacing all Tensors with TensorSpecs. This can be an arbitrary nested function and will be used to reconstruct the full structure from pure tensors.
.tensorflow.StructuredValue output_signature = 4;
public StructuredValueOrBuilder getOutputSignatureOrBuilder ()
Output that was the return value of this function after replacing all Tensors with TensorSpecs. This can be an arbitrary nested function and will be used to reconstruct the full structure from pure tensors.
.tensorflow.StructuredValue output_signature = 4;
public
getParserForType
()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public boolean hasCanonicalizedInputSignature ()
Input in canonicalized form that was received to create this concrete function.
.tensorflow.StructuredValue canonicalized_input_signature = 3;
public boolean hasOutputSignature ()
Output that was the return value of this function after replacing all Tensors with TensorSpecs. This can be an arbitrary nested function and will be used to reconstruct the full structure from pure tensors.
.tensorflow.StructuredValue output_signature = 4;
public int hashCode ()
public final boolean isInitialized ()
public static SavedConcreteFunction parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SavedConcreteFunction parseFrom (ByteBuffer data)
Throws
InvalidProtocolBufferException |
---|
public static SavedConcreteFunction parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SavedConcreteFunction parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static SavedConcreteFunction parseFrom (com.google.protobuf.CodedInputStream input)
Throws
IOException |
---|
public static SavedConcreteFunction parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static SavedConcreteFunction parseFrom (com.google.protobuf.ByteString data)
Throws
InvalidProtocolBufferException |
---|
public static SavedConcreteFunction parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SavedConcreteFunction parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public
static
parser
()
public void writeTo (com.google.protobuf.CodedOutputStream output)
Throws
IOException |
---|