SavedConcreteFunction.Builder

public static final class SavedConcreteFunction.Builder

 Stores low-level information about a concrete function. Referenced in either
 a SavedFunction or a SavedBareConcreteFunction.
 
Protobuf type tensorflow.SavedConcreteFunction

Public Methods

SavedConcreteFunction.Builder
addAllBoundInputs(Iterable<? extends Integer> values)
 Bound inputs to the function.
SavedConcreteFunction.Builder
addBoundInputs(int value)
 Bound inputs to the function.
SavedConcreteFunction.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SavedConcreteFunction
build()
SavedConcreteFunction
SavedConcreteFunction.Builder
clear()
SavedConcreteFunction.Builder
clearBoundInputs()
 Bound inputs to the function.
SavedConcreteFunction.Builder
clearCanonicalizedInputSignature()
 Input in canonicalized form that was received to create this concrete
 function.
SavedConcreteFunction.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
SavedConcreteFunction.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
SavedConcreteFunction.Builder
clearOutputSignature()
 Output that was the return value of this function after replacing all
 Tensors with TensorSpecs.
SavedConcreteFunction.Builder
clone()
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.
StructuredValue.Builder
getCanonicalizedInputSignatureBuilder()
 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.
SavedConcreteFunction
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
StructuredValue
getOutputSignature()
 Output that was the return value of this function after replacing all
 Tensors with TensorSpecs.
StructuredValue.Builder
getOutputSignatureBuilder()
 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.
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.
final boolean
SavedConcreteFunction.Builder
mergeCanonicalizedInputSignature(StructuredValue value)
 Input in canonicalized form that was received to create this concrete
 function.
SavedConcreteFunction.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SavedConcreteFunction.Builder
mergeFrom(com.google.protobuf.Message other)
SavedConcreteFunction.Builder
mergeOutputSignature(StructuredValue value)
 Output that was the return value of this function after replacing all
 Tensors with TensorSpecs.
final SavedConcreteFunction.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SavedConcreteFunction.Builder
setBoundInputs(int index, int value)
 Bound inputs to the function.
SavedConcreteFunction.Builder
setCanonicalizedInputSignature(StructuredValue.Builder builderForValue)
 Input in canonicalized form that was received to create this concrete
 function.
SavedConcreteFunction.Builder
setCanonicalizedInputSignature(StructuredValue value)
 Input in canonicalized form that was received to create this concrete
 function.
SavedConcreteFunction.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SavedConcreteFunction.Builder
setOutputSignature(StructuredValue value)
 Output that was the return value of this function after replacing all
 Tensors with TensorSpecs.
SavedConcreteFunction.Builder
setOutputSignature(StructuredValue.Builder builderForValue)
 Output that was the return value of this function after replacing all
 Tensors with TensorSpecs.
SavedConcreteFunction.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final SavedConcreteFunction.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public SavedConcreteFunction.Builder addAllBoundInputs (Iterable<? extends Integer> values)

 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 SavedConcreteFunction.Builder addBoundInputs (int value)

 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 SavedConcreteFunction.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public SavedConcreteFunction build ()

public SavedConcreteFunction buildPartial ()

public SavedConcreteFunction.Builder clearBoundInputs ()

 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 SavedConcreteFunction.Builder clearCanonicalizedInputSignature ()

 Input in canonicalized form that was received to create this concrete
 function.
 
.tensorflow.StructuredValue canonicalized_input_signature = 3;

public SavedConcreteFunction.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public SavedConcreteFunction.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public SavedConcreteFunction.Builder clearOutputSignature ()

 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 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 StructuredValue.Builder getCanonicalizedInputSignatureBuilder ()

 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 SavedConcreteFunction getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

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 StructuredValue.Builder getOutputSignatureBuilder ()

 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 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 final boolean isInitialized ()

public SavedConcreteFunction.Builder mergeCanonicalizedInputSignature (StructuredValue value)

 Input in canonicalized form that was received to create this concrete
 function.
 
.tensorflow.StructuredValue canonicalized_input_signature = 3;

public SavedConcreteFunction.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public SavedConcreteFunction.Builder mergeFrom (com.google.protobuf.Message other)

public SavedConcreteFunction.Builder mergeOutputSignature (StructuredValue value)

 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 final SavedConcreteFunction.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public SavedConcreteFunction.Builder setBoundInputs (int index, int value)

 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 SavedConcreteFunction.Builder setCanonicalizedInputSignature (StructuredValue.Builder builderForValue)

 Input in canonicalized form that was received to create this concrete
 function.
 
.tensorflow.StructuredValue canonicalized_input_signature = 3;

public SavedConcreteFunction.Builder setCanonicalizedInputSignature (StructuredValue value)

 Input in canonicalized form that was received to create this concrete
 function.
 
.tensorflow.StructuredValue canonicalized_input_signature = 3;

public SavedConcreteFunction.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public SavedConcreteFunction.Builder setOutputSignature (StructuredValue value)

 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 SavedConcreteFunction.Builder setOutputSignature (StructuredValue.Builder builderForValue)

 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 SavedConcreteFunction.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public final SavedConcreteFunction.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)