TensorProto

パブリック最終クラスTensorProto

 Protocol buffer representing a tensor.
 
Protobuf 型tensorflow.TensorProto

ネストされたクラス

クラスTensorProto.Builder
 Protocol buffer representing a tensor. 

定数

整数BOOL_VAL_FIELD_NUMBER
整数DCOMPLEX_VAL_FIELD_NUMBER
整数DOUBLE_VAL_FIELD_NUMBER
整数DTYPE_FIELD_NUMBER
整数FLOAT_VAL_FIELD_NUMBER
整数HALF_VAL_FIELD_NUMBER
整数INT64_VAL_FIELD_NUMBER
整数INT_VAL_FIELD_NUMBER
整数RESOURCE_HANDLE_VAL_FIELD_NUMBER
整数SCOMPLEX_VAL_FIELD_NUMBER
整数STRING_VAL_FIELD_NUMBER
整数TENSOR_CONTENT_FIELD_NUMBER
整数TENSOR_SHAPE_FIELD_NUMBER
整数UINT32_VAL_FIELD_NUMBER
整数UINT64_VAL_FIELD_NUMBER
整数VARIANT_VAL_FIELD_NUMBER
整数VERSION_NUMBER_FIELD_NUMBER

パブリックメソッド

ブール値
等しい(オブジェクトオブジェクト)
ブール値
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.
静的TensorProto
テンソルプロト
最終的な静的 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;
整数
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.
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];
最終的な com.google.protobuf.UnknownFieldSet
VariantTensorDataProto
getVariantVal (int インデックス)
 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
静的TensorProto.Builder
newBuilder ( TensorProtoプロトタイプ)
TensorProto.Builder
静的TensorProto
parseDelimitedFrom (InputStream 入力)
静的TensorProto
parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的TensorProto
parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的TensorProto
parseFrom (com.google.protobuf.CodedInputStream 入力)
静的TensorProto
parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的TensorProto
parseFrom (ByteBuffer データ)
静的TensorProto
parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的TensorProto
parseFrom (com.google.protobuf.ByteString データ)
静的TensorProto
parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的TensorProto
parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的
TensorProto.Builder
空所
writeTo (com.google.protobuf.CodedOutputStream 出力)

継承されたメソッド

定数

パブリック静的最終整数BOOL_VAL_FIELD_NUMBER

定数値: 11

パブリック静的最終整数DCOMPLEX_VAL_FIELD_NUMBER

定数値: 12

パブリック静的最終整数DOUBLE_VAL_FIELD_NUMBER

定数値: 6

パブリック静的最終整数DTYPE_FIELD_NUMBER

定数値: 1

パブリック静的最終整数FLOAT_VAL_FIELD_NUMBER

定数値: 5

パブリック静的最終整数HALF_VAL_FIELD_NUMBER

定数値: 13

パブリック静的最終整数INT64_VAL_FIELD_NUMBER

定数値: 10

パブリック静的最終整数INT_VAL_FIELD_NUMBER

定数値: 7

パブリック静的最終整数RESOURCE_HANDLE_VAL_FIELD_NUMBER

定数値: 14

パブリック静的最終整数SCOMPLEX_VAL_FIELD_NUMBER

定数値: 9

パブリック静的最終整数STRING_VAL_FIELD_NUMBER

定数値: 8

public static Final int TENSOR_CONTENT_FIELD_NUMBER

定数値: 4

パブリック静的最終整数TENSOR_SHAPE_FIELD_NUMBER

定数値: 2

パブリック静的最終整数UINT32_VAL_FIELD_NUMBER

定数値: 16

パブリック静的最終整数UINT64_VAL_FIELD_NUMBER

定数値: 17

パブリック静的最終整数VARIANT_VAL_FIELD_NUMBER

定数値: 15

パブリック静的最終整数VERSION_NUMBER_FIELD_NUMBER

定数値: 3

パブリックメソッド

public booleanに等しい(オブジェクト obj)

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 TensorProto getDefaultInstance ()

public TensorProto getDefaultInstanceForType ()

public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

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 DataType getDtype ()

.tensorflow.DataType dtype = 1;

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];

公共getParserForType ()

public ResourceHandleProto getResourceHandleVal (int インデックス)

 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 int getSerializedSize ()

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 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 Final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public VariantTensorDataProto getVariantVal (int インデックス)

 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;

public int hashCode ()

パブリック最終ブール値isInitialized ()

public static TensorProto.Builder newBuilder ()

public static TensorProto.Builder newBuilder ( TensorProtoプロトタイプ)

public TensorProto.Builder newBuilderForType ()

public static TensorProto parseDelimitedFrom (InputStream 入力)

投げる
IO例外

public static TensorProto parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static TensorProto parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

public static TensorProto parseFrom (com.google.protobuf.CodedInputStream 入力)

投げる
IO例外

public static TensorProto parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

public static TensorProto parseFrom (ByteBuffer データ)

投げる
無効なプロトコルバッファ例外

public static TensorProto parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static TensorProto parseFrom (com.google.protobuf.ByteString データ)

投げる
無効なプロトコルバッファ例外

public static TensorProto parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static TensorProto parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

パブリック静的パーサー()

public TensorProto.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream 出力)

投げる
IO例外