public final class
FunctionSpec
Represents `FunctionSpec` used in `Function`. This represents a function that has been wrapped as a TensorFlow `Function`.
tensorflow.FunctionSpec
Nested Classes
class | FunctionSpec.Builder | Represents `FunctionSpec` used in `Function`. |
|
enum | FunctionSpec.ExperimentalCompile | Whether the function should be compiled by XLA. |
Constants
int | EXPERIMENTAL_COMPILE_FIELD_NUMBER | |
int | FULLARGSPEC_FIELD_NUMBER | |
int | INPUT_SIGNATURE_FIELD_NUMBER | |
int | IS_METHOD_FIELD_NUMBER |
Public Methods
boolean |
equals(Object obj)
|
static FunctionSpec | |
FunctionSpec | |
final static 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(). |
StructuredValueOrBuilder |
getFullargspecOrBuilder()
Full arg spec from inspect.getfullargspec(). |
StructuredValue |
getInputSignature()
The input signature, if specified. |
StructuredValueOrBuilder |
getInputSignatureOrBuilder()
The input signature, if specified. |
boolean |
getIsMethod()
Whether this represents a class method. |
|
|
int | |
final com.google.protobuf.UnknownFieldSet | |
boolean |
hasFullargspec()
Full arg spec from inspect.getfullargspec(). |
boolean |
hasInputSignature()
The input signature, if specified. |
int |
hashCode()
|
final boolean | |
static FunctionSpec.Builder |
newBuilder(FunctionSpec prototype)
|
static FunctionSpec.Builder | |
FunctionSpec.Builder | |
static FunctionSpec |
parseDelimitedFrom(InputStream input)
|
static FunctionSpec |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static FunctionSpec |
parseFrom(ByteBuffer data)
|
static FunctionSpec |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static FunctionSpec |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static FunctionSpec |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static FunctionSpec |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static FunctionSpec |
parseFrom(com.google.protobuf.ByteString data)
|
static FunctionSpec |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static FunctionSpec |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
FunctionSpec.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int EXPERIMENTAL_COMPILE_FIELD_NUMBER
Constant Value:
6
public static final int FULLARGSPEC_FIELD_NUMBER
Constant Value:
1
public static final int INPUT_SIGNATURE_FIELD_NUMBER
Constant Value:
5
public static final int IS_METHOD_FIELD_NUMBER
Constant Value:
2
Public Methods
public boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
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 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 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
getParserForType
()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
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 int hashCode ()
public final boolean isInitialized ()
public static FunctionSpec parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static FunctionSpec parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static FunctionSpec parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static FunctionSpec parseFrom (com.google.protobuf.CodedInputStream input)
Throws
IOException |
---|
public static FunctionSpec parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static FunctionSpec parseFrom (com.google.protobuf.ByteString data)
Throws
InvalidProtocolBufferException |
---|
public static FunctionSpec parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static FunctionSpec 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 |
---|