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

วิธีการสาธารณะ

บูลีน
เท่ากับ (วัตถุ obj)
บูลีน
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.
รายการ<สองเท่า>
getDcomplexValList ()
 DT_COMPLEX128.
TensorProto แบบคงที่
เทนเซอร์โปรโต
com.google.protobuf.Descriptors.Descriptor แบบคงที่ขั้นสุดท้าย
สองเท่า
getDoubleVal (ดัชนี int)
 DT_DOUBLE.
ภายใน
getDoubleValCount ()
 DT_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.
ภายใน
รับ HalfValCount ()
 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.
ResourceHandleProto
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;
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.
ภายใน
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.
เทนเซอร์รูปร่างโปรโต
รับ TensorShape ()
 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
ตัวแปร TensorDataProto
getVariantVal (ดัชนี int)
 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;
ภายใน
getVersionNumber ()
 Version number.
บูลีน
ภายใน
บูลีนสุดท้าย
TensorProto.Builder แบบคงที่
TensorProto.Builder แบบคงที่
newBuilder (ต้นแบบ TensorProto )
TensorProto.Builder
TensorProto แบบคงที่
parseDelimitedFrom (อินพุต InputStream)
TensorProto แบบคงที่
parseDelimitedFrom (อินพุตสตรีม com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensorProto แบบคงที่
parseFrom (ข้อมูล ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensorProto แบบคงที่
parseFrom (com.google.protobuf.CodedInputStream อินพุต)
TensorProto แบบคงที่
parseFrom (ข้อมูลไบต์ [], 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

สาธารณะคงสุดท้าย int DCOMPLEX_VAL_FIELD_NUMBER

ค่าคงที่: 12

รอบชิงชนะเลิศแบบคงที่สาธารณะ int DOUBLE_VAL_FIELD_NUMBER

ค่าคงที่: 6

สาธารณะคงสุดท้าย int DTYPE_FIELD_NUMBER

ค่าคงที่: 1

สาธารณะคงสุดท้าย int FLOAT_VAL_FIELD_NUMBER

ค่าคงที่: 5

สาธารณะคงสุดท้าย int HALF_VAL_FIELD_NUMBER

ค่าคงที่: 13

สาธารณะคงสุดท้าย int INT64_VAL_FIELD_NUMBER

ค่าคงที่: 10

รอบชิงชนะเลิศแบบคงที่สาธารณะ int INT_VAL_FIELD_NUMBER

ค่าคงที่: 7

สาธารณะคงที่ขั้นสุดท้าย int RESOURCE_HANDLE_VAL_FIELD_NUMBER

ค่าคงที่: 14

รอบชิงชนะเลิศแบบคงที่สาธารณะ int SCOMPLEX_VAL_FIELD_NUMBER

ค่าคงที่: 9

สาธารณะคงสุดท้าย int STRING_VAL_FIELD_NUMBER

ค่าคงที่: 8

รอบชิงชนะเลิศแบบคงที่สาธารณะ TENSOR_CONTENT_FIELD_NUMBER

ค่าคงที่: 4

สาธารณะคงสุดท้าย int TENSOR_SHAPE_FIELD_NUMBER

ค่าคงที่: 2

สาธารณะคงสุดท้าย int UINT32_VAL_FIELD_NUMBER

ค่าคงที่: 16

สาธารณะคงสุดท้าย int UINT64_VAL_FIELD_NUMBER

ค่าคงที่: 17

รอบชิงชนะเลิศแบบคงที่สาธารณะ int VARIANT_VAL_FIELD_NUMBER

ค่าคงที่: 15

สาธารณะคงสุดท้าย int VERSION_NUMBER_FIELD_NUMBER

ค่าคงที่: 3

วิธีการสาธารณะ

บูลีนสาธารณะ เท่ากับ (Object obj)

บูลีนสาธารณะ getBoolVal (ดัชนี int)

 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];

สาธารณะ int getBoolValCount ()

 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];

รายการสาธารณะ <บูลีน> 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];

สาธารณะ 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];

TensorProto สาธารณะคงที่ getDefaultInstance ()

TensorProto สาธารณะ getDefaultInstanceForType ()

สาธารณะคงที่สุดท้าย com.google.protobuf.Descriptors.Descriptor getDescriptor ()

สาธารณะ double getDoubleVal (ดัชนี int)

 DT_DOUBLE.
 
repeated double double_val = 6 [packed = true];

int สาธารณะ getDoubleValCount ()

 DT_DOUBLE.
 
repeated double double_val = 6 [packed = true];

รายการสาธารณะ <Double> getDoubleValList ()

 DT_DOUBLE.
 
repeated double double_val = 6 [packed = true];

ประเภทข้อมูล สาธารณะ getDtype ()

.tensorflow.DataType dtype = 1;

สาธารณะ int getDtypeValue ()

.tensorflow.DataType dtype = 1;

โฟลตสาธารณะ getFloatVal (ดัชนี int)

 DT_FLOAT.
 
repeated float float_val = 5 [packed = true];

สาธารณะ int getFloatValCount ()

 DT_FLOAT.
 
repeated float float_val = 5 [packed = true];

รายการสาธารณะ <Float> getFloatValList ()

 DT_FLOAT.
 
repeated float float_val = 5 [packed = true];

สาธารณะ 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];

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

รายการสาธารณะ <จำนวนเต็ม> 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];

สาธารณะ getInt64Val แบบยาว (ดัชนี int)

 DT_INT64
 
repeated int64 int64_val = 10 [packed = true];

สาธารณะ int getInt64ValCount ()

 DT_INT64
 
repeated int64 int64_val = 10 [packed = true];

รายการสาธารณะ <ยาว> getInt64ValList ()

 DT_INT64
 
repeated int64 int64_val = 10 [packed = true];

สาธารณะ int getIntVal (ดัชนี int)

 DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
 
repeated int32 int_val = 7 [packed = true];

สาธารณะ int getIntValCount ()

 DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
 
repeated int32 int_val = 7 [packed = true];

รายการสาธารณะ <จำนวนเต็ม> getIntValList ()

 DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
 
repeated int32 int_val = 7 [packed = true];

สาธารณะ getParserForType ()

ResourceHandleProto สาธารณะ getResourceHandleVal (ดัชนี int)

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

int สาธารณะ getResourceHandleValCount ()

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

รายการสาธารณะ < ResourceHandleProto > getResourceHandleValList ()

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

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

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

สาธารณะ int getSerializedSize ()

สาธารณะ com.google.protobuf.ByteString getStringVal (ดัชนี int)

 DT_STRING
 
repeated bytes string_val = 8;

สาธารณะ 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;

สาธารณะ TensorShapeProtoOrBuilder getTensorShapeOrBuilder ()

 Shape of the tensor.  TODO(touts): sort out the 0-rank issues.
 
.tensorflow.TensorShapeProto tensor_shape = 2;

สาธารณะ int getUint32Val (ดัชนี int)

 DT_UINT32
 
repeated uint32 uint32_val = 16 [packed = true];

สาธารณะ int 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];

สาธารณะ int getUint64ValCount ()

 DT_UINT64
 
repeated uint64 uint64_val = 17 [packed = true];

รายการสาธารณะ <ยาว> getUint64ValList ()

 DT_UINT64
 
repeated uint64 uint64_val = 17 [packed = true];

สาธารณะสุดท้าย com.google.protobuf.UnknownFieldSet getUnknownFields ()

VariantTensorDataProto สาธารณะ getVariantVal (ดัชนี int)

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

int สาธารณะ getVariantValCount ()

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

รายการสาธารณะ < 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;

สาธารณะ 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;

สาธารณะ int hashCode ()

บูลีนสุดท้ายสาธารณะ isInitialized ()

สาธารณะ TensorProto.Builder newBuilder คงที่ ()

สาธารณะ TensorProto.Builder newBuilder แบบคงที่ (ต้นแบบ TensorProto )

สาธารณะ TensorProto.Builder newBuilderForType ()

สาธารณะ TensorProto แบบคงที่ parseDelimitedFrom (อินพุต InputStream)

ขว้าง
IOข้อยกเว้น

สาธารณะ TensorProto parseDelimitedFrom แบบคงที่ (อินพุตสตรีม, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
IOข้อยกเว้น

สาธารณะ TensorProto parseFrom แบบคงที่ (ข้อมูล ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
ProtocolBufferException ไม่ถูกต้อง

TensorProto แบบคงที่สาธารณะ แยกวิเคราะห์ (com.google.protobuf.CodedInputStream อินพุต)

ขว้าง
IOข้อยกเว้น

TensorProto แบบคงที่สาธารณะ แยกวิเคราะห์ (ข้อมูลไบต์ [], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
ProtocolBufferException ไม่ถูกต้อง

TensorProto แบบคงที่สาธารณะ แยกวิเคราะห์ (ข้อมูล ByteBuffer)

ขว้าง
ProtocolBufferException ไม่ถูกต้อง

TensorProto แบบคงที่สาธารณะ parseFrom (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
IOข้อยกเว้น

TensorProto แบบคงที่สาธารณะ แยกวิเคราะห์ (ข้อมูล com.google.protobuf.ByteString)

ขว้าง
ProtocolBufferException ไม่ถูกต้อง

สาธารณะ TensorProto parseFrom แบบคงที่ (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
IOข้อยกเว้น

TensorProto แบบคงที่สาธารณะ แยกวิเคราะห์ (ข้อมูล com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
ProtocolBufferException ไม่ถูกต้อง

สาธารณะคงที่ ตัวแยกวิเคราะห์ ()

สาธารณะ TensorProto.Builder toBuilder ()

โมฆะสาธารณะ writeTo (com.google.protobuf.CodedOutputStream เอาต์พุต)

ขว้าง
IOข้อยกเว้น