clase final estática pública TensorProto.Builder
Protocol buffer representing a tensor.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 valores de Double>) DT_COMPLEX128. |
TensorProto.Builder | addAllDoubleVal (Iterable <? extiende valores de Double>) DT_DOUBLE. |
TensorProto.Builder | addAllFloatVal (Iterable <? extiende los valores de 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 de 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 de 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 builderForValue) 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 | addResourceHandleValBuilder () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addScomplexVal (valor flotante) DT_COMPLEX64. |
TensorProto.Builder | addStringVal (valor de 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; |
VariantTensorDataProto.Builder | addVariantValBuilder (índice int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProto.Builder | addVariantValBuilder () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto | construir () |
TensorProto | buildPartial () |
TensorProto.Builder | claro () |
TensorProto.Builder | clearBoolVal () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | clearDcomplexVal () DT_COMPLEX128. |
TensorProto.Builder | clearDoubleVal () DT_DOUBLE. |
TensorProto.Builder | clearDtype () .tensorflow.DataType dtype = 1; |
TensorProto.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
TensorProto.Builder | clearFloatVal () DT_FLOAT. |
TensorProto.Builder | clearHalfVal () DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | clearInt64Val () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | clearIntVal () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TensorProto.Builder | clearResourceHandleVal () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | clearScomplexVal () DT_COMPLEX64. |
TensorProto.Builder | clearStringVal () DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | clearTensorContent () Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. |
TensorProto.Builder | clearTensorShape () 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 | clearVariantVal () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | clearVersionNumber () Version number. |
TensorProto.Builder | clon () |
booleano | getBoolVal (índice int) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
En t | getBoolValCount () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
Lista <Boolean> | getBoolValList () 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> | getDoubleValList () DT_DOUBLE. |
Tipo de datos | getDtype () .tensorflow.DataType dtype = 1; |
En t | getDtypeValue () .tensorflow.DataType dtype = 1; |
flotador | getFloatVal (índice int) DT_FLOAT. |
En t | getFloatValCount () DT_FLOAT. |
Lista <Float> | getFloatValList () DT_FLOAT. |
En t | getHalfVal (índice int) DT_HALF, DT_BFLOAT16. |
En t | getHalfValCount () DT_HALF, DT_BFLOAT16. |
Lista <Intero> | getHalfValList () 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 | getIntValCount () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
Lista <Intero> | getIntValList () 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; |
flotador | getScomplexVal (índice int) DT_COMPLEX64. |
En t | getScomplexValCount () DT_COMPLEX64. |
Lista <Float> | 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> | getStringValList () DT_STRING repeated bytes string_val = 8; |
com.google.protobuf.ByteString | getTensorContent () Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. |
TensorShapeProto | getTensorShape () 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 <Intero> | 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]; |
VariantTensorDataProto | getVariantVal (índice int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProto.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 < VariantTensorDataProto > | getVariantValList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProtoOrBuilder | 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 | getVersionNumber () Version number. |
booleano | hasTensorShape () 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 extensionRegistry) |
TensorProto.Builder | |
TensorProto.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
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 unknownFields) |
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 los 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 de Double>)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public TensorProto.Builder addAllFloatVal (Iterable <? extiende los valores de Float>)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public TensorProto.Builder addAllHalfVal ( valores Iterable <? extiende 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 valores largos>)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public TensorProto.Builder addAllIntVal (Iterable <? extiende Integer> valores)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public TensorProto.Builder addAllResourceHandleVal (Iterable <? extiende los valores 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 de ByteString>)
DT_STRING
repeated bytes string_val = 8;
public TensorProto.Builder addAllUint32Val ( valores Iterable <? extiende Integer>)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder addAllUint64Val (Iterable <? extiende valores largos>)
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;
public TensorProto.Builder addBoolVal (valor booleano)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public 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];
public TensorProto.Builder addDoubleVal (valor doble)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public TensorProto.Builder addFloatVal (valor flotante)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public 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];
public TensorProto.Builder addInt64Val (valor largo)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public TensorProto.Builder addIntVal (valor int)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public TensorProto.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
public TensorProto.Builder addResourceHandleVal (int index, ResourceHandleProto.Builder builderForValue)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder addResourceHandleVal (índice int, valor ResourceHandleProto )
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder addResourceHandleVal (valor ResourceHandleProto )
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder addResourceHandleVal ( ResourceHandleProto.Builder builderForValue)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public ResourceHandleProto.Builder addResourceHandleValBuilder (índice int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public ResourceHandleProto.Builder addResourceHandleValBuilder ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public 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];
public TensorProto.Builder addStringVal (valor de com.google.protobuf.ByteString)
DT_STRING
repeated bytes string_val = 8;
public TensorProto.Builder addUint32Val (valor int)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder addUint64Val (valor largo)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public TensorProto.Builder addVariantVal (valor de VariantTensorDataProto )
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder addVariantVal (int index, VariantTensorDataProto.Builder builderForValue)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder addVariantVal (índice int, valor VariantTensorDataProto )
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder addVariantVal ( VariantTensorDataProto.Builder builderForValue)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public VariantTensorDataProto.Builder addVariantValBuilder (índice int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public VariantTensorDataProto.Builder addVariantValBuilder ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public 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];
public TensorProto.Builder clearDoubleVal ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public 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];
public TensorProto.Builder clearIntVal ()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public TensorProto.Builder clearResourceHandleVal ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public 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];
public 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;
public TensorProto.Builder clearTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
public TensorProto.Builder clearUint32Val ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder clearUint64Val ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public TensorProto.Builder clearVariantVal ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public 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
int32 version_number = 3;
getBoolVal booleano público (índice int)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public int getBoolValCount ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
Lista pública <Boolean> getBoolValList ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public double getDcomplexVal (int index)
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 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];
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public double getDoubleVal (int index)
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];
public int getDtypeValue ()
.tensorflow.DataType dtype = 1;
public float getFloatVal (índice int)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public 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];
public int getHalfVal (int índice)
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 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];
Public List <Integer> 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];
public long getInt64Val (índice int)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public int getInt64ValCount ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
Lista pública <Long> getInt64ValList ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public int getIntVal (int índice)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public int getIntValCount ()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
Public List <Integer> getIntValList ()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public ResourceHandleProto getResourceHandleVal (índice int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public 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;
public 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;
public 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;
public flotante getScomplexVal (í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];
public 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];
public com.google.protobuf.ByteString getStringVal (índice int)
DT_STRING
repeated bytes string_val = 8;
public int getStringValCount ()
DT_STRING
repeated bytes string_val = 8;
Lista pública <ByteString> getStringValList ()
DT_STRING
repeated bytes string_val = 8;
public 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;
public TensorShapeProto getTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
public TensorShapeProto.Builder getTensorShapeBuilder ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
public TensorShapeProtoOrBuilder getTensorShapeOrBuilder ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
public int getUint32Val (int índice)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public int getUint32ValCount ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
Public List <Integer> getUint32ValList ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public long getUint64Val (índice int)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public int getUint64ValCount ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
Lista pública <Long> getUint64ValList ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public VariantTensorDataProto getVariantVal (índice int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public 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;
public int getVariantValCount ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
lista pública < VariantTensorDataProto > getVariantValList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public 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
int32 version_number = 3;
public boolean hasTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
public final boolean isInitialized ()
public TensorProto.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public TensorProto.Builder mergeTensorShape (valor de TensorShapeProto )
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
public final TensorProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public TensorProto.Builder removeResourceHandleVal (índice int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder removeVariantVal (índice int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder setBoolVal (índice int, valor booleano)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public 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];
public TensorProto.Builder setDoubleVal (índice int, valor doble)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public TensorProto.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
public TensorProto.Builder setFloatVal (índice int, valor flotante)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public 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];
public TensorProto.Builder setInt64Val (índice int, valor largo)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public TensorProto.Builder setIntVal (índice int, valor int)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public TensorProto.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
public TensorProto.Builder setResourceHandleVal (int index, ResourceHandleProto.Builder builderForValue)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder setResourceHandleVal (índice int, valor ResourceHandleProto )
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public 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];
public TensorProto.Builder setStringVal (índice int, valor com.google.protobuf.ByteString)
DT_STRING
repeated bytes string_val = 8;
public 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;
public TensorProto.Builder setTensorShape (valor de TensorShapeProto )
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
public TensorProto.Builder setTensorShape ( TensorShapeProto.Builder builderForValue)
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
public TensorProto.Builder setUint32Val (índice int, valor int)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder setUint64Val (índice int, valor largo)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public final TensorProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public TensorProto.Builder setVariantVal (int index, VariantTensorDataProto value)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder setVariantVal (int index, VariantTensorDataProto.Builder builderForValue)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder setVersionNumber (int value)
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;