lớp cuối cùng công khai TensorProto
Protocol buffer representing a tensor.Tensorflow loại
tensorflow.TensorProto
Các lớp lồng nhau
lớp học | TensorProto.Builder | Protocol buffer representing a tensor. |
Hằng số
Phương pháp công cộng
boolean | bằng (Đối tượng obj) |
boolean | getBoolVal (chỉ số int) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
int | getBoolValCount () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
Danh sách<Boolean> | getBoolValList () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
gấp đôi | getDcomplexVal (chỉ số int) DT_COMPLEX128. |
int | getDcomplexValCount () DT_COMPLEX128. |
Danh sách<Đôi> | getDcomplexValList () DT_COMPLEX128. |
TensorProto tĩnh | |
TensorProto | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
gấp đôi | getDoubleVal (chỉ số int) DT_DOUBLE. |
int | getDoubleValCount () DT_DOUBLE. |
Danh sách<Đôi> | getDoubleValList () DT_DOUBLE. |
Loại dữ liệu | getDtype () .tensorflow.DataType dtype = 1; |
int | getDtypeValue () .tensorflow.DataType dtype = 1; |
trôi nổi | getFloatVal (chỉ số int) DT_FLOAT. |
int | getFloatValCount () DT_FLOAT. |
Danh sách<Float> | getFloatValList () DT_FLOAT. |
int | getHalfVal (chỉ số int) DT_HALF, DT_BFLOAT16. |
int | getHalfValCount () DT_HALF, DT_BFLOAT16. |
Danh sách<Số nguyên> | getHalfValList () DT_HALF, DT_BFLOAT16. |
dài | getInt64Val (chỉ số int) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
int | getInt64ValCount () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
Danh sách<Dài> | getInt64ValList () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
int | getIntVal (chỉ số int) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
int | getIntValCount () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
Danh sách<Số nguyên> | getIntValList () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
Tài NguyênXử LýProto | getResourceHandleVal (chỉ mục int) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
int | getResourceHandleValCount () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
Danh sách< ResourceHandleProto > | getResourceHandleValList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
ResourceHandleProtoOrBuilder | getResourceHandleValOrBuilder (chỉ mục int) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
Danh sách<? mở rộng ResourceHandleProtoOrBuilder > | getResourceHandleValOrBuilderList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
trôi nổi | getScomplexVal (chỉ mục int) DT_COMPLEX64. |
int | getScomplexValCount () DT_COMPLEX64. |
Danh sách<Float> | getScomplexValList () DT_COMPLEX64. |
int | |
com.google.protobuf.ByteString | getStringVal (chỉ số int) DT_STRING repeated bytes string_val = 8; |
int | getStringValCount () DT_STRING repeated bytes string_val = 8; |
Danh sách<ByteString> | getStringValList () DT_STRING repeated bytes string_val = 8; |
com.google.protobuf.ByteString | getTensorContent () Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. |
TensorShapeProto | getTensorShape () Shape of the tensor. |
TensorShapeProtoOrBuilder | getTensorShapeOrBuilder () Shape of the tensor. |
int | getUint32Val (chỉ số int) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
int | getUint32ValCount () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
Danh sách<Số nguyên> | getUint32ValList () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
dài | getUint64Val (chỉ số int) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
int | getUint64ValCount () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
Danh sách<Dài> | getUint64ValList () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
com.google.protobuf.UnknownFieldSet cuối cùng | |
Biến thể TensorDataProto | getVariantVal (chỉ số int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
int | getVariantValCount () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Danh sách< VariantTensorDataProto > | getVariantValList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Biến thểTensorDataProtoOrBuilder | getVariantValOrBuilder (chỉ mục int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Danh sách<? mở rộng VariantTensorDataProtoOrBuilder > | getVariantValOrBuilderList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
int | getVersionNumber () Version number. |
boolean | hasTensorShape () Shape of the tensor. |
int | Mã Băm () |
boolean cuối cùng | |
TensorProto.Builder tĩnh | |
TensorProto.Builder tĩnh | newBuilder ( nguyên mẫu TensorProto ) |
TensorProto.Builder | |
TensorProto tĩnh | phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào) |
TensorProto tĩnh | phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào, com.google.protobuf.ExtensionRegistryLite tiện ích mở rộngRegistry) |
TensorProto tĩnh | ParseFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
TensorProto tĩnh | ParseFrom (đầu vào com.google.protobuf.CodedInputStream) |
TensorProto tĩnh | ParseFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
TensorProto tĩnh | ParseFrom (dữ liệu ByteBuffer) |
TensorProto tĩnh | ParseFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
TensorProto tĩnh | ParseFrom (dữ liệu com.google.protobuf.ByteString) |
TensorProto tĩnh | ParseFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
TensorProto tĩnh | ParsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
tĩnh | |
TensorProto.Builder | toBuilder () |
trống rỗng | writeTo (đầu ra com.google.protobuf.CodedOutputStream) |
Phương pháp kế thừa
Hằng số
int tĩnh cuối cùng BOOL_VAL_FIELD_NUMBER
Giá trị không đổi: 11
int tĩnh cuối cùng DCOMPLEX_VAL_FIELD_NUMBER
Giá trị không đổi: 12
int tĩnh công khai DOUBLE_VAL_FIELD_NUMBER
Giá trị không đổi: 6
int tĩnh cuối cùng DTYPE_FIELD_NUMBER
Giá trị không đổi: 1
int tĩnh công khai FLOAT_VAL_FIELD_NUMBER
Giá trị không đổi: 5
int tĩnh công khai HALF_VAL_FIELD_NUMBER
Giá trị không đổi: 13
int cuối cùng tĩnh công khai INT64_VAL_FIELD_NUMBER
Giá trị không đổi: 10
int tĩnh công khai INT_VAL_FIELD_NUMBER
Giá trị không đổi: 7
int cuối cùng tĩnh công khai RESOURCE_HANDLE_VAL_FIELD_NUMBER
Giá trị không đổi: 14
int tĩnh công khai SCOMPLEX_VAL_FIELD_NUMBER
Giá trị không đổi: 9
int tĩnh cuối cùng STRING_VAL_FIELD_NUMBER
Giá trị không đổi: 8
int tĩnh cuối cùng TENSOR_CONTENT_FIELD_NUMBER
Giá trị không đổi: 4
int tĩnh cuối cùng TENSOR_SHAPE_FIELD_NUMBER
Giá trị không đổi: 2
int tĩnh công khai UINT32_VAL_FIELD_NUMBER
Giá trị không đổi: 16
int tĩnh công khai UINT64_VAL_FIELD_NUMBER
Giá trị không đổi: 17
int cuối cùng tĩnh công khai VARIANT_VAL_FIELD_NUMBER
Giá trị không đổi: 15
int tĩnh công khai VERSION_NUMBER_FIELD_NUMBER
Giá trị không đổi: 3
Phương pháp công cộng
boolean công khai bằng (Object obj)
boolean công khai getBoolVal (chỉ mục int)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
int công khai getBoolValCount ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
Danh sách công khai<Boolean> getBoolValList ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
công khai getDcomplexVal kép (chỉ mục 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];
int công khai 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];
Danh sách công khai<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];
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
công khai double getDoubleVal (chỉ mục int)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
int công khai getDoubleValCount ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
Danh sách công khai<Double> getDoubleValList ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
int công khai getDtypeValue ()
.tensorflow.DataType dtype = 1;
float công khai getFloatVal (chỉ mục int)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
int công khai getFloatValCount ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
Danh sách công khai<Float> getFloatValList ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
int công khai getHalfVal (chỉ mục 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];
int công khai 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];
Danh sách công khai<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];
công khai getInt64Val (chỉ mục int)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
int công khai getInt64ValCount ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
Danh sách công khai<Long> getInt64ValList ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
int công khai getIntVal (chỉ mục int)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
int công khai getIntValCount ()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
Danh sách công khai<Integer> getIntValList ()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
công cộng getParserForType ()
public ResourceHandleProto getResourceHandleVal (chỉ mục int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
int công khai getResourceHandleValCount ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
Danh sách công khai< ResourceHandleProto > getResourceHandleValList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public ResourceHandleProtoOrBuilder getResourceHandleValOrBuilder (chỉ mục int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
Danh sách công khai<? mở rộng ResourceHandleProtoOrBuilder > getResourceHandleValOrBuilderList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
float công khai getScomplexVal (chỉ mục 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];
int công khai 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];
Danh sách công khai<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];
int công khai getSerializedSize ()
com.google.protobuf.ByteString getStringVal công khai (chỉ mục int)
DT_STRING
repeated bytes string_val = 8;
int công khai getStringValCount ()
DT_STRING
repeated bytes string_val = 8;
Danh sách công khai<ByteString> getStringValList ()
DT_STRING
repeated bytes string_val = 8;
com.google.protobuf.ByteString getTensorContent công khai ()
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;
công khai TensorShapeProto getTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
công khai TensorShapeProtoOrBuilder getTensorShapeOrBuilder ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
int công khai getUint32Val (chỉ mục int)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
int công khai getUint32ValCount ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
Danh sách công khai<Integer> getUint32ValList ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
getUint64Val dài công khai (chỉ mục int)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
int công khai getUint64ValCount ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
Danh sách công khai<Long> getUint64ValList ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
trận chung kết công khai com.google.protobuf.UnknownFieldSet getUnknownFields ()
public VariantTensorDataProto getVariantVal (chỉ mục int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
int công khai getVariantValCount ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Danh sách công khai< VariantTensorDataProto > getVariantValList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public VariantTensorDataProtoOrBuilder getVariantValOrBuilder (chỉ mục int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Danh sách công khai<? mở rộng VariantTensorDataProtoOrBuilder > getVariantValOrBuilderList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
int công khai 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;
boolean công khai hasTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
mã băm int công khai ()
boolean cuối cùng công khai được khởi tạo ()
tĩnh công khai TensorProto parsingDelimitedFrom (Đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
tĩnh công khai TensorProto parsingFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
tĩnh công khai TensorProto parsFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
tĩnh công khai TensorProto parsFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
tĩnh công khai TensorProto parsFrom (dữ liệu com.google.protobuf.ByteString)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
tĩnh công khai TensorProto parsFrom (Đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
tĩnh công khai TensorProto parsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
công cộng tĩnh trình phân tích cú pháp ()
public void writeTo (đầu ra com.google.protobuf.CodedOutputStream)
Ném
IOException |
---|