публичный статический финальный класс TensorProto.Builder
Protocol buffer representing a tensor.Тип Protobuf
tensorflow.TensorProto
Публичные методы
TensorProto.Builder | addAllBoolVal (Iterable<? расширяет логические значения>) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | addAllDcomplexVal (Iterable<? расширяет значения Double>) DT_COMPLEX128. |
TensorProto.Builder | addAllDoubleVal (Iterable<? расширяет значения Double>) DT_DOUBLE. |
TensorProto.Builder | addAllFloatVal (Iterable<? расширяет значения Float>) DT_FLOAT. |
TensorProto.Builder | addAllHalfVal (Iterable<? расширяет целые значения>) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | addAllInt64Val (Iterable<? расширяет значения Long>) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | addAllIntVal (Iterable<? расширяет значения Integer>) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | addAllResourceHandleVal (Iterable<? расширяет значения ResourceHandleProto >) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addAllScomplexVal (Iterable<? расширяет значения Float>) DT_COMPLEX64. |
TensorProto.Builder | addAllStringVal (Iterable<? расширяет значения ByteString>) DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | addAllUint32Val (Iterable<? расширяет целочисленные значения>) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | addAllUint64Val (Iterable<? расширяет значения Long>) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
TensorProto.Builder | addAllVariantVal (Iterable<? расширяет значения VariantTensorDataProto >) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addBoolVal (логическое значение) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | addDcomplexVal (двойное значение) DT_COMPLEX128. |
TensorProto.Builder | addDoubleVal (двойное значение) DT_DOUBLE. |
TensorProto.Builder | addFloatVal (плавающее значение) DT_FLOAT. |
TensorProto.Builder | addHalfVal (целое значение) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | addInt64Val (длинное значение) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | addIntVal (целое значение) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
TensorProto.Builder | addResourceHandleVal (индекс int, ResourceHandleProto.Builder builderForValue) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addResourceHandleVal (индекс int, значение ResourceHandleProto ) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addResourceHandleVal (значение 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 (индекс 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 (число с плавающей запятой) DT_COMPLEX64. |
TensorProto.Builder | addStringVal (значение com.google.protobuf.ByteString) DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | addUint32Val (целое значение) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | addUint64Val (длинное значение) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
TensorProto.Builder | addVariantVal (значение VariantTensorDataProto ) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addVariantVal (индекс int, VariantTensorDataProto.Builder builderForValue) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addVariantVal (индекс int, значение VariantTensorDataProto ) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addVariantVal ( VariantTensorDataProto.Builder builderForValue) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
ВариантTensorDataProto.Builder | addVariantValBuilder (индекс целого числа) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
ВариантTensorDataProto.Builder | добавитьВариантВалБилдер () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
ТензорПрото | строить () |
ТензорПрото | |
TensorProto.Builder | прозрачный () |
TensorProto.Builder | ОчиститьБулВал () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | ClearDcomplexVal () DT_COMPLEX128. |
TensorProto.Builder | очиститьДаблВал () DT_DOUBLE. |
TensorProto.Builder | ОчиститьДтип () .tensorflow.DataType dtype = 1; |
TensorProto.Builder | ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor) |
TensorProto.Builder | ОчиститьФлоатВал () DT_FLOAT. |
TensorProto.Builder | очиститьHalfVal () DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | очиститьИнт64Вал () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | очиститьИнтВал () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TensorProto.Builder | ОчиститьРесаурцеХандлеВал () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | ClearScomplexVal () DT_COMPLEX64. |
TensorProto.Builder | ОчиститьСтрокуВал () DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | очиститьТензорКонтент () Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. |
TensorProto.Builder | ОчиститьТензорШейп () Shape of the tensor. |
TensorProto.Builder | очиститьUint32Val () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | очиститьUint64Val () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
TensorProto.Builder | ОчиститьВариантВал () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | ОчиститьНомерВерсии () Version number. |
TensorProto.Builder | клон () |
логическое значение | getBoolVal (индекс целого числа) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
интервал | getBoolValCount () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
Список<логическое значение> | getBoolValList () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
двойной | getDcomplexVal (индекс целого числа) DT_COMPLEX128. |
интервал | getDcomplexValCount () DT_COMPLEX128. |
Список<Двойной> | getDcomplexValList () DT_COMPLEX128. |
ТензорПрото | |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
двойной | getDoubleVal (индекс целого числа) DT_DOUBLE. |
интервал | получитьДаблВалКаунт () DT_DOUBLE. |
Список<Двойной> | получитьДаблВалЛист () DT_DOUBLE. |
Тип данных | getDtype () .tensorflow.DataType dtype = 1; |
интервал | getDtypeValue () .tensorflow.DataType dtype = 1; |
плавать | getFloatVal (индекс целого числа) DT_FLOAT. |
интервал | getFloatValCount () DT_FLOAT. |
Список<С плавающей запятой> | getFloatValList () DT_FLOAT. |
интервал | getHalfVal (целочисленный индекс) DT_HALF, DT_BFLOAT16. |
интервал | getHalfValCount () DT_HALF, DT_BFLOAT16. |
Список<Целое число> | получитьПолуваллист () DT_HALF, DT_BFLOAT16. |
длинный | getInt64Val (целочисленный индекс) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
интервал | getInt64ValCount () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
Список<длинный> | getInt64ValList () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
интервал | getIntVal (целочисленный индекс) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
интервал | getIntValCount () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
Список<Целое число> | получитьИнтваллист () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
РесурсХандлеПрото | getResourceHandleVal (индекс целого числа) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
ResourceHandleProto.Builder | getResourceHandleValBuilder (индекс int) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
Список < ResourceHandleProto.Builder > | getResourceHandleValBuilderList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
интервал | getResourceHandleValCount () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
Список< РесаурцеХандлеПрото > | getResourceHandleValList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
РесурсХандлеПротоОрБилдер | getResourceHandleValOrBuilder (индекс int) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
Список<? расширяет ResourceHandleProtoOrBuilder > | getResourceHandleValOrBuilderList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
плавать | getScomplexVal (индекс целого числа) DT_COMPLEX64. |
интервал | getScomplexValCount () DT_COMPLEX64. |
Список<С плавающей запятой> | getScomplexValList () DT_COMPLEX64. |
com.google.protobuf.ByteString | getStringVal (целочисленный индекс) DT_STRING repeated bytes string_val = 8; |
интервал | getStringValCount () DT_STRING repeated bytes string_val = 8; |
Список<ByteString> | getStringValList () DT_STRING repeated bytes string_val = 8; |
com.google.protobuf.ByteString | получитьTensorContent () 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. |
интервал | getUint32Val (индекс целого числа) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
интервал | getUint32ValCount () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
Список<Целое число> | getUint32ValList () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
длинный | getUint64Val (индекс целого числа) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
интервал | getUint64ValCount () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
Список<длинный> | getUint64ValList () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
ВариантTensorDataProto | getVariantVal (индекс целого числа) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
ВариантTensorDataProto.Builder | getVariantValBuilder (индекс int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Список < VariantTensorDataProto.Builder > | getVariantValBuilderList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
интервал | getVariantValCount () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Список <VariantTensorDataProto> | getVariantValList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
ВариантTensorDataProtoOrBuilder | getVariantValOrBuilder (индекс int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Список<? расширяет VariantTensorDataProtoOrBuilder > | getVariantValOrBuilderList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
интервал | получитьНомерВерсии () Version number. |
логическое значение | имеетТензорШейп () Shape of the tensor. |
последнее логическое значение | |
TensorProto.Builder | mergeFrom (com.google.protobuf.Message другое) |
TensorProto.Builder | mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
TensorProto.Builder | |
окончательный TensorProto.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
TensorProto.Builder | RemoveResourceHandleVal (индекс целого числа) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | удалитьVariantVal (индекс целого числа) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | setBoolVal (целочисленный индекс, логическое значение) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | setDcomplexVal (индекс int, двойное значение) DT_COMPLEX128. |
TensorProto.Builder | setDoubleVal (индекс int, двойное значение) DT_DOUBLE. |
TensorProto.Builder | |
TensorProto.Builder | setDtypeValue (целое значение) .tensorflow.DataType dtype = 1; |
TensorProto.Builder | setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
TensorProto.Builder | setFloatVal (целочисленный индекс, значение с плавающей запятой) DT_FLOAT. |
TensorProto.Builder | setHalfVal (целое число, целое значение) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | setInt64Val (целочисленный индекс, длинное значение) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | setIntVal (целочисленный индекс, целочисленное значение) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта) |
TensorProto.Builder | setResourceHandleVal (индекс int, ResourceHandleProto.Builder builderForValue) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | setResourceHandleVal (индекс int, значение ResourceHandleProto ) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | setScomplexVal (индекс int, значение с плавающей запятой) DT_COMPLEX64. |
TensorProto.Builder | setStringVal (индекс int, значение com.google.protobuf.ByteString) DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | setTensorContent (значение 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 (целочисленный индекс, целочисленное значение) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | setUint64Val (индекс int, длинное значение) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
окончательный TensorProto.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
TensorProto.Builder | setVariantVal (индекс int, значение VariantTensorDataProto ) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | setVariantVal (индекс int, VariantTensorDataProto.Builder builderForValue) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | setVersionNumber (целое значение) Version number. |
Унаследованные методы
Публичные методы
public TensorProto.Builder addAllBoolVal (Iterable<? расширяет логические значения>)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public TensorProto.Builder addAllDcomplexVal (Iterable<? расширяет значения 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<? расширяет значения Double>)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public TensorProto.Builder addAllFloatVal (Iterable<? расширяет значения Float>)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public TensorProto.Builder addAllHalfVal (Iterable<? расширяет значения 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<? расширяет значения Long>)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public TensorProto.Builder addAllIntVal (Iterable<? расширяет значения Integer>)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public TensorProto.Builder addAllResourceHandleVal (Iterable<? расширяет значения ResourceHandleProto >)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder addAllScomplexVal (Iterable<? расширяет значения 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<? расширяет значения ByteString>)
DT_STRING
repeated bytes string_val = 8;
public TensorProto.Builder addAllUint32Val (Iterable<? расширяет значения Integer>)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder addAllUint64Val (Iterable<? расширяет значения Long>)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public TensorProto.Builder addAllVariantVal (Iterable<? расширяет значения VariantTensorDataProto >)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder addBoolVal (логическое значение)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public TensorProto.Builder addDcomplexVal (двойное значение)
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 (двойное значение)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public TensorProto.Builder addFloatVal (значение с плавающей запятой)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public TensorProto.Builder addHalfVal (целое значение)
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 (длинное значение)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public TensorProto.Builder addIntVal (целое значение)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public TensorProto.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public TensorProto.Builder addResourceHandleVal (индекс int, ResourceHandleProto.Builder builderForValue)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder addResourceHandleVal (индекс int, значение ResourceHandleProto )
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder addResourceHandleVal (значение 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 (индекс int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
общедоступный ResourceHandleProto.Builder addResourceHandleValBuilder ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder addScomplexVal (число с плавающей запятой)
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];
общедоступный TensorProto.Builder addStringVal (значение com.google.protobuf.ByteString)
DT_STRING
repeated bytes string_val = 8;
public TensorProto.Builder addUint32Val (целое значение)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder addUint64Val (длинное значение)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public TensorProto.Builder addVariantVal (значение VariantTensorDataProto )
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder addVariantVal (индекс int, VariantTensorDataProto.Builder builderForValue)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder addVariantVal (индекс int, значение 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 (индекс int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
общедоступный VariantTensorDataProto.Builder addVariantValBuilder ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
общедоступный TensorProto.Builder ClearBoolVal ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
общедоступный 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];
общедоступный TensorProto.Builder ClearDoubleVal ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
общедоступный TensorProto.Builder ClearFloatVal ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
общедоступный 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];
общедоступный TensorProto.BuildercleInt64Val ( )
DT_INT64
repeated int64 int64_val = 10 [packed = true];
общедоступный TensorProto.Builder ClearIntVal ()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
общедоступный 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. 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];
общедоступный 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;
общедоступный TensorProto.Builder ClearTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
общедоступный 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. In version 0, if the "repeated xxx" representations contain only one element, that element is repeated to fill the shape. This makes it easy to represent a constant Tensor with a single value.
int32 version_number = 3;
общедоступное логическое значение getBoolVal (индекс int)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public int getBoolValCount ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
общедоступный список<Boolean> getBoolValList ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
общедоступный двойной getDcomplexVal (индекс 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];
общедоступный список<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];
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
общедоступный com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public double getDoubleVal (индекс int)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public int getDoubleValCount ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
общедоступный список<Double> getDoubleValList ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public int getDtypeValue ()
.tensorflow.DataType dtype = 1;
общедоступное число с плавающей запятой getFloatVal (индекс int)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public int getFloatValCount ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
общедоступный список<Float> getFloatValList ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public int getHalfVal (индекс 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];
общедоступный список<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 (индекс int)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public int getInt64ValCount ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
общедоступный список<Long> getInt64ValList ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public int getIntVal (индекс 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];
общедоступный список<Integer> getIntValList ()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public ResourceHandleProto getResourceHandleVal (индекс int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public ResourceHandleProto.Builder getResourceHandleValBuilder (индекс int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
общедоступный список < ResourceHandleProto.Builder > getResourceHandleValBuilderList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public int getResourceHandleValCount ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
общедоступный список < ResourceHandleProto > getResourceHandleValList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public ResourceHandleProtoOrBuilder getResourceHandleValOrBuilder (индекс int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
общедоступный список<? расширяет ResourceHandleProtoOrBuilder > getResourceHandleValOrBuilderList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
общедоступное число с плавающей запятой getScomplexVal (индекс 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];
общедоступный список<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 (индекс int)
DT_STRING
repeated bytes string_val = 8;
public int getStringValCount ()
DT_STRING
repeated bytes string_val = 8;
общедоступный список<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. 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;
общественный TensorShapeProto getTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
общедоступный 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)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public int getUint32ValCount ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
общедоступный список<Integer> getUint32ValList ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public long getUint64Val (индекс int)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public int getUint64ValCount ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
общедоступный список<Long> getUint64ValList ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public VariantTensorDataProto getVariantVal (индекс int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public VariantTensorDataProto.Builder getVariantValBuilder (индекс int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
общедоступный список < VariantTensorDataProto.Builder > getVariantValBuilderList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public int getVariantValCount ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
общедоступный список < VariantTensorDataProto > getVariantValList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public VariantTensorDataProtoOrBuilder getVariantValOrBuilder (индекс int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
общедоступный список<? расширяет VariantTensorDataProtoOrBuilder > getVariantValOrBuilderList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public int getVersionNumber ()
Version number. In version 0, if the "repeated xxx" representations contain only one element, that element is repeated to fill the shape. This makes it easy to represent a constant Tensor with a single value.
int32 version_number = 3;
общедоступное логическое значение hasTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
публичное финальное логическое значение isInitialized ()
общедоступный TensorProto.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
public TensorProto.Builder mergeTensorShape (значение TensorShapeProto )
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
публичный финальный TensorProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public TensorProto.Builder RemoveResourceHandleVal (индекс int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder RemoveVariantVal (индекс int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder setBoolVal (индекс int, логическое значение)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public TensorProto.Builder setDcomplexVal (индекс 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 TensorProto.Builder setDoubleVal (индекс int, двойное значение)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public TensorProto.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public TensorProto.Builder setFloatVal (индекс int, значение с плавающей запятой)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public TensorProto.Builder setHalfVal (индекс int, значение 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 (индекс int, длинное значение)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public TensorProto.Builder setIntVal (индекс int, значение int)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public TensorProto.Builder setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)
public TensorProto.Builder setResourceHandleVal (индекс int, ResourceHandleProto.Builder builderForValue)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder setResourceHandleVal (индекс int, значение ResourceHandleProto )
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder setScomplexVal (индекс 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 TensorProto.Builder setStringVal (индекс int, значение com.google.protobuf.ByteString)
DT_STRING
repeated bytes string_val = 8;
общедоступный TensorProto.Builder setTensorContent (значение 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 (значение 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 (индекс int, значение int)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder setUint64Val (индекс int, длинное значение)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
публичный финальный TensorProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public TensorProto.Builder setVariantVal (индекс int, значение VariantTensorDataProto )
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder setVariantVal (индекс int, VariantTensorDataProto.Builder builderForValue)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder setVersionNumber (целое значение)
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;