מחלקה סופית ציבורית FunctionSpec
Represents `FunctionSpec` used in `Function`. This represents a function that has been wrapped as a TensorFlow `Function`.
tensorflow.FunctionSpec מסוג Protobuf. FunctionSpec כיתות מקוננות
| מַחלָקָה | FunctionSpec.Builder | Represents `FunctionSpec` used in `Function`. | |
| enum | FunctionSpec.ExperimentalCompile | Whether the function should be compiled by XLA. | |
קבועים
| int | EXPERIMENTAL_COMPILE_FIELD_NUMBER | |
| int | FULLARGSPEC_FIELD_NUMBER | |
| int | INPUT_SIGNATURE_FIELD_NUMBER | |
| int | IS_METHOD_FIELD_NUMBER |
שיטות ציבוריות
| בוליאני | שווה (Object obj) |
| סטטי 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. |
| בוליאני | getIsMethod () Whether this represents a class method. |
| int | |
| final com.google.protobuf.UnknownFieldSet | |
| בוליאני | hasFullargspec () Full arg spec from inspect.getfullargspec(). |
| בוליאני | hasInputSignature () The input signature, if specified. |
| int | hashcode () |
| בוליאנית סופית | |
| סטטי FunctionSpec.Builder | newBuilder (אב-טיפוס FunctionSpec ) |
| סטטי FunctionSpec.Builder | newBuilder () |
| FunctionSpec.Builder | |
| סטטי FunctionSpec | parseDelimitedFrom (קלט InputStream) |
| סטטי FunctionSpec | parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי FunctionSpec | parseFrom (נתוני ByteBuffer) |
| סטטי FunctionSpec | parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי FunctionSpec | parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי FunctionSpec | parseFrom (קלט com.google.protobuf.CodedInputStream) |
| סטטי FunctionSpec | parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי FunctionSpec | parseFrom (נתוני com.google.protobuf.ByteString) |
| סטטי FunctionSpec | parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי FunctionSpec | parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטָטִי | מנתח () |
| FunctionSpec.Builder | toBuilder () |
| בָּטֵל | writeTo (פלט com.google.protobuf.CodedOutputStream) |
שיטות בירושה
קבועים
אינט סופי סטטי ציבורי EXPERIMENTAL_COMPILE_FIELD_NUMBER
ערך קבוע: 6
גמר סטטי ציבורי FULLARGSPEC_FIELD_NUMBER
ערך קבוע: 1
אינט סופי סטטי ציבורי INPUT_SIGNATURE_FIELD_NUMBER
ערך קבוע: 5
גמר סטטי ציבורי IS_METHOD_FIELD_NUMBER
ערך קבוע: 2
שיטות ציבוריות
שווה ערך בוליאני ציבורי (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; getIsMethod בוליאני ציבורי ()
Whether this represents a class method.
bool is_method = 2; פּוּמְבֵּי getParserForType ()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
בוליאני ציבורי ישFullargspec ()
Full arg spec from inspect.getfullargspec().
.tensorflow.StructuredValue fullargspec = 1; hasInputSignature בוליאני ציבורי ()
The input signature, if specified.
.tensorflow.StructuredValue input_signature = 5; public int hashCode ()
בוליאני הסופי הציבורי הוא אתחול ()
public static FunctionSpec parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
public static FunctionSpec parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
public static FunctionSpec parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| InvalidProtocolBufferException |
|---|
public static FunctionSpec parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| InvalidProtocolBufferException |
|---|
Public static FunctionSpec parseFrom (נתוני com.google.protobuf.ByteString)
זורק
| InvalidProtocolBufferException |
|---|
public static FunctionSpec parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
public static FunctionSpec parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| InvalidProtocolBufferException |
|---|
סטטי ציבורי מנתח ()
public void writeTo (פלט com.google.protobuf.CodedOutputStream)
זורק
| IOException |
|---|