classe finale statica pubblica TensorProto.Builder
Protocol buffer representing a tensor.Tipo protobuf
tensorflow.TensorProto
Metodi pubblici
TensorProto.Builder | addAllBoolVal (Iterable<? estende i valori booleani>) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | addAllDcomplexVal (Iterable<? estende Double> valori) DT_COMPLEX128. |
TensorProto.Builder | addAllDoubleVal (Iterable<? estende Double> valori) DT_DOUBLE. |
TensorProto.Builder | addAllFloatVal (Iterable<? estende i valori Float>) DT_FLOAT. |
TensorProto.Builder | addAllHalfVal (Iterable<? estende i valori Integer>) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | addAllInt64Val (Iterable<? estende i valori Long>) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | addAllIntVal (Iterable<? estende i valori Integer>) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | addAllResourceHandleVal (Iterable<? estende ResourceHandleProto > valori) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addAllScomplexVal (Iterable<? estende i valori Float>) DT_COMPLEX64. |
TensorProto.Builder | addAllStringVal (Iterable<? estende i valori ByteString>) DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | addAllUint32Val (Iterable<? estende i valori Integer>) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | addAllUint64Val (Iterable<? estende i valori Long>) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
TensorProto.Builder | addAllVariantVal (Iterable<? estende VariantTensorDataProto > valori) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addBoolVal (valore booleano) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | addDcomplexVal (doppio valore) DT_COMPLEX128. |
TensorProto.Builder | addDoubleVal (doppio valore) DT_DOUBLE. |
TensorProto.Builder | addFloatVal (valore float) DT_FLOAT. |
TensorProto.Builder | addHalfVal (valore int) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | addInt64Val (valore lungo) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | addIntVal (valore int) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
TensorProto.Builder | addResourceHandleVal (indice int, ResourceHandleProto.Builder builderForValue) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addResourceHandleVal (indice int, valore ResourceHandleProto ) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addResourceHandleVal (valore 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 (indice 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 (valore float) DT_COMPLEX64. |
TensorProto.Builder | addStringVal (valore com.google.protobuf.ByteString) DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | addUint32Val (valore int) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | addUint64Val (valore lungo) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
TensorProto.Builder | addVariantVal (valore VariantTensorDataProto ) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addVariantVal (indice int, VariantTensorDataProto.Builder builderForValue) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addVariantVal (indice int, valore 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 (indice int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProto.Builder | addVariantValBuilder () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensoreProto | costruire () |
TensoreProto | buildPartial () |
TensorProto.Builder | chiaro () |
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 | clone () |
booleano | getBoolVal (indice int) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
int | getBoolValCount () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
Elenco<Booleano> | getBoolValList () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
Doppio | getDcomplexVal (indice int) DT_COMPLEX128. |
int | getDcomplexValCount () DT_COMPLEX128. |
Elenco<Doppio> | getDcomplexValList () DT_COMPLEX128. |
TensoreProto | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
com.google.protobuf.Descriptors.Descriptor | |
Doppio | getDoubleVal (indice int) DT_DOUBLE. |
int | getDoubleValCount () DT_DOUBLE. |
Elenco<Doppio> | getDoubleValList () DT_DOUBLE. |
Tipo di dati | getDtipo () .tensorflow.DataType dtype = 1; |
int | getDtipoValore () .tensorflow.DataType dtype = 1; |
galleggiante | getFloatVal (indice int) DT_FLOAT. |
int | getFloatValCount () DT_FLOAT. |
Elenco<mobile> | getFloatValList () DT_FLOAT. |
int | getHalfVal (indice int) DT_HALF, DT_BFLOAT16. |
int | getHalfValCount () DT_HALF, DT_BFLOAT16. |
Elenco<intero> | getHalfValList () DT_HALF, DT_BFLOAT16. |
lungo | getInt64Val (indice int) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
int | getInt64ValCount () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
Elenco<Lungo> | getInt64ValList () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
int | getIntVal (indice int) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
int | getIntValCount () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
Elenco<intero> | getIntValLista () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
ResourceHandleProto | getResourceHandleVal (indice int) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
ResourceHandleProto.Builder | getResourceHandleValBuilder (indice int) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
Elenco< ResourceHandleProto.Builder > | getResourceHandleValBuilderList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
int | getResourceHandleValCount () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
Elenco< ResourceHandleProto > | getResourceHandleValList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
ResourceHandleProtoOrBuilder | getResourceHandleValOrBuilder (indice int) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
Elenco<? estende ResourceHandleProtoOrBuilder > | getResourceHandleValOrBuilderList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
galleggiante | getScomplexVal (indice int) DT_COMPLEX64. |
int | getScomplexValCount () DT_COMPLEX64. |
Elenco<mobile> | getScomplexValList () DT_COMPLEX64. |
com.google.protobuf.ByteString | getStringVal (indice int) DT_STRING repeated bytes string_val = 8; |
int | getStringValCount () DT_STRING repeated bytes string_val = 8; |
Elenco<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. |
int | getUint32Val (indice int) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
int | getUint32ValCount () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
Elenco<intero> | getUint32ValList () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
lungo | getUint64Val (indice int) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
int | getUint64ValCount () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
Elenco<Lungo> | getUint64ValList () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
VariantTensorDataProto | getVariantVal (indice int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProto.Builder | getVariantValBuilder (indice int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Elenco< VariantTensorDataProto.Builder > | getVariantValBuilderList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
int | getVariantValCount () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Elenco< VariantTensorDataProto > | getVariantValList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProtoOrBuilder | getVariantValOrBuilder (indice int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Elenco<? estende VariantTensorDataProtoOrBuilder > | getVariantValOrBuilderList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
int | getNumeroVersione () Version number. |
booleano | haTensorShape () Shape of the tensor. |
booleano finale | |
TensorProto.Builder | mergeFrom (com.google.protobuf.Message altro) |
TensorProto.Builder | mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
TensorProto.Builder | |
finale TensorProto.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
TensorProto.Builder | rimuoviResourceHandleVal (indice int) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | rimuoviVariantVal (indice int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | setBoolVal (indice int, valore booleano) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | setDcomplexVal (indice int, valore doppio) DT_COMPLEX128. |
TensorProto.Builder | setDoubleVal (indice int, valore doppio) DT_DOUBLE. |
TensorProto.Builder | |
TensorProto.Builder | setDtypeValue (valore int) .tensorflow.DataType dtype = 1; |
TensorProto.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
TensorProto.Builder | setFloatVal (indice int, valore float) DT_FLOAT. |
TensorProto.Builder | setHalfVal (indice int, valore int) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | setInt64Val (indice int, valore lungo) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | setIntVal (indice int, valore int) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto) |
TensorProto.Builder | setResourceHandleVal (indice int, ResourceHandleProto.Builder builderForValue) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | setResourceHandleVal (indice int, valore ResourceHandleProto ) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | setScomplexVal (indice int, valore float) DT_COMPLEX64. |
TensorProto.Builder | setStringVal (indice int, valore com.google.protobuf.ByteString) DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | setTensorContent (valore 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 (indice int, valore int) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | setUint64Val (indice int, valore lungo) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
finale TensorProto.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
TensorProto.Builder | setVariantVal (indice int, valore VariantTensorDataProto ) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | setVariantVal (indice int, VariantTensorDataProto.Builder builderForValue) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | setVersionNumber (valore int) Version number. |
Metodi ereditati
Metodi pubblici
public TensorProto.Builder addAllBoolVal (Iterable<? estende i valori booleani>)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public TensorProto.Builder addAllDcomplexVal (Iterable<? estende Double> valori)
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<? estende Double> valori)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public TensorProto.Builder addAllFloatVal (Iterable<? estende i valori Float>)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public TensorProto.Builder addAllHalfVal (Iterable<? estende Integer> valori)
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<? estende Long> valori)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public TensorProto.Builder addAllIntVal (Iterable<? estende Integer> valori)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public TensorProto.Builder addAllResourceHandleVal (Iterable<? estende ResourceHandleProto > valori)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder addAllScomplexVal (Iterable<? estende i valori 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<? estende i valori ByteString>)
DT_STRING
repeated bytes string_val = 8;
public TensorProto.Builder addAllUint32Val (Iterable<? estende i valori Integer>)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder addAllUint64Val (Iterable<? estende Long> valori)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public TensorProto.Builder addAllVariantVal (Iterable<? estende VariantTensorDataProto > valori)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder addBoolVal (valore booleano)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public TensorProto.Builder addDcomplexVal (doppio valore)
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 (doppio valore)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public TensorProto.Builder addFloatVal (valore float)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public TensorProto.Builder addHalfVal (valore 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 (valore lungo)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public TensorProto.Builder addIntVal (valore 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, valore oggetto)
public TensorProto.Builder addResourceHandleVal (indice int, ResourceHandleProto.Builder builderForValue)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder addResourceHandleVal (indice int, valore ResourceHandleProto )
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder addResourceHandleVal (valore 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 (indice 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 (valore 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];
pubblico TensorProto.Builder addStringVal (valore com.google.protobuf.ByteString)
DT_STRING
repeated bytes string_val = 8;
public TensorProto.Builder addUint32Val (valore int)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder addUint64Val (valore lungo)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public TensorProto.Builder addVariantVal (valore VariantTensorDataProto )
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder addVariantVal (indice int, VariantTensorDataProto.Builder builderForValue)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder addVariantVal (indice int, valore 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 (indice 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];
pubblico TensorProto.Builder clearFloatVal ()
DT_FLOAT.
repeated float float_val = 5 [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;
pubblico 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 version_number = 3;
pubblico booleano getBoolVal (indice int)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public int getBoolValCount ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
elenco pubblico<Booleano> getBoolValList ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public double getDcomplexVal (indice 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];
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];
elenco pubblico<Double> 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 ()
pubblico com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public double getDoubleVal (indice int)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
pubblico int getDoubleValCount ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
elenco pubblico<Double> getDoubleValList ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public int getDtypeValue ()
.tensorflow.DataType dtype = 1;
public float getFloatVal (indice int)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public int getFloatValCount ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
elenco pubblico<Float> getFloatValList ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public int getHalfVal (indice 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 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];
elenco pubblico<intero> 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];
pubblico lungo getInt64Val (indice int)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
pubblico int getInt64ValCount ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
elenco pubblico<Long> getInt64ValList ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public int getIntVal (indice int)
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];
elenco pubblico<intero> getIntValList ()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public ResourceHandleProto getResourceHandleVal (indice int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public ResourceHandleProto.Builder getResourceHandleValBuilder (indice int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
Elenco pubblico< ResourceHandleProto.Builder > getResourceHandleValBuilderList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public int getResourceHandleValCount ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
Elenco pubblico< ResourceHandleProto > getResourceHandleValList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public ResourceHandleProtoOrBuilder getResourceHandleValOrBuilder (indice int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
Elenco pubblico<? estende ResourceHandleProtoOrBuilder > getResourceHandleValOrBuilderList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public float getScomplexVal (indice 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];
elenco pubblico<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];
pubblico com.google.protobuf.ByteString getStringVal (indice int)
DT_STRING
repeated bytes string_val = 8;
public int getStringValCount ()
DT_STRING
repeated bytes string_val = 8;
elenco pubblico<ByteString> getStringValList ()
DT_STRING
repeated bytes string_val = 8;
pubblico 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 (indice int)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
pubblico int getUint32ValCount ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
elenco pubblico<intero> getUint32ValList ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
pubblico lungo getUint64Val (indice int)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
pubblico int getUint64ValCount ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
elenco pubblico<Long> getUint64ValList ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public VariantTensorDataProto getVariantVal (indice int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public VariantTensorDataProto.Builder getVariantValBuilder (indice int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Elenco pubblico< VariantTensorDataProto.Builder > getVariantValBuilderList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public int getVariantValCount ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Elenco pubblico< VariantTensorDataProto > getVariantValList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public VariantTensorDataProtoOrBuilder getVariantValOrBuilder (indice int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Elenco pubblico<? estende 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;
pubblico booleano hasTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
public final booleano isInitialized ()
public TensorProto.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
public TensorProto.Builder mergeTensorShape (valore TensorShapeProto )
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
pubblico finale TensorProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
public TensorProto.Builder rimuoviResourceHandleVal (indice int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder rimuoviVariantVal (indice int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder setBoolVal (indice int, valore booleano)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public TensorProto.Builder setDcomplexVal (indice int, valore 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 setDoubleVal (indice int, valore double)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public TensorProto.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
public TensorProto.Builder setFloatVal (indice int, valore float)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public TensorProto.Builder setHalfVal (indice int, valore 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 (indice int, valore lungo)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public TensorProto.Builder setIntVal (indice int, valore 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, indice int, valore oggetto)
public TensorProto.Builder setResourceHandleVal (indice int, ResourceHandleProto.Builder builderForValue)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder setResourceHandleVal (indice int, valore ResourceHandleProto )
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder setScomplexVal (indice int, valore 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 setStringVal (indice int, valore com.google.protobuf.ByteString)
DT_STRING
repeated bytes string_val = 8;
pubblico TensorProto.Builder setTensorContent (valore 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 (valore 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 (IND INDIDE, Valore Int)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
Public TensorProto.Builder Setuint64Val (IND INDICE, Long Value)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
pubblico tensorproto.builder setVariantVal (IND INDEX, VarianTensordaProto Value)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Public TensorProto.Builder setVariantVal (Int Index, VarianTENSORDataProto.Builder BuilderForValue)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Public TensorProto.Builder SetVeVeRionNumber (Valore 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;