AttrValue

classe finale publique 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 de type Protobuf.AttrValue

Classes imbriquées

classe AttrValue.Builder
 Protocol buffer representing the value for an attr used to configure an Op. 
classe AttrValue.ListValue
 LINT.IfChange
 
tensorflow.AttrValue.ListValue de type Protobuf
interface AttrValue.ListValueOrBuilder
énumération AttrValue.ValueCase

Constantes

int B_FIELD_NUMBER
int FUNC_FIELD_NUMBER
int F_FIELD_NUMBER
int I_FIELD_NUMBER
int LIST_FIELD_NUMBER
int PLACEHOLDER_FIELD_NUMBER
int SHAPE_FIELD_NUMBER
int S_FIELD_NUMBER
int TENSOR_FIELD_NUMBER
int TYPE_FIELD_NUMBER

Méthodes publiques

booléen
est égal à (Obj objet)
booléen
obtenirB ()
 "bool"
 
bool b = 5;
Valeur d'attribut statique
Valeur d'attribut
final statique com.google.protobuf.Descriptors.Descriptor
flotter
obtenirF ()
 "float"
 
float f = 4;
NomAttrListe
getFunc ()
 "func" represents a function.
NomAttrListeOuBuilder
getFuncOrBuilder ()
 "func" represents a function.
long
obtenir je ()
 "int"
 
int64 i = 3;
AttrValue.ListValue
obtenirListe ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.ListValueOrBuilder
getListeOrBuilder ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
Chaîne
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
obtientS ()
 "string"
 
bytes s = 2;
int
TensorShapeProto
obtenirForme ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorShapeProtoOrBuilder
getShapeOrBuilder ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorProto
getTensor ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
TensorProtoOrBuilder
getTensorOrBuilder ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
Type de données
getType ()
 "type"
 
.tensorflow.DataType type = 6;
int
getTypeValue ()
 "type"
 
.tensorflow.DataType type = 6;
final com.google.protobuf.UnknownFieldSet
AttrValue.ValueCase
booléen
hasFunc ()
 "func" represents a function.
booléen
aListe ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
booléen
aForme ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
booléen
hasTensor ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
int
booléen final
AttrValue.Builder statique
newBuilder (prototype AttrValue )
AttrValue.Builder statique
AttrValue.Builder
Valeur d'attribut statique
parseDelimitedFrom (entrée InputStream)
Valeur d'attribut statique
parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Valeur d'attribut statique
parseFrom (données ByteBuffer)
Valeur d'attribut statique
parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Valeur d'attribut statique
parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Valeur d'attribut statique
parseFrom (entrée com.google.protobuf.CodedInputStream)
Valeur d'attribut statique
parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Valeur d'attribut statique
parseFrom (données com.google.protobuf.ByteString)
Valeur d'attribut statique
parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Valeur d'attribut statique
parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique
AttrValue.Builder
vide
writeTo (sortie com.google.protobuf.CodedOutputStream)

Méthodes héritées

Constantes

public statique final int B_FIELD_NUMBER

Valeur constante : 5

public statique final int FUNC_FIELD_NUMBER

Valeur constante : 10

public statique final int F_FIELD_NUMBER

Valeur constante : 4

public statique final entier I_FIELD_NUMBER

Valeur constante : 3

public statique final entier LIST_FIELD_NUMBER

Valeur constante : 1

public statique final int PLACEHOLDER_FIELD_NUMBER

Valeur constante : 9

public statique final entier SHAPE_FIELD_NUMBER

Valeur constante : 7

public statique final int S_FIELD_NUMBER

Valeur constante : 2

public statique final int TENSOR_FIELD_NUMBER

Valeur constante : 8

public statique final int TYPE_FIELD_NUMBER

Valeur constante : 6

Méthodes publiques

public booléen égal (Objet obj)

public booléen getB ()

 "bool"
 
bool b = 5;

public statique AttrValue getDefaultInstance ()

public AttrValue getDefaultInstanceForType ()

public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

flotteur public getF ()

 "float"
 
float f = 4;

public 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;

public NameAttrListOrBuilder 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;

public long getI ()

 "int"
 
int64 i = 3;

public AttrValue.ListValue getList ()

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

public AttrValue.ListValueOrBuilder getListOrBuilder ()

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

publique getParserForType ()

chaîne publique 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;

public 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;

public com.google.protobuf.ByteString getS ()

 "string"
 
bytes s = 2;

public int getSerializedSize ()

public TensorShapeProto getShape ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public TensorShapeProtoOrBuilder getShapeOrBuilder ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public TensorProto getTensor ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public TensorProtoOrBuilder getTensorOrBuilder ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

Type de données public getType ()

 "type"
 
.tensorflow.DataType type = 6;

public int getTypeValue ()

 "type"
 
.tensorflow.DataType type = 6;

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public AttrValue.ValueCase getValueCase ()

public booléen hasFunc ()

 "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 booléen public ()

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

public booléen hasShape ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public booléen hasTensor ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

code de hachage int public ()

public final booléen isInitialized ()

public statique AttrValue.Builder newBuilder (prototype AttrValue )

public statique AttrValue.Builder newBuilder ()

public AttrValue.Builder newBuilderForType ()

public static AttrValue parseDelimitedFrom (entrée InputStream)

Jetés
IOException

public static AttrValue parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static AttrValue parseFrom (données ByteBuffer)

Jetés
InvalidProtocolBufferException

public static AttrValue parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static AttrValue parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique AttrValue parseFrom (entrée com.google.protobuf.CodedInputStream)

Jetés
IOException

public static AttrValue parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique AttrValue parseFrom (données com.google.protobuf.ByteString)

Jetés
InvalidProtocolBufferException

public static AttrValue parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static AttrValue parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique analyseur ()

public AttrValue.Builder toBuilder ()

public void writeTo (sortie com.google.protobuf.CodedOutputStream)

Jetés
IOException