clase final estática pública TensorProto.Builder
Protocol buffer representing a tensor.Protobuf tipo
tensorflow.TensorProto
Métodos públicos
TensorProto.Builder | addAllBoolVal (Iterable<? extiende valores booleanos>) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | addAllDcomplexVal (Iterable<? extiende los valores Double>) DT_COMPLEX128. |
TensorProto.Builder | addAllDoubleVal (Iterable<? extiende los valores Double>) DT_DOUBLE. |
TensorProto.Builder | addAllFloatVal (Iterable<? extiende los valores Float>) DT_FLOAT. |
TensorProto.Builder | addAllHalfVal (Iterable<? extiende valores enteros>) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | addAllInt64Val (Iterable<? extiende valores largos>) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | addAllIntVal (Iterable<? extiende valores enteros>) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | addAllResourceHandleVal (Iterable<? extiende los valores de ResourceHandleProto >) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addAllScomplexVal (Iterable<? extiende los valores Float>) DT_COMPLEX64. |
TensorProto.Builder | addAllStringVal (Iterable<? extiende los valores de ByteString>) DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | addAllUint32Val (Iterable<? extiende valores enteros>) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | addAllUint64Val (Iterable<? extiende valores largos>) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
TensorProto.Builder | addAllVariantVal (Iterable<? extiende los valores VariantTensorDataProto >) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addBoolVal (valor booleano) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | addDcomplexVal (valor doble) DT_COMPLEX128. |
TensorProto.Builder | addDoubleVal (valor doble) DT_DOUBLE. |
TensorProto.Builder | addFloatVal (valor flotante) DT_FLOAT. |
TensorProto.Builder | addHalfVal (valor int) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | addInt64Val (valor largo) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | addIntVal (valor int) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
TensorProto.Builder | addResourceHandleVal (índice int, ResourceHandleProto.Builder builderForValue) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addResourceHandleVal (índice int, valor ResourceHandleProto ) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addResourceHandleVal (valor ResourceHandleProto ) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addResourceHandleVal ( ResourceHandleProto.Builder constructorForValue) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
ResourceHandleProto.Builder | addResourceHandleValBuilder (índice int) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
ResourceHandleProto.Builder | agregarResourceHandleValBuilder () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addScomplexVal (valor flotante) DT_COMPLEX64. |
TensorProto.Builder | addStringVal (valor com.google.protobuf.ByteString) DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | addUint32Val (valor int) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | addUint64Val (valor largo) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
TensorProto.Builder | addVariantVal (valor VariantTensorDataProto ) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addVariantVal (índice int, VariantTensorDataProto.Builder builderForValue) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addVariantVal (índice int, valor VariantTensorDataProto ) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addVariantVal ( VariantTensorDataProto.Builder builderForValue) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VarianteTensorDataProto.Builder | addVariantValBuilder (índice int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VarianteTensorDataProto.Builder | agregarVariantValBuilder () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto | construir () |
TensorProto | |
TensorProto.Builder | claro () |
TensorProto.Builder | borrarBoolVal () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | clearDcomplexVal () DT_COMPLEX128. |
TensorProto.Builder | borrarDobleVal () DT_DOUBLE. |
TensorProto.Builder | tipo claro () .tensorflow.DataType dtype = 1; |
TensorProto.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
TensorProto.Builder | borrarValFloat () DT_FLOAT. |
TensorProto.Builder | borrarHalfVal () DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | clearInt64Val () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | borrarIntVal () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de) |
TensorProto.Builder | borrarResourceHandleVal () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | clearScomplexVal () DT_COMPLEX64. |
TensorProto.Builder | borrarStringVal () DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | borrarTensorContenido () Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. |
TensorProto.Builder | borrarFormaTensor () Shape of the tensor. |
TensorProto.Builder | clearUint32Val () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | clearUint64Val () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
TensorProto.Builder | borrarVarianteVal () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | borrar número de versión () Version number. |
TensorProto.Builder | clonar () |
booleano | getBoolVal (índice int) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
En t | obtenerBoolValCount () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
Lista<Booleano> | obtenerBoolValList () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
doble | getDcomplexVal (índice int) DT_COMPLEX128. |
En t | getDcomplexValCount () DT_COMPLEX128. |
Lista<Doble> | getDcomplexValList () DT_COMPLEX128. |
TensorProto | |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
doble | getDoubleVal (índice int) DT_DOUBLE. |
En t | getDoubleValCount () DT_DOUBLE. |
Lista<Doble> | obtenerListaDobleVal () DT_DOUBLE. |
Tipo de datos | obtener tipo D () .tensorflow.DataType dtype = 1; |
En t | getDtypeValue () .tensorflow.DataType dtype = 1; |
flotar | getFloatVal (índice int) DT_FLOAT. |
En t | obtenerFloatValCount () DT_FLOAT. |
Lista<flotante> | obtenerFloatValList () DT_FLOAT. |
En t | getHalfVal (índice int) DT_HALF, DT_BFLOAT16. |
En t | obtenerHalfValCount () DT_HALF, DT_BFLOAT16. |
Lista<Entero> | obtenerHalfValList () DT_HALF, DT_BFLOAT16. |
largo | getInt64Val (índice int) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
En t | getInt64ValCount () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
Lista<Larga> | getInt64ValList () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
En t | getIntVal (índice int) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
En t | obtenerIntValCount () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
Lista<Entero> | obtenerListaIntVal () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
ResourceHandleProto | getResourceHandleVal (índice int) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
ResourceHandleProto.Builder | getResourceHandleValBuilder (índice int) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
Lista< ResourceHandleProto.Builder > | getResourceHandleValBuilderList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
En t | getResourceHandleValCount () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
Lista< ResourceHandleProto > | getResourceHandleValList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
ResourceHandleProtoOrBuilder | getResourceHandleValOrBuilder (índice int) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
Lista<? extiende ResourceHandleProtoOrBuilder > | getResourceHandleValOrBuilderList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
flotar | getScomplexVal (índice int) DT_COMPLEX64. |
En t | getScomplexValCount () DT_COMPLEX64. |
Lista<flotante> | getScomplexValList () DT_COMPLEX64. |
com.google.protobuf.ByteString | getStringVal (índice int) DT_STRING repeated bytes string_val = 8; |
En t | getStringValCount () DT_STRING repeated bytes string_val = 8; |
Lista<ByteString> | obtenerStringValList () DT_STRING repeated bytes string_val = 8; |
com.google.protobuf.ByteString | obtenerTensorContenido () Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. |
TensorShapeProto | obtener forma tensor () Shape of the tensor. |
TensorShapeProto.Builder | getTensorShapeBuilder () Shape of the tensor. |
TensorShapeProtoOrBuilder | getTensorShapeOrBuilder () Shape of the tensor. |
En t | getUint32Val (índice int) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
En t | getUint32ValCount () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
Lista<Entero> | getUint32ValList () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
largo | getUint64Val (índice int) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
En t | getUint64ValCount () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
Lista<Larga> | getUint64ValList () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
VarianteTensorDataProto | getVariantVal (índice int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VarianteTensorDataProto.Builder | getVariantValBuilder (índice int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Lista< VariantTensorDataProto.Builder > | getVariantValBuilderList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
En t | getVariantValCount () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Lista <VarianteTensorDataProto> | getVariantValList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VarianteTensorDataProtoOrBuilder | getVariantValOrBuilder (índice int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Lista<? extiende VariantTensorDataProtoOrBuilder > | getVariantValOrBuilderList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
En t | obtener número de versión () Version number. |
booleano | tieneTensorShape () Shape of the tensor. |
booleano final | |
TensorProto.Builder | mergeFrom (com.google.protobuf.Message otro) |
TensorProto.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
TensorProto.Builder | |
TensorProto.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
TensorProto.Builder | removeResourceHandleVal (índice int) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | removeVariantVal (índice int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | setBoolVal (índice int, valor booleano) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | setDcomplexVal (índice int, valor doble) DT_COMPLEX128. |
TensorProto.Builder | setDoubleVal (índice int, valor doble) DT_DOUBLE. |
TensorProto.Builder | |
TensorProto.Builder | setDtypeValue (valor int) .tensorflow.DataType dtype = 1; |
TensorProto.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
TensorProto.Builder | setFloatVal (índice int, valor flotante) DT_FLOAT. |
TensorProto.Builder | setHalfVal (índice int, valor int) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | setInt64Val (índice int, valor largo) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | setIntVal (índice int, valor int) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
TensorProto.Builder | setResourceHandleVal (índice int, ResourceHandleProto.Builder builderForValue) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | setResourceHandleVal (índice int, valor ResourceHandleProto ) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | setScomplexVal (índice int, valor flotante) DT_COMPLEX64. |
TensorProto.Builder | setStringVal (índice int, valor com.google.protobuf.ByteString) DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | setTensorContent (valor com.google.protobuf.ByteString) Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. |
TensorProto.Builder | |
TensorProto.Builder | |
TensorProto.Builder | setUint32Val (índice int, valor int) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | setUint64Val (índice int, valor largo) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
TensorProto.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
TensorProto.Builder | setVariantVal (índice int, valor VariantTensorDataProto ) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | setVariantVal (índice int, VariantTensorDataProto.Builder builderForValue) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | setVersionNumber (valor int) Version number. |
Métodos heredados
Métodos públicos
public TensorProto.Builder addAllBoolVal (Iterable<? Extiende valores booleanos>)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public TensorProto.Builder addAllDcomplexVal (Iterable<? extiende los valores Double>)
DT_COMPLEX128. dcomplex_val(2*i) and dcomplex_val(2*i+1) are real and imaginary parts of i-th double precision complex.
repeated double dcomplex_val = 12 [packed = true];
public TensorProto.Builder addAllDoubleVal (Iterable<? extiende los valores Double>)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public TensorProto.Builder addAllFloatVal (Iterable<? extiende los valores Float>)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public TensorProto.Builder addAllHalfVal (Iterable<? extiende los valores Integer>)
DT_HALF, DT_BFLOAT16. Note that since protobuf has no int16 type, we'll have some pointless zero padding for each value here.
repeated int32 half_val = 13 [packed = true];
public TensorProto.Builder addAllInt64Val (Iterable<? extiende los valores Long>)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public TensorProto.Builder addAllIntVal (Iterable<? extiende los valores Integer>)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public TensorProto.Builder addAllResourceHandleVal (Iterable<? extiende los valores de ResourceHandleProto >)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder addAllScomplexVal (Iterable<? extiende los valores Float>)
DT_COMPLEX64. scomplex_val(2*i) and scomplex_val(2*i+1) are real and imaginary parts of i-th single precision complex.
repeated float scomplex_val = 9 [packed = true];
public TensorProto.Builder addAllStringVal (Iterable<? extiende los valores ByteString>)
DT_STRING
repeated bytes string_val = 8;
public TensorProto.Builder addAllUint32Val (Iterable<? extiende valores enteros>)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder addAllUint64Val (Iterable<? extiende los valores Long>)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public TensorProto.Builder addAllVariantVal (Iterable<? extiende los valores de VariantTensorDataProto >)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
público TensorProto.Builder addBoolVal (valor booleano)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
público TensorProto.Builder addDcomplexVal (valor doble)
DT_COMPLEX128. dcomplex_val(2*i) and dcomplex_val(2*i+1) are real and imaginary parts of i-th double precision complex.
repeated double dcomplex_val = 12 [packed = true];
público TensorProto.Builder addDoubleVal (valor doble)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
público TensorProto.Builder addFloatVal (valor flotante)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
público TensorProto.Builder addHalfVal (valor int)
DT_HALF, DT_BFLOAT16. Note that since protobuf has no int16 type, we'll have some pointless zero padding for each value here.
repeated int32 half_val = 13 [packed = true];
público TensorProto.Builder addInt64Val (valor largo)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
público TensorProto.Builder addIntVal (valor int)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
público TensorProto.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público TensorProto.Builder addResourceHandleVal (índice int, ResourceHandleProto.Builder builderForValue)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
público TensorProto.Builder addResourceHandleVal (índice int, valor ResourceHandleProto )
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
público TensorProto.Builder addResourceHandleVal (valor ResourceHandleProto )
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
público TensorProto.Builder addResourceHandleVal ( ResourceHandleProto.Builder builderForValue)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
público ResourceHandleProto.Builder addResourceHandleValBuilder (índice int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
público ResourceHandleProto.Builder addResourceHandleValBuilder ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
público TensorProto.Builder addScomplexVal (valor flotante)
DT_COMPLEX64. scomplex_val(2*i) and scomplex_val(2*i+1) are real and imaginary parts of i-th single precision complex.
repeated float scomplex_val = 9 [packed = true];
público TensorProto.Builder addStringVal (valor com.google.protobuf.ByteString)
DT_STRING
repeated bytes string_val = 8;
público TensorProto.Builder addUint32Val (valor int)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
público TensorProto.Builder addUint64Val (valor largo)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
público TensorProto.Builder addVariantVal (valor VariantTensorDataProto )
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
público TensorProto.Builder addVariantVal (índice int, VariantTensorDataProto.Builder builderForValue)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
público TensorProto.Builder addVariantVal (índice int, valor VariantTensorDataProto )
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
público TensorProto.Builder addVariantVal ( VariantTensorDataProto.Builder builderForValue)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
público VariantTensorDataProto.Builder addVariantValBuilder (índice int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
público VariantTensorDataProto.Builder addVariantValBuilder ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
público TensorProto.Builder clearDcomplexVal ()
DT_COMPLEX128. dcomplex_val(2*i) and dcomplex_val(2*i+1) are real and imaginary parts of i-th double precision complex.
repeated double dcomplex_val = 12 [packed = true];
público TensorProto.Builder clearDoubleVal ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
público TensorProto.Builder clearFloatVal ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
público TensorProto.Builder clearHalfVal ()
DT_HALF, DT_BFLOAT16. Note that since protobuf has no int16 type, we'll have some pointless zero padding for each value here.
repeated int32 half_val = 13 [packed = true];
público TensorProto.Builder clearInt64Val ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
público TensorProto.Builder clearIntVal ()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
público TensorProto.Builder clearResourceHandleVal ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
público TensorProto.Builder clearScomplexVal ()
DT_COMPLEX64. scomplex_val(2*i) and scomplex_val(2*i+1) are real and imaginary parts of i-th single precision complex.
repeated float scomplex_val = 9 [packed = true];
público TensorProto.Builder clearTensorContent ()
Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. This representation can be used for all tensor types. The purpose of this representation is to reduce serialization overhead during RPC call by avoiding serialization of many repeated small items.
bytes tensor_content = 4;
público TensorProto.Builder clearTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
público TensorProto.Builder clearUint32Val ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
público TensorProto.Builder clearUint64Val ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
público TensorProto.Builder clearVariantVal ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
público TensorProto.Builder clearVersionNumber ()
Version number. In version 0, if the "repeated xxx" representations contain only one element, that element is repeated to fill the shape. This makes it easy to represent a constant Tensor with a single value.
int32 version_number = 3;
getBoolVal booleano público (índice int)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
público int getBoolValCount ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
Lista pública<Booleano> getBoolValList ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
público doble getDcomplexVal (índice int)
DT_COMPLEX128. dcomplex_val(2*i) and dcomplex_val(2*i+1) are real and imaginary parts of i-th double precision complex.
repeated double dcomplex_val = 12 [packed = true];
público int getDcomplexValCount ()
DT_COMPLEX128. dcomplex_val(2*i) and dcomplex_val(2*i+1) are real and imaginary parts of i-th double precision complex.
repeated double dcomplex_val = 12 [packed = true];
Lista pública<Doble> getDcomplexValList ()
DT_COMPLEX128. dcomplex_val(2*i) and dcomplex_val(2*i+1) are real and imaginary parts of i-th double precision complex.
repeated double dcomplex_val = 12 [packed = true];
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
público doble getDoubleVal (índice int)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public int getDoubleValCount ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
Lista pública<Doble> getDoubleValList ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
público int getDtypeValue ()
.tensorflow.DataType dtype = 1;
flotante público getFloatVal (índice int)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
público int getFloatValCount ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
Lista pública<Float> getFloatValList ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
público int getHalfVal (índice int)
DT_HALF, DT_BFLOAT16. Note that since protobuf has no int16 type, we'll have some pointless zero padding for each value here.
repeated int32 half_val = 13 [packed = true];
público int getHalfValCount ()
DT_HALF, DT_BFLOAT16. Note that since protobuf has no int16 type, we'll have some pointless zero padding for each value here.
repeated int32 half_val = 13 [packed = true];
Lista pública<Entero> getHalfValList ()
DT_HALF, DT_BFLOAT16. Note that since protobuf has no int16 type, we'll have some pointless zero padding for each value here.
repeated int32 half_val = 13 [packed = true];
público largo getInt64Val (índice int)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
público int getInt64ValCount ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
Lista pública<Larga> getInt64ValList ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
público int getIntVal (índice int)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
público int getIntValCount ()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
Lista pública<Entero> getIntValList ()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
ResourceHandlePro público para getResourceHandleVal (índice int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
público ResourceHandleProto.Builder getResourceHandleValBuilder (índice int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
Lista pública< ResourceHandleProto.Builder > getResourceHandleValBuilderList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
público int getResourceHandleValCount ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
Lista pública< ResourceHandleProto > getResourceHandleValList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
público ResourceHandleProtoOrBuilder getResourceHandleValOrBuilder (índice int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
Lista pública<? extiende ResourceHandleProtoOrBuilder > getResourceHandleValOrBuilderList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
getScomplexVal flotante público (índice int)
DT_COMPLEX64. scomplex_val(2*i) and scomplex_val(2*i+1) are real and imaginary parts of i-th single precision complex.
repeated float scomplex_val = 9 [packed = true];
público int getScomplexValCount ()
DT_COMPLEX64. scomplex_val(2*i) and scomplex_val(2*i+1) are real and imaginary parts of i-th single precision complex.
repeated float scomplex_val = 9 [packed = true];
Lista pública<Float> getScomplexValList ()
DT_COMPLEX64. scomplex_val(2*i) and scomplex_val(2*i+1) are real and imaginary parts of i-th single precision complex.
repeated float scomplex_val = 9 [packed = true];
público com.google.protobuf.ByteString getStringVal (índice int)
DT_STRING
repeated bytes string_val = 8;
público int getStringValCount ()
DT_STRING
repeated bytes string_val = 8;
Lista pública<ByteString> getStringValList ()
DT_STRING
repeated bytes string_val = 8;
público com.google.protobuf.ByteString getTensorContent ()
Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. This representation can be used for all tensor types. The purpose of this representation is to reduce serialization overhead during RPC call by avoiding serialization of many repeated small items.
bytes tensor_content = 4;
público TensorShapeProto getTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
público TensorShapeProto.Builder getTensorShapeBuilder ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
público TensorShapeProtoOrBuilder getTensorShapeOrBuilder ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
público int getUint32Val (índice int)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
público int getUint32ValCount ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
Lista pública<Entero> getUint32ValList ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
público largo getUint64Val (índice int)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
público int getUint64ValCount ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
Lista pública<Larga> getUint64ValList ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
público VariantTensorDataProto getVariantVal (índice int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
público VariantTensorDataProto.Builder getVariantValBuilder (índice int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Lista pública< VariantTensorDataProto.Builder > getVariantValBuilderList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
público int getVariantValCount ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Lista pública< VariantTensorDataProto > getVariantValList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
público VariantTensorDataProtoOrBuilder getVariantValOrBuilder (índice int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Lista pública<? extiende VariantTensorDataProtoOrBuilder > getVariantValOrBuilderList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public int getVersionNumber ()
Version number. In version 0, if the "repeated xxx" representations contain only one element, that element is repeated to fill the shape. This makes it easy to represent a constant Tensor with a single value.
int32 version_number = 3;
hasTensorShape booleano público ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
público final booleano isInitialized ()
TensorProto.Builder público mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
Lanza
IOExcepción |
---|
público TensorProto.Builder mergeTensorShape (valor TensorShapeProto )
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
TensorProto.Builder final público mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
público TensorProto.Builder removeResourceHandleVal (índice int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
público TensorProto.Builder removeVariantVal (índice int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
público TensorProto.Builder setBoolVal (índice int, valor booleano)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
público TensorProto.Builder setDcomplexVal (índice int, valor doble)
DT_COMPLEX128. dcomplex_val(2*i) and dcomplex_val(2*i+1) are real and imaginary parts of i-th double precision complex.
repeated double dcomplex_val = 12 [packed = true];
público TensorProto.Builder setDoubleVal (índice int, valor doble)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
público TensorProto.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público TensorProto.Builder setFloatVal (índice int, valor flotante)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
público TensorProto.Builder setHalfVal (índice int, valor int)
DT_HALF, DT_BFLOAT16. Note that since protobuf has no int16 type, we'll have some pointless zero padding for each value here.
repeated int32 half_val = 13 [packed = true];
público TensorProto.Builder setInt64Val (índice int, valor largo)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
público TensorProto.Builder setIntVal (índice int, valor int)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
público TensorProto.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
público TensorProto.Builder setResourceHandleVal (índice int, ResourceHandleProto.Builder builderForValue)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
público TensorProto.Builder setResourceHandleVal (índice int, valor ResourceHandleProto )
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
público TensorProto.Builder setScomplexVal (índice int, valor flotante)
DT_COMPLEX64. scomplex_val(2*i) and scomplex_val(2*i+1) are real and imaginary parts of i-th single precision complex.
repeated float scomplex_val = 9 [packed = true];
público TensorProto.Builder setStringVal (índice int, valor com.google.protobuf.ByteString)
DT_STRING
repeated bytes string_val = 8;
público TensorProto.Builder setTensorContent (valor com.google.protobuf.ByteString)
Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. This representation can be used for all tensor types. The purpose of this representation is to reduce serialization overhead during RPC call by avoiding serialization of many repeated small items.
bytes tensor_content = 4;
público TensorProto.Builder setTensorShape (valor TensorShapeProto )
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
público TensorProto.Builder setTensorShape ( TensorShapeProto.Builder builderForValue)
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
público TensorProto.Builder setUint32Val (índice int, valor int)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
público TensorProto.Builder setUint64Val (índice int, valor largo)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
público final TensorProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
público TensorProto.Builder setVariantVal (índice int, valor VariantTensorDataProto )
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
público TensorProto.Builder setVariantVal (índice int, VariantTensorDataProto.Builder builderForValue)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
público TensorProto.Builder setVersionNumber (valor int)
Version number. In version 0, if the "repeated xxx" representations contain only one element, that element is repeated to fill the shape. This makes it easy to represent a constant Tensor with a single value.
int32 version_number = 3;