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
كثافة العمليات SCOPLEX_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 (فهرس كثافة العمليات)
 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];
كثافة العمليات
الحصول على BoolValCount ()
 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];
قائمة <منطقية>
الحصول على BoolValList ()
 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];
مزدوج
getDcomplexVal (فهرس كثافة العمليات)
 DT_COMPLEX128.
كثافة العمليات
قائمة<مزدوجة>
getDcomplexValList ()
 DT_COMPLEX128.
ثابت TensorProto
TensorProto
النهائي الثابت com.google.protobuf.Descriptors.Descriptor
مزدوج
getDoubleVal (فهرس كثافة العمليات)
 DT_DOUBLE.
كثافة العمليات
قائمة<مزدوجة>
نوع البيانات
الحصول على نوع ()
.tensorflow.DataType dtype = 1;
كثافة العمليات
الحصول علىDtypeValue ()
.tensorflow.DataType dtype = 1;
يطفو
getFloatVal (فهرس كثافة العمليات)
 DT_FLOAT.
كثافة العمليات
getFloatValCount ()
 DT_FLOAT.
قائمة <تعويم>
getFloatValList ()
 DT_FLOAT.
كثافة العمليات
getHalfVal (فهرس كثافة العمليات)
 DT_HALF, DT_BFLOAT16.
كثافة العمليات
القائمة<عدد صحيح>
الحصول علىHalfValList ()
 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.
كثافة العمليات
جيتينتفالكونت ()
 DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
القائمة<عدد صحيح>
جيتينتفاليست ()
 DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
ResourceHandleProto
getResourceHandleVal (فهرس كثافة العمليات)
 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 (فهرس كثافة العمليات)
 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;
كثافة العمليات
الحصول على StringValCount ()
 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
الحصول على TensorShape ()
 Shape of the tensor.
TensorShapeProtoOrBuilder
كثافة العمليات
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];
النهائي com.google.protobuf.UnknownFieldSet
VariantTensorDataProto
getVariantVal (فهرس كثافة العمليات)
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
كثافة العمليات
الحصول على VariantValCount ()
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
القائمة< VariantTensorDataProto >
الحصول على VariantValList ()
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
VariantTensorDataProtoOrBuilder
getVariantValOrBuilder (فهرس كثافة العمليات)
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
القائمة<؟ يمتد VariantTensorDataProtoOrBuilder >
getVariantValOrBuilderList ()
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
كثافة العمليات
منطقية
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 (بيانات البايت[]، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
ثابت TensorProto
parseFrom (بيانات ByteBuffer)
ثابت TensorProto
parseFrom (com.google.protobuf.CodedInputStream input، 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 data، 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

العدد النهائي الثابت العام TENSOR_CONTENT_FIELD_NUMBER

القيمة الثابتة: 4

العدد النهائي الثابت العام TENSOR_SHAPE_FIELD_NUMBER

القيمة الثابتة: 2

int النهائي الثابت العام UINT32_VAL_FIELD_NUMBER

القيمة الثابتة: 16

int النهائي الثابت العام UINT64_VAL_FIELD_NUMBER

القيمة الثابتة: 17

العدد النهائي الثابت العام VARIANT_VAL_FIELD_NUMBER

القيمة الثابتة: 15

العدد النهائي الثابت العام 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];

القائمة العامة<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];

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

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

القائمة العامة<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];

getInt64Val العام الطويل (مؤشر int)

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

int العام getInt64ValCount ()

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

القائمة العامة<Long> getInt64ValList ()

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

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

القائمة العامة<Integer> getIntValList ()

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

عام الحصول على بارسيرفورتيب ()

ResourceHandleProto العام getResourceHandleVal (فهرس كثافة العمليات)

 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;

GetResourceHandleProtoOrBuilder العام getResourceHandleValOrBuilder (فهرس كثافة العمليات)

 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 public 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 public getUint32Val (مؤشر int)

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

int العام getUint32ValCount ()

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

القائمة العامة<Integer> 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];

القائمة العامة<Long> 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 (فهرس كثافة العمليات)

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

القائمة العامة <؟ يمتد VariantTensorDataProtoOrBuilder > getVariantValOrBuilderList ()

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

int public 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;

كود التجزئة الدولي العام ()

تمت تهيئة القيمة المنطقية النهائية العامة ()

TensorProto.Builder العام الثابت newBuilder ()

TensorProto.Builder العام الثابت newBuilder (النموذج الأولي لـ TensorProto )

TensorProto.Builder العام newBuilderForType ()

TensorProto parseDelimitedFrom الثابت العام (إدخال InputStream)

رميات
IOEException

TensorProto parseDelimitedFrom الثابت العام (إدخال InputStream، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

رميات
IOEException

TensorProto parseFrom الثابت العام (بيانات ByteBuffer، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

رميات
InvalidProtocolBufferException

تحليل TensorProto الثابت العام (com.google.protobuf.CodedInputStream input)

رميات
IOEException

TensorProto parseFrom الثابت العام (بيانات البايت []، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

رميات
InvalidProtocolBufferException

TensorProto parseFrom الثابت العام (بيانات ByteBuffer)

رميات
InvalidProtocolBufferException

TensorProto parseFrom الثابت العام (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

رميات
IOEException

TensorProto parseFrom الثابت العام (بيانات com.google.protobuf.ByteString)

رميات
InvalidProtocolBufferException

TensorProto parseFrom الثابت العام (إدخال InputStream، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

رميات
IOEException

TensorProto parseFrom الثابت العام (com.google.protobuf.ByteString data، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

رميات
InvalidProtocolBufferException

ساكنة عامة محلل ()

TensorProto.Builder toBuilder () العام

الكتابة إلى الفراغ العام (إخراج com.google.protobuf.CodedOutputStream)

رميات
IOEException