パブリック静的最終クラスTensorProto.Builder
Protocol buffer representing a tensor.Protobuf 型
tensorflow.TensorProto
パブリックメソッド
TensorProto.Builder | addAllBoolVal (Iterable<? extends Boolean> 値) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | addAllDcomplexVal (Iterable<? extends Double> 値) DT_COMPLEX128. |
TensorProto.Builder | addAllDoubleVal (Iterable<? extends Double> 値) DT_DOUBLE. |
TensorProto.Builder | addAllFloatVal (Iterable<? extends Float> 値) DT_FLOAT. |
TensorProto.Builder | addAllHalfVal (Iterable<? extends Integer> 値) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | addAllInt64Val (Iterable<? extends Long> 値) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | addAllIntVal (Iterable<? extends Integer> 値) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | addAllResourceHandleVal (Iterable<? extends ResourceHandleProto > 値) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addAllScomplexVal (Iterable<? extends Float> 値) DT_COMPLEX64. |
TensorProto.Builder | addAllStringVal (Iterable<? extends ByteString> 値) DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | addAllUint32Val (Iterable<? extends Integer> 値) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | addAllUint64Val (Iterable<? extends Long> 値) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
TensorProto.Builder | addAllVariantVal (Iterable<? extends 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 (int 値) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | addInt64Val (長い値) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | addIntVal (int 値) 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 (int 値) 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; |
VariantTensorDataProto.Builder | addVariantValBuilder (int インデックス) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProto.Builder | addValiantValBuilder () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
テンソルプロト | 建てる() |
テンソルプロト | buildPartial () |
TensorProto.Builder | クリア() |
TensorProto.Builder | クリアブール値() DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | クリアDcomplexVal () DT_COMPLEX128. |
TensorProto.Builder | クリアダブルヴァル() DT_DOUBLE. |
TensorProto.Builder | クリアDtype () .tensorflow.DataType dtype = 1; |
TensorProto.Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド) |
TensorProto.Builder | ClearFloatVal () DT_FLOAT. |
TensorProto.Builder | クリアハーフヴァル() 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 | クリアストリングヴァル() 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 | クリア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 | ClearVariantVal () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | clearVersionNumber () Version number. |
TensorProto.Builder | クローン() |
ブール値 | getBoolVal (int インデックス) 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 (int インデックス) DT_COMPLEX128. |
整数 | getDcomplexValCount () DT_COMPLEX128. |
リスト<Double> | getDcomplexValList () DT_COMPLEX128. |
テンソルプロト | |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
ダブル | getDoubleVal (int インデックス) DT_DOUBLE. |
整数 | getDoubleValCount () DT_DOUBLE. |
リスト<Double> | getDoubleValList () DT_DOUBLE. |
データ・タイプ | getDtype () .tensorflow.DataType dtype = 1; |
整数 | getDtypeValue () .tensorflow.DataType dtype = 1; |
浮く | getFloatVal (int インデックス) DT_FLOAT. |
整数 | getFloatValCount () DT_FLOAT. |
リスト<浮動小数点数> | getFloatValList () DT_FLOAT. |
整数 | getHalfVal (int インデックス) DT_HALF, DT_BFLOAT16. |
整数 | getHalfValCount () DT_HALF, DT_BFLOAT16. |
リスト<整数> | getHalfValList () DT_HALF, DT_BFLOAT16. |
長さ | getInt64Val (int インデックス) 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 (int インデックス) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
整数 | getIntValCount () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
リスト<整数> | getIntValList () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
リソースハンドルプロト | getResourceHandleVal (int インデックス) 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; |
リスト< ResourceHandleProto > | 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 (int インデックス) DT_COMPLEX64. |
整数 | getScomplexValCount () DT_COMPLEX64. |
リスト<浮動小数点数> | getScomplexValList () DT_COMPLEX64. |
com.google.protobuf.ByteString | getStringVal (int インデックス) DT_STRING repeated bytes string_val = 8; |
整数 | getStringValCount () DT_STRING repeated bytes string_val = 8; |
リスト<バイト文字列> | 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. |
テンソル形状プロト | getTensorShape () Shape of the tensor. |
TensorShapeProto.Builder | getTensorShapeBuilder () Shape of the tensor. |
TensorShapeProtoOrBuilder | getTensorShapeOrBuilder () Shape of the tensor. |
整数 | getUint32Val (int インデックス) 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 (int インデックス) 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]; |
VariantTensorDataProto | getVariantVal (int インデックス) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProto.Builder | getVariantValBuilder (int インデックス) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
リスト< VariantTensorDataProto.Builder > | getValiantValBuilderList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
整数 | getVariantValCount () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
List< VariantTensorDataProto > | getVariantValList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProtoOrBuilder | getVariantValOrBuilder (int インデックス) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
リスト<? VariantTensorDataProtoOrBuilderを拡張 > | getVariantValOrBuilderList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
整数 | getVersionNumber () Version number. |
ブール値 | hasTensorShape () Shape of the tensor. |
最終ブール値 | |
TensorProto.Builder | mergeFrom (com.google.protobuf.Message other) |
TensorProto.Builder | mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorProto.Builder | |
最終的なTensorProto.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド) |
TensorProto.Builder | RemoveResourceHandleVal (int インデックス) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | RemoveVariantVal (int インデックス) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | setBoolVal (int インデックス、ブール値) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | setDcomplexVal (int インデックス、double 値) DT_COMPLEX128. |
TensorProto.Builder | setDoubleVal (int インデックス、double 値) DT_DOUBLE. |
TensorProto.Builder | |
TensorProto.Builder | setDtypeValue (int 値) .tensorflow.DataType dtype = 1; |
TensorProto.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値) |
TensorProto.Builder | setFloatVal (int インデックス、float 値) DT_FLOAT. |
TensorProto.Builder | setHalfVal (int インデックス、int 値) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | setInt64Val (int インデックス、long 値) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | setIntVal (int インデックス、int 値) 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 インデックス、float 値) 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 (int インデックス、int 値) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | setUint64Val (int インデックス、long 値) 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 (int 値) Version number. |
継承されたメソッド
パブリックメソッド
public TensorProto.Builder addAllBoolVal (Iterable<? extends Boolean> 値)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public TensorProto.Builder addAllDcomplexVal (Iterable<? extends 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<? extends Double> 値)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public TensorProto.Builder addAllFloatVal (Iterable<? extends Float> 値)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public TensorProto.Builder addAllHalfVal (Iterable<? extends 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<? extends Long> 値)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public TensorProto.Builder addAllIntVal (Iterable<? extends Integer> 値)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public TensorProto.Builder addAllResourceHandleVal (Iterable<? extends ResourceHandleProto > 値)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder addAllScomplexVal (Iterable<? extends 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<? extends ByteString> 値)
DT_STRING
repeated bytes string_val = 8;
public TensorProto.Builder addAllUint32Val (Iterable<? extends Integer> 値)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder addAllUint64Val (Iterable<? extends Long> 値)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public TensorProto.Builder addAllVariantVal (Iterable<? extends VariantTensorDataProto > 値)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
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 (double 値)
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 (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 (long 値)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public TensorProto.Builder addIntVal (int 値)
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;
public 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];
public TensorProto.Builder addStringVal (com.google.protobuf.ByteString 値)
DT_STRING
repeated bytes string_val = 8;
public TensorProto.Builder addUint32Val (int 値)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder addUint64Val (long 値)
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;
public VariantTensorDataProto.Builder addVariantValBuilder ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder clearDcomplexVal ()
DT_COMPLEX128. dcomplex_val(2*i) and dcomplex_val(2*i+1) are real and imaginary parts of i-th double precision complex.
repeated double dcomplex_val = 12 [packed = true];
public TensorProto.Builder clearDoubleVal ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public TensorProto.Builder clearHalfVal ()
DT_HALF, DT_BFLOAT16. Note that since protobuf has no int16 type, we'll have some pointless zero padding for each value here.
repeated int32 half_val = 13 [packed = true];
public TensorProto.Builder clearIntVal ()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public TensorProto.Builder clearResourceHandleVal ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder clearScomplexVal ()
DT_COMPLEX64. scomplex_val(2*i) and scomplex_val(2*i+1) are real and imaginary parts of i-th single precision complex.
repeated float scomplex_val = 9 [packed = true];
public TensorProto.Builder clearTensorContent ()
Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. This representation can be used for all tensor types. The purpose of this representation is to reduce serialization overhead during RPC call by avoiding serialization of many repeated small items.
bytes tensor_content = 4;
public TensorProto.Builder clearTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
public TensorProto.Builder clearUint32Val ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder clearUint64Val ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public TensorProto.Builder clearVariantVal ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder clearVersionNumber ()
Version number. In version 0, if the "repeated xxx" representations contain only one element, that element is repeated to fill the shape. This makes it easy to represent a constant Tensor with a single value.
int32 version_number = 3;
public boolean getBoolVal (int インデックス)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public 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 (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];
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 (int インデックス)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public int getDoubleValCount ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public List<Double> getDoubleValList ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public int getDtypeValue ()
.tensorflow.DataType dtype = 1;
public float getFloatVal (int インデックス)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public 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 (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];
public List<Integer> getHalfValList ()
DT_HALF, DT_BFLOAT16. Note that since protobuf has no int16 type, we'll have some pointless zero padding for each value here.
repeated int32 half_val = 13 [packed = true];
public long getInt64Val (int インデックス)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public int getInt64ValCount ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public List<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];
public List<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;
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;
public ResourceHandleProtoOrBuilder getResourceHandleValOrBuilder (int インデックス)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
公開リスト<? extends ResourceHandleProtoOrBuilder > getResourceHandleValOrBuilderList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public float 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];
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 (int インデックス)
DT_STRING
repeated bytes string_val = 8;
public 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;
public TensorShapeProto getTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
public TensorShapeProto.Builder getTensorShapeBuilder ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
public TensorShapeProtoOrBuilder getTensorShapeOrBuilder ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
public int getUint32Val (int インデックス)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public int getUint32ValCount ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public List<Integer> getUint32ValList ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public long getUint64Val (int インデックス)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public int getUint64ValCount ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public List<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;
public List< VariantTensorDataProto.Builder > getVariantValBuilderList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public 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 (int インデックス)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
公開リスト<? extends 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;
public boolean hasTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
パブリック最終ブール値isInitialized ()
public 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;
public Final TensorProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
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 インデックス、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 (int インデックス、double 値)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public TensorProto.Builder setFloatVal (int インデックス、float 値)
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 インデックス、long 値)
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 インデックス、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 (int インデックス、com.google.protobuf.ByteString 値)
DT_STRING
repeated bytes string_val = 8;
public 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 インデックス、long 値)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
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 (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;