publiczna statyczna klasa końcowa TensorProto.Builder
Protocol buffer representing a tensor.Protobuf typu
tensorflow.TensorProto
Metody publiczne
TensorProto.Builder | addAllBoolVal (Iterable<? rozszerza wartości Boolean>) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | addAllDcomplexVal (wartości Iterable<? rozszerza Double>) DT_COMPLEX128. |
TensorProto.Builder | addAllDoubleVal (wartości Iterable<? rozszerza Double>) DT_DOUBLE. |
TensorProto.Builder | addAllFloatVal (wartości Iterable<? rozszerza Float>) DT_FLOAT. |
TensorProto.Builder | addAllHalfVal (Iterable<? rozszerza wartości Integer>) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | addAllInt64Val (wartości Iterable<? rozszerza Long>) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | addAllIntVal (Iterable<? rozszerza wartości Integer>) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | addAllResourceHandleVal (Iterable<? rozszerza ResourceHandleProto > wartości) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addAllScomplexVal (wartości Iterable<? rozszerza Float>) DT_COMPLEX64. |
TensorProto.Builder | addAllStringVal (Iterable<? rozszerza wartości ByteString>) DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | addAllUint32Val (Iterable<? rozszerza wartości Integer>) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | addAllUint64Val (wartości Iterable<? rozszerza Long>) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
TensorProto.Builder | addAllVariantVal (Iterable<? rozszerza wartości VariantTensorDataProto >) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addBoolVal (wartość logiczna) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | addDcomplexVal (podwójna wartość) DT_COMPLEX128. |
TensorProto.Builder | addDoubleVal (podwójna wartość) DT_DOUBLE. |
TensorProto.Builder | addFloatVal (wartość zmiennoprzecinkowa) DT_FLOAT. |
TensorProto.Builder | addHalfVal (wartość int) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | addInt64Val (długa wartość) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | addIntVal (wartość int) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
TensorProto.Builder | addResourceHandleVal (indeks int, ResourceHandleProto.Builder builderForValue) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addResourceHandleVal (indeks int, wartość ResourceHandleProto ) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addResourceHandleVal (wartość 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 (indeks 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 (wartość zmiennoprzecinkowa) DT_COMPLEX64. |
TensorProto.Builder | addStringVal (wartość com.google.protobuf.ByteString) DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | addUint32Val (wartość int) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | addUint64Val (długa wartość) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
TensorProto.Builder | addVariantVal (wartość VariantTensorDataProto ) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addVariantVal (indeks int, VariantTensorDataProto.Builder builderForValue) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addVariantVal (indeks int, wartość 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 (indeks int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProto.Builder | addVariantValBuilder () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto | zbudować () |
TensorProto | |
TensorProto.Builder | jasne () |
TensorProto.Builder | clearBoolVal () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | clearDcomplexVal () DT_COMPLEX128. |
TensorProto.Builder | wyczyśćDoubleVal () DT_DOUBLE. |
TensorProto.Builder | wyczyść typ () .tensorflow.DataType dtype = 1; |
TensorProto.Builder | clearField (pole com.google.protobuf.Descriptors.FieldDescriptor) |
TensorProto.Builder | clearFloatVal () DT_FLOAT. |
TensorProto.Builder | wyczyśćHalfVal () DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | wyczyśćInt64Val () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | wyczyśćIntVal () 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 | wyczyśćTensorContent () Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. |
TensorProto.Builder | wyczyśćTensorShape () 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 | wyczyśćWartośćWariantu () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | wyczyśćNumer wersji () Version number. |
TensorProto.Builder | klon () |
wartość logiczna | getBoolVal (indeks int) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
wew | getBoolValCount () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
Lista<Boolean> | getBoolValList () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
podwójnie | getDcomplexVal (indeks int) DT_COMPLEX128. |
wew | getDcomplexValCount () DT_COMPLEX128. |
Lista<Podwójne> | getDcomplexValList () DT_COMPLEX128. |
TensorProto | |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
podwójnie | getDoubleVal (indeks int) DT_DOUBLE. |
wew | getDoubleValCount () DT_DOUBLE. |
Lista<Podwójne> | getDoubleValList () DT_DOUBLE. |
Typ danych | getDtype () .tensorflow.DataType dtype = 1; |
wew | getDtypeValue () .tensorflow.DataType dtype = 1; |
platforma | getFloatVal (indeks int) DT_FLOAT. |
wew | getFloatValCount () DT_FLOAT. |
Lista<Float> | getFloatValList () DT_FLOAT. |
wew | getHalfVal (indeks int) DT_HALF, DT_BFLOAT16. |
wew | getHalfValCount () DT_HALF, DT_BFLOAT16. |
Lista<liczba całkowita> | getHalfValList () DT_HALF, DT_BFLOAT16. |
długi | getInt64Val (indeks int) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
wew | getInt64ValCount () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
Lista<Długa> | getInt64ValList () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
wew | getIntVal (indeks int) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
wew | getIntValCount () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
Lista<liczba całkowita> | getIntValList () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
ResourceHandleProto | getResourceHandleVal (indeks int) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
ResourceHandleProto.Builder | getResourceHandleValBuilder (indeks int) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
Lista< ResourceHandleProto.Builder > | getResourceHandleValBuilderList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
wew | getResourceHandleValCount () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
Lista< ResourceHandleProto > | getResourceHandleValList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
ResourceHandleProtoOrBuilder | getResourceHandleValOrBuilder (indeks int) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
Lista<? rozszerza ResourceHandleProtoOrBuilder > | getResourceHandleValOrBuilderList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
platforma | getScomplexVal (indeks int) DT_COMPLEX64. |
wew | getScomplexValCount () DT_COMPLEX64. |
Lista<Float> | getScomplexValList () DT_COMPLEX64. |
com.google.protobuf.ByteString | getStringVal (indeks int) DT_STRING repeated bytes string_val = 8; |
wew | getStringValCount () DT_STRING repeated bytes string_val = 8; |
Lista<ByteString> | getStringValList () DT_STRING repeated bytes string_val = 8; |
com.google.protobuf.ByteString | pobierzTensorContent () Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. |
TensorShapeProto | pobierzTensorShape () Shape of the tensor. |
TensorShapeProto.Builder | getTensorShapeBuilder () Shape of the tensor. |
TensorShapeProtoOrBuilder | getTensorShapeOrBuilder () Shape of the tensor. |
wew | getUint32Val (indeks int) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
wew | getUint32ValCount () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
Lista<liczba całkowita> | getUint32ValList () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
długi | getUint64Val (indeks int) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
wew | getUint64ValCount () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
Lista<Długa> | getUint64ValList () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
VariantTensorDataProto | getVariantVal (indeks int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProto.Builder | getVariantValBuilder (indeks int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Lista< VariantTensorDataProto.Builder > | getVariantValBuilderList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
wew | getVariantValCount () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Lista <VariantTensorDataProto> | getVariantValList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProtoOrBuilder | getVariantValOrBuilder (indeks int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Lista<? rozszerza VariantTensorDataProtoOrBuilder > | getVariantValOrBuilderList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
wew | pobierz numer wersji () Version number. |
wartość logiczna | maTensorShape () Shape of the tensor. |
końcowa wartość logiczna | |
TensorProto.Builder | mergeFrom (com.google.protobuf.Wiadomość inna) |
TensorProto.Builder | mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
TensorProto.Builder | |
końcowy TensorProto.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
TensorProto.Builder | usuńResourceHandleVal (indeks int) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | usuńVariantVal (indeks int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | setBoolVal (indeks int, wartość logiczna) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | setDcomplexVal (indeks, wartość podwójna) DT_COMPLEX128. |
TensorProto.Builder | setDoubleVal (indeks int, wartość podwójna) DT_DOUBLE. |
TensorProto.Builder | |
TensorProto.Builder | setDtypeValue (wartość int) .tensorflow.DataType dtype = 1; |
TensorProto.Builder | setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
TensorProto.Builder | setFloatVal (indeks int, wartość zmiennoprzecinkowa) DT_FLOAT. |
TensorProto.Builder | setHalfVal (int indeks, int wartość) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | setInt64Val (indeks int, wartość długa) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | setIntVal (int indeks, int wartość) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu) |
TensorProto.Builder | setResourceHandleVal (indeks int, ResourceHandleProto.Builder builderForValue) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | setResourceHandleVal (indeks int, wartość ResourceHandleProto ) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | setScomplexVal (indeks int, wartość zmiennoprzecinkowa) DT_COMPLEX64. |
TensorProto.Builder | setStringVal (indeks int, wartość com.google.protobuf.ByteString) DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | setTensorContent (wartość 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 (indeks int, wartość int) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | setUint64Val (indeks int, wartość długa) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
końcowy TensorProto.Builder | setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
TensorProto.Builder | setVariantVal (indeks int, wartość VariantTensorDataProto ) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | setVariantVal (indeks int, VariantTensorDataProto.Builder builderForValue) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | setVersionNumber (wartość int) Version number. |
Metody dziedziczone
Metody publiczne
public TensorProto.Builder addAllBoolVal (wartości Iterable<? rozszerza Boolean>)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public TensorProto.Builder addAllDcomplexVal (wartości Iterable<? rozszerza 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 (wartości Iterable<? rozszerza Double>)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public TensorProto.Builder addAllFloatVal (wartości Iterable<? rozszerza Float>)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public TensorProto.Builder addAllHalfVal (wartości Iterable<? rozszerza 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 (wartości Iterable<? rozszerza Long>)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public TensorProto.Builder addAllIntVal (wartości Iterable<? rozszerza Integer>)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public TensorProto.Builder addAllResourceHandleVal (Iterable<? rozszerza ResourceHandleProto > wartości)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder addAllScomplexVal (wartości Iterable<? rozszerza 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 (wartości Iterable<? rozszerza ByteString>)
DT_STRING
repeated bytes string_val = 8;
public TensorProto.Builder addAllUint32Val (wartości Iterable<? rozszerza Integer>)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder addAllUint64Val (wartości iterowalne<? rozszerza długie>)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public TensorProto.Builder addAllVariantVal (Iterable<? rozszerza wartości VariantTensorDataProto >)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder addBoolVal (wartość logiczna)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public TensorProto.Builder addDcomplexVal (wartość podwójna)
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 (podwójna wartość)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public TensorProto.Builder addFloatVal (wartość zmiennoprzecinkowa)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public TensorProto.Builder addHalfVal (wartość 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 (długa wartość)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public TensorProto.Builder addIntVal (wartość int)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public TensorProto.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public TensorProto.Builder addResourceHandleVal (indeks int, ResourceHandleProto.Builder builderForValue)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder addResourceHandleVal (indeks int, wartość ResourceHandleProto )
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder addResourceHandleVal (wartość 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 (indeks int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
publiczny ResourceHandleProto.Builder addResourceHandleValBuilder ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder addScomplexVal (wartość zmiennoprzecinkowa)
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 (wartość com.google.protobuf.ByteString)
DT_STRING
repeated bytes string_val = 8;
public TensorProto.Builder addUint32Val (wartość int)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder addUint64Val (długa wartość)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public TensorProto.Builder addVariantVal (wartość VariantTensorDataProto )
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder addVariantVal (indeks int, VariantTensorDataProto.Builder builderForValue)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder addVariantVal (indeks int, wartość 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 (indeks 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];
publiczny 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];
publiczny TensorProto.Builder clearInt64Val ()
DT_INT64
repeated int64 int64_val = 10 [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;
publiczny TensorProto.Builder clearTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
publiczny TensorProto.Builder clearUint32Val ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
publiczny 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;
publiczna wartość logiczna getBoolVal (indeks int)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
publiczny int getBoolValCount ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public List<Boolean> getBoolValList ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public double getDcomplexVal (indeks 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];
publiczny 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];
public List<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 ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public double getDoubleVal (indeks int)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
publiczny int getDoubleValCount ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public List<Double> getDoubleValList ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
publiczny int getDtypeValue ()
.tensorflow.DataType dtype = 1;
publiczny float getFloatVal (indeks int)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
publiczny int getFloatValCount ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public List<Float> getFloatValList ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public int getHalfVal (indeks 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];
publiczny 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];
publiczny długi getInt64Val (indeks int)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
publiczny int getInt64ValCount ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
lista publiczna<Long> getInt64ValList ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public int getIntVal (indeks int)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
publiczny 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];
publiczny ResourceHandleProto getResourceHandleVal (indeks int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
publiczny ResourceHandleProto.Builder getResourceHandleValBuilder (indeks int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public List< ResourceHandleProto.Builder > getResourceHandleValBuilderList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public int getResourceHandleValCount ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public List< ResourceHandleProto > getResourceHandleValList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
publiczny ResourceHandleProtoOrBuilder getResourceHandleValOrBuilder (indeks int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
lista publiczna<? rozszerza ResourceHandleProtoOrBuilder > getResourceHandleValOrBuilderList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
publiczny float getScomplexVal (indeks 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];
publiczny 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];
public List<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 (indeks int)
DT_STRING
repeated bytes string_val = 8;
publiczny int getStringValCount ()
DT_STRING
repeated bytes string_val = 8;
public List<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;
publiczny TensorShapeProto getTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
publiczny TensorShapeProto.Builder getTensorShapeBuilder ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
publiczny TensorShapeProtoOrBuilder getTensorShapeOrBuilder ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
public int getUint32Val (indeks int)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
publiczny int getUint32ValCount ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public List<Integer> getUint32ValList ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
publiczny długi getUint64Val (indeks int)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
publiczny int getUint64ValCount ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
lista publiczna<Long> getUint64ValList ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public VariantTensorDataProto getVariantVal (indeks int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public VariantTensorDataProto.Builder getVariantValBuilder (indeks int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public List< VariantTensorDataProto.Builder > getVariantValBuilderList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
publiczny int getVariantValCount ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public List< VariantTensorDataProto > getVariantValList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public VariantTensorDataProtoOrBuilder getVariantValOrBuilder (indeks int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
lista publiczna<? rozszerza VariantTensorDataProtoOrBuilder > getVariantValOrBuilderList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
publiczny 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;
publiczna wartość logiczna hasTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
publiczna końcowa wartość logiczna isInitialized ()
publiczny TensorProto.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
Wyjątek IO |
---|
public TensorProto.Builder mergeTensorShape (wartość TensorShapeProto )
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
publiczny końcowy TensorProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public TensorProto.Builder usuńResourceHandleVal (indeks int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder usuńVariantVal (indeks int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder setBoolVal (indeks int, wartość logiczna)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public TensorProto.Builder setDcomplexVal (indeks int, wartość podwójna)
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 (indeks, wartość podwójna)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public TensorProto.Builder setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public TensorProto.Builder setFloatVal (indeks int, wartość zmiennoprzecinkowa)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public TensorProto.Builder setHalfVal (indeks, wartość 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 (indeks int, wartość długa)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public TensorProto.Builder setIntVal (indeks int, wartość int)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public TensorProto.Builder setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu)
public TensorProto.Builder setResourceHandleVal (indeks int, ResourceHandleProto.Builder builderForValue)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder setResourceHandleVal (indeks int, wartość ResourceHandleProto )
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder setScomplexVal (indeks int, wartość zmiennoprzecinkowa)
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 (indeks int, wartość com.google.protobuf.ByteString)
DT_STRING
repeated bytes string_val = 8;
public TensorProto.Builder setTensorContent (wartość 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 (wartość 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 (indeks, wartość int)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder setUint64Val (indeks, wartość długa)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
publiczny końcowy TensorProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public TensorProto.Builder setVariantVal (indeks int, wartość VariantTensorDataProto )
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder setVariantVal (indeks int, VariantTensorDataProto.Builder builderForValue)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder setVersionNumber (wartość 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;