kelas akhir publik TypeSpecProto
Represents a tf.TypeSpec
tensorflow.TypeSpecProto Kelas Bersarang
| kelas | TypeSpecProto.Builder | Represents a tf.TypeSpec tensorflow.TypeSpecProto | |
| enum | TypeSpecProto.TypeSpecClass | Protobuf termasuk tensorflow.TypeSpecProto.TypeSpecClass | |
Konstanta
| ke dalam | TYPE_SPEC_CLASS_FIELD_NUMBER | |
| ke dalam | TYPE_SPEC_CLASS_NAME_FIELD_NUMBER | |
| ke dalam | TYPE_STATE_FIELD_NUMBER |
Metode Publik
| boolean | sama dengan (Objek objek) |
| TypeSpecProto statis | |
| TypeSpecProto | |
| com.google.protobuf.Descriptors.Descriptor statis terakhir | |
| ke dalam | |
| TypeSpecProto.TypeSpecClass | getTypeSpecClass () .tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1; |
| Rangkaian | getTypeSpecClassName () This is currently redundant with the type_spec_class enum, and is only used for error reporting. |
| com.google.protobuf.ByteString | getTypeSpecClassNameBytes () This is currently redundant with the type_spec_class enum, and is only used for error reporting. |
| ke dalam | getTypeSpecClassValue () .tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1; |
| Nilai Terstruktur | dapatkanTypeState () The value returned by TypeSpec._serialize(). |
| StructuredValueOrBuilder | getTypeStateOrBuilder () The value returned by TypeSpec._serialize(). |
| final com.google.protobuf.UnknownFieldSet | |
| boolean | hasTypeState () The value returned by TypeSpec._serialize(). |
| ke dalam | Kode hash () |
| boolean terakhir | |
| TypeSpecProto.Builder statis | newBuilder (prototipe TypeSpecProto ) |
| TypeSpecProto.Builder statis | |
| TypeSpecProto.Builder | |
| TypeSpecProto statis | parseDelimitedFrom (masukan Aliran Masukan) |
| TypeSpecProto statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| TypeSpecProto statis | parseFrom (data ByteBuffer) |
| TypeSpecProto statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| TypeSpecProto statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| TypeSpecProto statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
| TypeSpecProto statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| TypeSpecProto statis | parseFrom (com.google.protobuf.ByteString data) |
| TypeSpecProto statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| TypeSpecProto statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statis | pengurai () |
| TypeSpecProto.Builder | |
| ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int akhir statis publik TYPE_SPEC_CLASS_FIELD_NUMBER
Nilai Konstan: 1
int final statis publik TYPE_SPEC_CLASS_NAME_FIELD_NUMBER
Nilai Konstan: 3
int akhir statis publik TYPE_STATE_FIELD_NUMBER
Nilai Konstan: 2
Metode Publik
boolean publik sama (Obj objek)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
publik dapatkanParserForType ()
publik int getSerializedSize ()
publik TypeSpecProto.TypeSpecClass getTypeSpecClass ()
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
String publik getTypeSpecClassName ()
This is currently redundant with the type_spec_class enum, and is only used for error reporting. In particular, if you use an older binary to load a newer model, and the model uses a TypeSpecClass that the older binary doesn't support, then this lets us display a useful error message.
string type_spec_class_name = 3; publik com.google.protobuf.ByteString getTypeSpecClassNameBytes ()
This is currently redundant with the type_spec_class enum, and is only used for error reporting. In particular, if you use an older binary to load a newer model, and the model uses a TypeSpecClass that the older binary doesn't support, then this lets us display a useful error message.
string type_spec_class_name = 3; publik int getTypeSpecClassValue ()
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
Nilai Terstruktur publik getTypeState ()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2; publik StructuredValueOrBuilder getTypeStateOrBuilder ()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2; public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
boolean publik hasTypeState ()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2; kode hash int publik ()
boolean akhir publik diinisialisasi ()
public static TypeSpecProto parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
parseFrom TypeSpecProto statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
parseFrom TypeSpecProto statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| InvalidProtocolBufferException |
|---|
parseFrom TypeSpecProto statis publik (com.google.protobuf.CodedInputStream input)
Melempar
| Pengecualian IO |
|---|
parseFrom TypeSpecProto statis publik (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| InvalidProtocolBufferException |
|---|
parseFrom TypeSpecProto statis publik (com.google.protobuf.ByteString data)
Melempar
| InvalidProtocolBufferException |
|---|
public static TypeSpecProto parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
parseFrom TypeSpecProto statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| InvalidProtocolBufferException |
|---|
statis publik pengurai ()
public void writeTo (keluaran com.google.protobuf.CodedOutputStream)
Melempar
| Pengecualian IO |
|---|