FunctionSpec kelas akhir publik
Represents `FunctionSpec` used in `Function`. This represents a function that has been wrapped as a TensorFlow `Function`.
tensorflow.FunctionSpec Kelas Bersarang
| kelas | FunctionSpec.Builder | Represents `FunctionSpec` used in `Function`. | |
| enum | FunctionSpec.Kompilasi Eksperimental | Whether the function should be compiled by XLA. | |
Konstanta
| ke dalam | EXPERIMENTAL_COMPILE_FIELD_NUMBER | |
| ke dalam | FULLARGSPEC_FIELD_NUMBER | |
| ke dalam | INPUT_SIGNATURE_FIELD_NUMBER | |
| ke dalam | IS_METHOD_FIELD_NUMBER |
Metode Publik
| boolean | sama dengan (Objek objek) |
| Spesifikasi Fungsi statis | |
| Spesifikasi Fungsi | |
| com.google.protobuf.Descriptors.Descriptor statis terakhir | |
| FunctionSpec.Kompilasi Eksperimental | dapatkan Kompilasi Eksperimental () .tensorflow.FunctionSpec.ExperimentalCompile experimental_compile = 6; |
| ke dalam | dapatkanExperimentalCompileValue () .tensorflow.FunctionSpec.ExperimentalCompile experimental_compile = 6; |
| Nilai Terstruktur | dapatkan spesifikasi penuh () Full arg spec from inspect.getfullargspec(). |
| StructuredValueOrBuilder | dapatkanFullargspecOrBuilder () Full arg spec from inspect.getfullargspec(). |
| Nilai Terstruktur | dapatkanInputSignature () The input signature, if specified. |
| StructuredValueOrBuilder | dapatkanInputSignatureOrBuilder () The input signature, if specified. |
| boolean | dapatkanMetodeIs () Whether this represents a class method. |
| ke dalam | |
| final com.google.protobuf.UnknownFieldSet | |
| boolean | hasFullargspec () Full arg spec from inspect.getfullargspec(). |
| boolean | memilikiInputSignature () The input signature, if specified. |
| ke dalam | Kode hash () |
| boolean terakhir | |
| FunctionSpec.Builder statis | newBuilder (prototipe FunctionSpec ) |
| FunctionSpec.Builder statis | |
| FunctionSpec.Builder | |
| Spesifikasi Fungsi statis | parseDelimitedFrom (masukan Aliran Masukan) |
| Spesifikasi Fungsi statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Spesifikasi Fungsi statis | parseFrom (data ByteBuffer) |
| Spesifikasi Fungsi statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Spesifikasi Fungsi statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Spesifikasi Fungsi statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
| Spesifikasi Fungsi statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Spesifikasi Fungsi statis | parseFrom (com.google.protobuf.ByteString data) |
| Spesifikasi Fungsi statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Spesifikasi Fungsi statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statis | pengurai () |
| FunctionSpec.Builder | |
| ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int akhir statis publik EXPERIMENTAL_COMPILE_FIELD_NUMBER
Nilai Konstan: 6
int final statis publik FULLARGSPEC_FIELD_NUMBER
Nilai Konstan: 1
int akhir statis publik INPUT_SIGNATURE_FIELD_NUMBER
Nilai Konstan: 5
int final statis publik IS_METHOD_FIELD_NUMBER
Nilai Konstan: 2
Metode Publik
boolean publik sama (Obj objek)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
Public FunctionSpec.ExperimentalCompile getExperimentalCompile ()
.tensorflow.FunctionSpec.ExperimentalCompile experimental_compile = 6;
publik int getExperimentalCompileValue ()
.tensorflow.FunctionSpec.ExperimentalCompile experimental_compile = 6;
Nilai Terstruktur publik getFullargspec ()
Full arg spec from inspect.getfullargspec().
.tensorflow.StructuredValue fullargspec = 1; publik StructuredValueOrBuilder getFullargspecOrBuilder ()
Full arg spec from inspect.getfullargspec().
.tensorflow.StructuredValue fullargspec = 1; Nilai Terstruktur publik 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 boolean publik ()
Whether this represents a class method.
bool is_method = 2; publik dapatkanParserForType ()
publik int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
boolean publik hasFullargspec ()
Full arg spec from inspect.getfullargspec().
.tensorflow.StructuredValue fullargspec = 1; boolean publik hasInputSignature ()
The input signature, if specified.
.tensorflow.StructuredValue input_signature = 5; kode hash int publik ()
boolean akhir publik diinisialisasi ()
public static FunctionSpec parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
parseFrom FunctionSpec statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
parseFrom FunctionSpec statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| ProtokolBufferException Tidak Valid |
|---|
parseFrom FunctionSpec statis publik (com.google.protobuf.CodedInputStream input)
Melempar
| Pengecualian IO |
|---|
parseFrom FunctionSpec statis publik (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| ProtokolBufferException Tidak Valid |
|---|
parseFrom FunctionSpec statis publik (com.google.protobuf.ByteString data)
Melempar
| ProtokolBufferException Tidak Valid |
|---|
parseFrom FunctionSpec statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
parseFrom FunctionSpec statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| ProtokolBufferException Tidak Valid |
|---|
statis publik pengurai ()
public void writeTo (com.google.protobuf.CodedOutputStream keluaran)
Melempar
| Pengecualian IO |
|---|