kelas akhir statis publik OpDef.AttrDef
Description of the graph-construction-time configuration of this Op. That is to say, this describes the attr fields that will be specified in the NodeDef.Tipe protobuf
tensorflow.OpDef.AttrDef
Kelas Bersarang
kelas | OpDef.AttrDef.Builder | Description of the graph-construction-time configuration of this Op. |
Konstanta
ke dalam | ALLOWED_VALUES_FIELD_NUMBER | |
ke dalam | DEFAULT_VALUE_FIELD_NUMBER | |
ke dalam | DESCRIPTION_FIELD_NUMBER | |
ke dalam | HAS_MINIMUM_FIELD_NUMBER | |
ke dalam | MINIMUM_FIELD_NUMBER | |
ke dalam | NAME_FIELD_NUMBER | |
ke dalam | TYPE_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
Nilai Attr | dapatkan Nilai yang Diizinkan () The set of allowed values. |
AttrValueOrBuilder | dapatkanAllowedValuesOrBuilder () The set of allowed values. |
OpDef.AttrDef statis | |
OpDef.AttrDef | |
Nilai Attr | dapatkan Nilai Default () A reasonable default for this attribute if the user does not supply a value. |
AttrValueOrBuilder | dapatkanDefaultValueOrBuilder () A reasonable default for this attribute if the user does not supply a value. |
Rangkaian | dapatkanDeskripsi () Human-readable description. |
com.google.protobuf.ByteString | dapatkanDeskripsiBytes () Human-readable description. |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
boolean | dapatkan HasMinimum () For type == "int", this is a minimum value. |
panjang | dapatkan Minimum () int64 minimum = 6; |
Rangkaian | dapatkan Nama () A descriptive name for the argument. |
com.google.protobuf.ByteString | dapatkanNamaBytes () A descriptive name for the argument. |
ke dalam | |
Rangkaian | dapatkan Tipe () One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
com.google.protobuf.ByteString | dapatkanTypeBytes () One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
final com.google.protobuf.UnknownFieldSet | |
boolean | hasAllowedValues () The set of allowed values. |
boolean | memilikiDefaultValue () A reasonable default for this attribute if the user does not supply a value. |
ke dalam | Kode hash () |
boolean terakhir | |
OpDef.AttrDef.Builder statis | newBuilder (prototipe OpDef.AttrDef ) |
OpDef.AttrDef.Builder statis | |
OpDef.AttrDef.Builder | |
OpDef.AttrDef statis | parseDelimitedFrom (masukan Aliran Masukan) |
OpDef.AttrDef statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.AttrDef statis | parseFrom (data ByteBuffer) |
OpDef.AttrDef statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.AttrDef statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.AttrDef statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
OpDef.AttrDef statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.AttrDef statis | parseFrom (com.google.protobuf.ByteString data) |
OpDef.AttrDef statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.AttrDef statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
OpDef.AttrDef.Builder | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int final statis publik ALLOWED_VALUES_FIELD_NUMBER
Nilai Konstan: 7
int akhir statis publik DEFAULT_VALUE_FIELD_NUMBER
Nilai Konstan: 3
int akhir statis publik DESCRIPTION_FIELD_NUMBER
Nilai Konstan: 4
int akhir statis publik HAS_MINIMUM_FIELD_NUMBER
Nilai Konstan: 5
int final statis publik MINIMUM_FIELD_NUMBER
Nilai Konstan: 6
int akhir statis publik NAME_FIELD_NUMBER
Nilai Konstan: 1
int akhir statis publik TYPE_FIELD_NUMBER
Nilai Konstan: 2
Metode Publik
boolean publik sama (Obj objek)
AttrValue publik getAllowedValues ()
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
AttrValueOrBuilder publik getAllowedValuesOrBuilder ()
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
AttrValue publik getDefaultValue ()
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
AttrValueOrBuilder publik getDefaultValueOrBuilder ()
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
GetDeskripsi String publik ()
Human-readable description.
string description = 4;
publik com.google.protobuf.ByteString getDescriptionBytes ()
Human-readable description.
string description = 4;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
boolean publik getHasMinimum ()
For type == "int", this is a minimum value. For "list(___)" types, this is the minimum length.
bool has_minimum = 5;
dapatkan panjang publikMinimum ()
int64 minimum = 6;
GetName String publik ()
A descriptive name for the argument. May be used, e.g. by the Python client, as a keyword argument name, and so should match the regexp "[a-z][a-z0-9_]+".
string name = 1;
publik com.google.protobuf.ByteString getNameBytes ()
A descriptive name for the argument. May be used, e.g. by the Python client, as a keyword argument name, and so should match the regexp "[a-z][a-z0-9_]+".
string name = 1;
publik dapatkanParserForType ()
publik int getSerializedSize ()
GetType String publik ()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
publik com.google.protobuf.ByteString getTypeBytes ()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
boolean publik hasAllowedValues ()
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
boolean publik hasDefaultValue ()
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
kode hash int publik ()
boolean akhir publik diinisialisasi ()
OpDef.AttrDef statis publik parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom OpDef.AttrDef statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom OpDef.AttrDef statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
parseFrom OpDef.AttrDef statis publik (com.google.protobuf.CodedInputStream input)
Melempar
Pengecualian IO |
---|
parseFrom OpDef.AttrDef statis publik (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
parseFrom OpDef.AttrDef statis publik (com.google.protobuf.ByteString data)
Melempar
InvalidProtocolBufferException |
---|
parseFrom OpDef.AttrDef statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom OpDef.AttrDef 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 |
---|