classe finale pubblica AttrValue
Protocol buffer representing the value for an attr used to configure an Op. Comment indicates the corresponding attr type. Only the field matching the attr type may be filled.
tensorflow.AttrValue
Classi nidificate
classe | AttrValue.Builder | Protocol buffer representing the value for an attr used to configure an Op. | |
classe | AttrValue.ListValue | LINT.IfChange tensorflow.AttrValue.ListValue | |
interfaccia | AttrValue.ListValueOrBuilder | ||
enum | AttrValue.ValueCase |
Costanti
int | B_CAMPO_NUMERO | |
int | FUNC_FIELD_NUMBER | |
int | F_CAMPO_NUMERO | |
int | I_CAMPO_NUMERO | |
int | LIST_FIELD_NUMBER | |
int | PLACEHOLDER_FIELD_NUMBER | |
int | FORMA_CAMPO_NUMERO | |
int | S_CAMPO_NUMERO | |
int | TENSOR_FIELD_NUMBER | |
int | TIPO_CAMPO_NUMERO |
Metodi pubblici
booleano | è uguale a (Oggetto oggetto) |
booleano | getB () "bool" bool b = 5; |
AttrValue statico | |
AttrValue | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
galleggiante | getF () "float" float f = 4; |
NomeAttrList | getFunzione () "func" represents a function. |
NomeAttrListOrBuilder | getFuncOrBuilder () "func" represents a function. |
lungo | prendiI () "int" int64 i = 3; |
AttrValue.ListValue | getLista () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
AttrValue.ListValueOrBuilder | getListOrBuilder () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
Corda | getPlaceholder () This is a placeholder only used in nodes defined inside a function. |
com.google.protobuf.ByteString | getPlaceholderBytes () This is a placeholder only used in nodes defined inside a function. |
com.google.protobuf.ByteString | ottiene () "string" bytes s = 2; |
int | |
TensorShapeProto | ottieni forma () "shape" .tensorflow.TensorShapeProto shape = 7; |
TensorShapeProtoOrBuilder | getShapeOrBuilder () "shape" .tensorflow.TensorShapeProto shape = 7; |
TensoreProto | getTensore () "tensor" .tensorflow.TensorProto tensor = 8; |
TensorProtoOrBuilder | getTensorOrBuilder () "tensor" .tensorflow.TensorProto tensor = 8; |
Tipo di dati | getType () "type" .tensorflow.DataType type = 6; |
int | getTypeValue () "type" .tensorflow.DataType type = 6; |
finale com.google.protobuf.UnknownFieldSet | |
AttrValue.ValueCase | getValueCase () |
booleano | haFunzione () "func" represents a function. |
booleano | listaha () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
booleano | haForma () "shape" .tensorflow.TensorShapeProto shape = 7; |
booleano | haTensore () "tensor" .tensorflow.TensorProto tensor = 8; |
int | codicehash () |
booleano finale | |
AttrValue.Builder statico | newBuilder (prototipo AttrValue ) |
AttrValue.Builder statico | |
AttrValue.Builder | |
AttrValue statico | parseDelimitedFrom (input InputStream) |
AttrValue statico | parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AttrValue statico | parseFrom (dati ByteBuffer) |
AttrValue statico | parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
AttrValue statico | parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AttrValue statico | parseFrom (ingresso com.google.protobuf.CodedInputStream) |
AttrValue statico | parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AttrValue statico | parseFrom (dati com.google.protobuf.ByteString) |
AttrValue statico | parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AttrValue statico | parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
statico | analizzatore () |
AttrValue.Builder | toBuilder () |
vuoto | writeTo (output com.google.protobuf.CodedOutputStream) |
Metodi ereditati
Costanti
public static final int B_FIELD_NUMBER
Valore costante: 5
public static final int FUNC_FIELD_NUMBER
Valore costante: 10
public static final int F_FIELD_NUMBER
Valore costante: 4
public static final int I_FIELD_NUMBER
Valore costante: 3
public static final int LIST_FIELD_NUMBER
Valore costante: 1
finale statico pubblico int PLACEHOLDER_FIELD_NUMBER
Valore costante: 9
public static final int SHAPE_FIELD_NUMBER
Valore costante: 7
public static final int S_FIELD_NUMBER
Valore costante: 2
public static final int TENSOR_FIELD_NUMBER
Valore costante: 8
public static final int TYPE_FIELD_NUMBER
Valore costante: 6
Metodi pubblici
booleano pubblico è uguale a (Oggetto obj)
booleano pubblico getB ()
"bool"
bool b = 5;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
pubblico float getF ()
"float"
float f = 4;
pubblico NameAttrList getFunc ()
"func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.
.tensorflow.NameAttrList func = 10;
nome pubblicoAttrListOrBuilder getFuncOrBuilder ()
"func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.
.tensorflow.NameAttrList func = 10;
pubblico lungo getI ()
"int"
int64 i = 3;
public AttrValue.ListValueOrBuilder getListOrBuilder ()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
pubblico getParserForType ()
public String getPlaceholder ()
This is a placeholder only used in nodes defined inside a function. It indicates the attr value will be supplied when the function is instantiated. For example, let us suppose a node "N" in function "FN". "N" has an attr "A" with value placeholder = "foo". When FN is instantiated with attr "foo" set to "bar", the instantiated node N's attr A will have been given the value "bar".
string placeholder = 9;
pubblico com.google.protobuf.ByteString getPlaceholderBytes ()
This is a placeholder only used in nodes defined inside a function. It indicates the attr value will be supplied when the function is instantiated. For example, let us suppose a node "N" in function "FN". "N" has an attr "A" with value placeholder = "foo". When FN is instantiated with attr "foo" set to "bar", the instantiated node N's attr A will have been given the value "bar".
string placeholder = 9;
pubblico com.google.protobuf.ByteString getS ()
"string"
bytes s = 2;
public int getSerializedSize ()
public TensorShapeProtoOrBuilder getShapeOrBuilder ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
public int getTypeValue ()
"type"
.tensorflow.DataType type = 6;
pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()
hasFunc booleano pubblico ()
"func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.
.tensorflow.NameAttrList func = 10;
hasList booleano pubblico ()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
hasShape booleano pubblico ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
hasTensor booleano pubblico ()
"tensor"
.tensorflow.TensorProto tensor = 8;
public int hashCode ()
public final booleano isInitialized ()
pubblico statico AttrValue parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
parseFrom AttrValue statico pubblico (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
Lancia
IOException |
---|
parseFrom AttrValue statico pubblico (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
parseFrom AttrValue statico pubblico (input com.google.protobuf.CodedInputStream)
Lancia
IOException |
---|
pubblico statico AttrValue parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
parseFrom AttrValue statico pubblico (dati com.google.protobuf.ByteString)
Lancia
InvalidProtocolBufferException |
---|
parseFrom AttrValue statico pubblico (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
parseFrom AttrValue statico pubblico (dati com.google.protobuf.ByteString, estensione Com.google.protobuf.ExtensionRegistryLiteRegistry)
Lancia
InvalidProtocolBufferException |
---|
pubblico statico analizzatore ()
public void writeTo (output com.google.protobuf.CodedOutputStream)
Lancia
IOException |
---|