सार्वजनिक अंतिम वर्ग TensorProto
Protocol buffer representing a tensor.प्रोटोबफ़ प्रकार
tensorflow.TensorProto
नेस्टेड क्लासेस
कक्षा | TensorProto.बिल्डर | Protocol buffer representing a tensor. |
स्थिरांक
int यहाँ | BOOL_VAL_FIELD_NUMBER | |
int यहाँ | DCOMPLEX_VAL_FIELD_NUMBER | |
int यहाँ | DOUBLE_VAL_FIELD_NUMBER | |
int यहाँ | DTYPE_FIELD_NUMBER | |
int यहाँ | FLOAT_VAL_FIELD_NUMBER | |
int यहाँ | HALF_VAL_FIELD_NUMBER | |
int यहाँ | INT64_VAL_FIELD_NUMBER | |
int यहाँ | INT_VAL_FIELD_NUMBER | |
int यहाँ | RESOURCE_HANDLE_VAL_FIELD_NUMBER | |
int यहाँ | SCOMPLEX_VAL_FIELD_NUMBER | |
int यहाँ | STRING_VAL_FIELD_NUMBER | |
int यहाँ | TENSOR_CONTENT_FIELD_NUMBER | |
int यहाँ | TENSOR_SHAPE_FIELD_NUMBER | |
int यहाँ | UINT32_VAL_FIELD_NUMBER | |
int यहाँ | UINT64_VAL_FIELD_NUMBER | |
int यहाँ | VARIANT_VAL_FIELD_NUMBER | |
int यहाँ | संस्करण_NUMBER_FIELD_NUMBER |
सार्वजनिक तरीके
बूलियन | बराबर (वस्तु 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. |
int यहाँ | getDcomplexValCount () DT_COMPLEX128. |
सूची<डबल> | getDcomplexValList () DT_COMPLEX128. |
स्थिर टेंसरप्रोटो | |
टेंसरप्रोटो | |
अंतिम स्थिर com.google.protobuf.Descriptors.Descriptor | |
दोहरा | getDoubleVal (इंट इंडेक्स) DT_DOUBLE. |
int यहाँ | getDoubleValCount () DT_DOUBLE. |
सूची<डबल> | getDoubleValList () DT_DOUBLE. |
डेटा प्रकार | getDtype () .tensorflow.DataType dtype = 1; |
int यहाँ | getDtypeValue () .tensorflow.DataType dtype = 1; |
तैरना | getFloatVal (int सूचकांक) DT_FLOAT. |
int यहाँ | getFloatValCount () DT_FLOAT. |
सूची<फ्लोट> | getFloatValList () DT_FLOAT. |
int यहाँ | getHalfVal (int सूचकांक) DT_HALF, DT_BFLOAT16. |
int यहाँ | getHalfValCount () DT_HALF, DT_BFLOAT16. |
सूची<पूर्णांक> | getHalfValList () DT_HALF, DT_BFLOAT16. |
लंबा | 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. |
int यहाँ | 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; |
int यहाँ | 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; |
सूची<? रिसोर्सहैंडलप्रोटोऑरबिल्डर > का विस्तार करता है | getResourceHandleValOrBuilderList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
तैरना | getScomplexVal (int सूचकांक) DT_COMPLEX64. |
int यहाँ | getScomplexValCount () DT_COMPLEX64. |
सूची<फ्लोट> | getScomplexValList () DT_COMPLEX64. |
int यहाँ | |
com.google.protobuf.ByteString | getStringVal (int सूचकांक) DT_STRING repeated bytes string_val = 8; |
int यहाँ | 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. |
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 | |
वेरिएंटटेन्सरडेटाप्रोटो | getVariantVal (इंट इंडेक्स) 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; |
वेरिएंटटेन्सरडेटाप्रोटोऑरबिल्डर | getVariantValOrBuilder (int अनुक्रमणिका) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
सूची<? VariantTensorDataProtoOrBuilder > का विस्तार करता है | getVariantValOrBuilderList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
int यहाँ | getVersionNumber () Version number. |
बूलियन | हैटेन्सरशेप () Shape of the tensor. |
int यहाँ | हैश कोड () |
अंतिम बूलियन | |
स्थिर TensorProto.Builder | नयाबिल्डर () |
स्थिर TensorProto.Builder | न्यूबिल्डर ( टेन्सरप्रोटो प्रोटोटाइप) |
TensorProto.बिल्डर | |
स्थिर टेंसरप्रोटो | parseDelimitedFrom (इनपुटस्ट्रीम इनपुट) |
स्थिर टेंसरप्रोटो | parseDelimitedFrom (इनपुटस्ट्रीम इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री) |
स्थिर टेंसरप्रोटो | पार्सफ्रॉम (बाइटबफ़र डेटा, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री) |
स्थिर टेंसरप्रोटो | parseFrom (com.google.protobuf.CodedInputStream इनपुट) |
स्थिर टेंसरप्रोटो | पार्सफ्रॉम (बाइट[] डेटा, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री) |
स्थिर टेंसरप्रोटो | पार्सफ्रॉम (बाइटबफ़र डेटा) |
स्थिर टेंसरप्रोटो | parseFrom (com.google.protobuf.CodedInputStream इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री) |
स्थिर टेंसरप्रोटो | parseFrom (com.google.protobuf.ByteString डेटा) |
स्थिर टेंसरप्रोटो | पार्सफ्रॉम (इनपुटस्ट्रीम इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री) |
स्थिर टेंसरप्रोटो | parseFrom (com.google.protobuf.ByteString डेटा, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री) |
स्थिर | पार्सर () |
TensorProto.बिल्डर | टूबिल्डर () |
खालीपन | राइटटू (com.google.protobuf.CodedOutputStream आउटपुट) |
विरासत में मिली विधियाँ
स्थिरांक
सार्वजनिक स्थैतिक अंतिम int BOOL_VAL_FIELD_NUMBER
स्थिर मान: 11
सार्वजनिक स्थैतिक अंतिम पूर्णांक DCOMPLEX_VAL_FIELD_NUMBER
स्थिर मान: 12
सार्वजनिक स्थैतिक अंतिम पूर्णांक DOUBLE_VAL_FIELD_NUMBER
स्थिर मान: 6
सार्वजनिक स्थैतिक अंतिम पूर्णांक DTYPE_FIELD_NUMBER
स्थिर मान: 1
सार्वजनिक स्थैतिक अंतिम int FLOAT_VAL_FIELD_NUMBER
स्थिर मान: 5
सार्वजनिक स्थैतिक अंतिम पूर्णांक HALF_VAL_FIELD_NUMBER
स्थिर मान: 13
सार्वजनिक स्थैतिक अंतिम int INT64_VAL_FIELD_NUMBER
स्थिर मान: 10
सार्वजनिक स्थैतिक अंतिम int INT_VAL_FIELD_NUMBER
स्थिर मान: 7
सार्वजनिक स्थैतिक अंतिम int RESOURCE_HANDLE_VAL_FIELD_NUMBER
स्थिर मान: 14
सार्वजनिक स्थैतिक अंतिम पूर्णांक SCOMPLEX_VAL_FIELD_NUMBER
स्थिर मान: 9
सार्वजनिक स्थैतिक अंतिम int 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
सार्वजनिक स्थैतिक अंतिम int VARIANT_VAL_FIELD_NUMBER
स्थिर मान: 15
सार्वजनिक स्थैतिक अंतिम पूर्णांक VERSION_NUMBER_FIELD_NUMBER
स्थिर मान: 3
सार्वजनिक तरीके
सार्वजनिक बूलियन बराबर (ऑब्जेक्ट 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];
सार्वजनिक सूची<डबल> 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];
सार्वजनिक स्थैतिक अंतिम 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];
सार्वजनिक सूची<डबल> getDoubleValList ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
सार्वजनिक 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];
सार्वजनिक सूची<फ्लोट> getFloatValList ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
सार्वजनिक पूर्णांक getHalfVal (पूर्णांक सूचकांक)
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 ()
सार्वजनिक रिसोर्सहैंडलप्रोटो 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;
सार्वजनिक रिसोर्सहैंडलप्रोटोऑरबिल्डर getResourceHandleValOrBuilder (इंट इंडेक्स)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
सार्वजनिक सूची<? रिसोर्सहैंडलप्रोटोऑरबिल्डर > 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];
सार्वजनिक सूची<फ्लोट> 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;
सार्वजनिक पूर्णांक हैशकोड ()
सार्वजनिक अंतिम बूलियन आरंभीकृत है ()
सार्वजनिक स्थैतिक TensorProto parseDelimitedFrom (इनपुटस्ट्रीम इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
फेंकता
आईओ अपवाद |
---|
सार्वजनिक स्थैतिक TensorProto पार्सFrom (ByteBuffer डेटा, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
फेंकता
अमान्यप्रोटोकॉलबफ़रएक्सेप्शन |
---|
सार्वजनिक स्थैतिक TensorProto parseFrom (com.google.protobuf.CodedInputStream इनपुट)
फेंकता
आईओ अपवाद |
---|
सार्वजनिक स्थैतिक TensorProto पार्सFrom (बाइट[] डेटा, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
फेंकता
अमान्यप्रोटोकॉलबफ़रएक्सेप्शन |
---|
सार्वजनिक स्थैतिक TensorProto पार्सFrom (com.google.protobuf.CodedInputStream इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
फेंकता
आईओ अपवाद |
---|
सार्वजनिक स्थैतिक TensorProto पार्सFrom (com.google.protobuf.ByteString डेटा)
फेंकता
अमान्यप्रोटोकॉलबफ़रएक्सेप्शन |
---|
सार्वजनिक स्थैतिक TensorProto पार्सफ्रॉम (इनपुटस्ट्रीम इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
फेंकता
आईओ अपवाद |
---|
सार्वजनिक स्थैतिक TensorProto पार्सFrom (com.google.protobuf.ByteString डेटा, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
फेंकता
अमान्यप्रोटोकॉलबफ़रएक्सेप्शन |
---|
सार्वजनिक स्थैतिक पार्सर ()
सार्वजनिक शून्य राइटटू (com.google.protobuf.CodedOutputStream आउटपुट)
फेंकता
आईओ अपवाद |
---|