FunctionSpec.Builder

public static final class FunctionSpec.Builder

 Represents `FunctionSpec` used in `Function`. This represents a
 function that has been wrapped as a TensorFlow `Function`.
 
Protobuf type tensorflow.FunctionSpec

Public Methods

FunctionSpec.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FunctionSpec
build()
FunctionSpec
FunctionSpec.Builder
clear()
FunctionSpec.Builder
clearExperimentalCompile()
.tensorflow.FunctionSpec.ExperimentalCompile experimental_compile = 6;
FunctionSpec.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
FunctionSpec.Builder
clearFullargspec()
 Full arg spec from inspect.getfullargspec().
FunctionSpec.Builder
clearInputSignature()
 The input signature, if specified.
FunctionSpec.Builder
clearIsMethod()
 Whether this represents a class method.
FunctionSpec.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
FunctionSpec.Builder
clone()
FunctionSpec
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
FunctionSpec.ExperimentalCompile
getExperimentalCompile()
.tensorflow.FunctionSpec.ExperimentalCompile experimental_compile = 6;
int
getExperimentalCompileValue()
.tensorflow.FunctionSpec.ExperimentalCompile experimental_compile = 6;
StructuredValue
getFullargspec()
 Full arg spec from inspect.getfullargspec().
StructuredValue.Builder
getFullargspecBuilder()
 Full arg spec from inspect.getfullargspec().
StructuredValueOrBuilder
getFullargspecOrBuilder()
 Full arg spec from inspect.getfullargspec().
StructuredValue
getInputSignature()
 The input signature, if specified.
StructuredValue.Builder
getInputSignatureBuilder()
 The input signature, if specified.
StructuredValueOrBuilder
getInputSignatureOrBuilder()
 The input signature, if specified.
boolean
getIsMethod()
 Whether this represents a class method.
boolean
hasFullargspec()
 Full arg spec from inspect.getfullargspec().
boolean
hasInputSignature()
 The input signature, if specified.
final boolean
FunctionSpec.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
FunctionSpec.Builder
mergeFrom(com.google.protobuf.Message other)
FunctionSpec.Builder
mergeFullargspec(StructuredValue value)
 Full arg spec from inspect.getfullargspec().
FunctionSpec.Builder
mergeInputSignature(StructuredValue value)
 The input signature, if specified.
final FunctionSpec.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
FunctionSpec.Builder
setExperimentalCompile(FunctionSpec.ExperimentalCompile value)
.tensorflow.FunctionSpec.ExperimentalCompile experimental_compile = 6;
FunctionSpec.Builder
setExperimentalCompileValue(int value)
.tensorflow.FunctionSpec.ExperimentalCompile experimental_compile = 6;
FunctionSpec.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FunctionSpec.Builder
setFullargspec(StructuredValue.Builder builderForValue)
 Full arg spec from inspect.getfullargspec().
FunctionSpec.Builder
setFullargspec(StructuredValue value)
 Full arg spec from inspect.getfullargspec().
FunctionSpec.Builder
setInputSignature(StructuredValue.Builder builderForValue)
 The input signature, if specified.
FunctionSpec.Builder
setInputSignature(StructuredValue value)
 The input signature, if specified.
FunctionSpec.Builder
setIsMethod(boolean value)
 Whether this represents a class method.
FunctionSpec.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final FunctionSpec.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public FunctionSpec.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public FunctionSpec build ()

public FunctionSpec buildPartial ()

public FunctionSpec.Builder clear ()

public FunctionSpec.Builder clearExperimentalCompile ()

.tensorflow.FunctionSpec.ExperimentalCompile experimental_compile = 6;

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

public FunctionSpec.Builder clearFullargspec ()

 Full arg spec from inspect.getfullargspec().
 
.tensorflow.StructuredValue fullargspec = 1;

public FunctionSpec.Builder clearInputSignature ()

 The input signature, if specified.
 
.tensorflow.StructuredValue input_signature = 5;

public FunctionSpec.Builder clearIsMethod ()

 Whether this represents a class method.
 
bool is_method = 2;

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

public FunctionSpec.Builder clone ()

public FunctionSpec getDefaultInstanceForType ()

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

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

public FunctionSpec.ExperimentalCompile getExperimentalCompile ()

.tensorflow.FunctionSpec.ExperimentalCompile experimental_compile = 6;

public int getExperimentalCompileValue ()

.tensorflow.FunctionSpec.ExperimentalCompile experimental_compile = 6;

public StructuredValue getFullargspec ()

 Full arg spec from inspect.getfullargspec().
 
.tensorflow.StructuredValue fullargspec = 1;

public StructuredValue.Builder getFullargspecBuilder ()

 Full arg spec from inspect.getfullargspec().
 
.tensorflow.StructuredValue fullargspec = 1;

public StructuredValueOrBuilder getFullargspecOrBuilder ()

 Full arg spec from inspect.getfullargspec().
 
.tensorflow.StructuredValue fullargspec = 1;

public StructuredValue getInputSignature ()

 The input signature, if specified.
 
.tensorflow.StructuredValue input_signature = 5;

public StructuredValue.Builder getInputSignatureBuilder ()

 The input signature, if specified.
 
.tensorflow.StructuredValue input_signature = 5;

public StructuredValueOrBuilder getInputSignatureOrBuilder ()

 The input signature, if specified.
 
.tensorflow.StructuredValue input_signature = 5;

public boolean getIsMethod ()

 Whether this represents a class method.
 
bool is_method = 2;

public boolean hasFullargspec ()

 Full arg spec from inspect.getfullargspec().
 
.tensorflow.StructuredValue fullargspec = 1;

public boolean hasInputSignature ()

 The input signature, if specified.
 
.tensorflow.StructuredValue input_signature = 5;

public final boolean isInitialized ()

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

Throws
IOException

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

public FunctionSpec.Builder mergeFullargspec (StructuredValue value)

 Full arg spec from inspect.getfullargspec().
 
.tensorflow.StructuredValue fullargspec = 1;

public FunctionSpec.Builder mergeInputSignature (StructuredValue value)

 The input signature, if specified.
 
.tensorflow.StructuredValue input_signature = 5;

public final FunctionSpec.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public FunctionSpec.Builder setExperimentalCompile (FunctionSpec.ExperimentalCompile value)

.tensorflow.FunctionSpec.ExperimentalCompile experimental_compile = 6;

public FunctionSpec.Builder setExperimentalCompileValue (int value)

.tensorflow.FunctionSpec.ExperimentalCompile experimental_compile = 6;

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

public FunctionSpec.Builder setFullargspec (StructuredValue.Builder builderForValue)

 Full arg spec from inspect.getfullargspec().
 
.tensorflow.StructuredValue fullargspec = 1;

public FunctionSpec.Builder setFullargspec (StructuredValue value)

 Full arg spec from inspect.getfullargspec().
 
.tensorflow.StructuredValue fullargspec = 1;

public FunctionSpec.Builder setInputSignature (StructuredValue.Builder builderForValue)

 The input signature, if specified.
 
.tensorflow.StructuredValue input_signature = 5;

public FunctionSpec.Builder setInputSignature (StructuredValue value)

 The input signature, if specified.
 
.tensorflow.StructuredValue input_signature = 5;

public FunctionSpec.Builder setIsMethod (boolean value)

 Whether this represents a class method.
 
bool is_method = 2;

public FunctionSpec.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

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