AttrValue

classe final pública 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.
 
Tipo de protobuf tensorflow.AttrValue

Classes aninhadas

aula AttrValue.Builder
 Protocol buffer representing the value for an attr used to configure an Op. 
aula AttrValue.ListValue
 LINT.IfChange
 
Tipo de protobuf tensorflow.AttrValue.ListValue
interface AttrValue.ListValueOrBuilder
enumeração AttrValue.ValueCase

Constantes

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

Métodos Públicos

boleano
é igual (objeto obj)
boleano
obterB ()
 "bool"
 
bool b = 5;
AttrValue estático
Valor de atributo
final estático com.google.protobuf.Descriptors.Descriptor
flutuador
obterF ()
 "float"
 
float f = 4;
NomeAttrList
getFunc ()
 "func" represents a function.
NameAttrListOrBuilder
getFuncOrBuilder ()
 "func" represents a function.
longo
Entendi ()
 "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
obterS ()
 "string"
 
bytes s = 2;
interno
TensorShapeProto
obterForma ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorShapeProtoOrBuilder
getShapeOrBuilder ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorProto
obterTensor ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
TensorProtoOrBuilder
getTensorOrBuilder ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
Tipo de dados
getType ()
 "type"
 
.tensorflow.DataType type = 6;
interno
getTypeValue ()
 "type"
 
.tensorflow.DataType type = 6;
final com.google.protobuf.UnknownFieldSet
AttrValue.ValueCase
boleano
hasFunc ()
 "func" represents a function.
boleano
hasList ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
boleano
temForma ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
boleano
temTensor ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
interno
booleano final
AttrValue.Builder estático
newBuilder (protótipo AttrValue )
AttrValue.Builder estático
AttrValue.Builder
AttrValue estático
parseDelimitedFrom (entrada InputStream)
AttrValue estático
parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AttrValue estático
parseFrom (dados de ByteBuffer)
AttrValue estático
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AttrValue estático
parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AttrValue estático
parseFrom (entrada com.google.protobuf.CodedInputStream)
AttrValue estático
parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AttrValue estático
parseFrom (dados com.google.protobuf.ByteString)
AttrValue estático
parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AttrValue estático
parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
AttrValue.Builder
vazio
writeTo (saída com.google.protobuf.CodedOutputStream)

Métodos herdados

Constantes

público estático final int B_FIELD_NUMBER

Valor Constante: 5

público estático final int FUNC_FIELD_NUMBER

Valor Constante: 10

público estático final int F_FIELD_NUMBER

Valor Constante: 4

público estático final int I_FIELD_NUMBER

Valor Constante: 3

público estático final int LIST_FIELD_NUMBER

Valor Constante: 1

público estático final int PLACEHOLDER_FIELD_NUMBER

Valor Constante: 9

público estático final int SHAPE_FIELD_NUMBER

Valor Constante: 7

público estático final int S_FIELD_NUMBER

Valor Constante: 2

int final estático público TENSOR_FIELD_NUMBER

Valor Constante: 8

público estático final int TYPE_FIELD_NUMBER

Valor Constante: 6

Métodos Públicos

booleano público é igual (Object obj)

getB booleano público ()

 "bool"
 
bool b = 5;

público estático AttrValue getDefaultInstance ()

public AttrValue getDefaultInstanceForType ()

final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()

flutuador público 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;

público longo getI ()

 "int"
 
int64 i = 3;

público AttrValue.ListValue getList ()

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

public AttrValue.ListValueOrBuilder getListOrBuilder ()

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

público getParserForType ()

String pública 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;

público 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;

público com.google.protobuf.ByteString getS ()

 "string"
 
bytes s = 2;

público int getSerializedSize ()

público TensorShapeProto getShape ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

público TensorShapeProtoOrBuilder getShapeOrBuilder ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

público TensorProto getTensor ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

público TensorProtoOrBuilder getTensorOrBuilder ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

tipo de dados público getType ()

 "type"
 
.tensorflow.DataType type = 6;

público int getTypeValue ()

 "type"
 
.tensorflow.DataType type = 6;

final público com.google.protobuf.UnknownFieldSet getUnknownFields ()

public AttrValue.ValueCase getValueCase ()

hasFunc booleano público ()

 "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 público ()

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

hasShape booleano público ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

hasTensor booleano público ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

hashCode int público ()

público final booleano isInitialized ()

público estático AttrValue.Builder newBuilder (protótipo AttrValue )

público estático AttrValue.Builder newBuilder ()

público AttrValue.Builder newBuilderForType ()

public static AttrValue parseDelimitedFrom (entrada InputStream)

Lança
IOException

public static AttrValue parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

público estático AttrValue parseFrom (dados ByteBuffer)

Lança
InvalidProtocolBufferException

public static AttrValue parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static AttrValue parseFrom (dados ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

público estático AttrValue parseFrom (entrada com.google.protobuf.CodedInputStream)

Lança
IOException

public static AttrValue parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

público estático AttrValue parseFrom (dados com.google.protobuf.ByteString)

Lança
InvalidProtocolBufferException

public static AttrValue parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static AttrValue parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

estática pública analisador ()

público AttrValue.Builder toBuilder ()

public void writeTo (saída com.google.protobuf.CodedOutputStream)

Lança
IOException