کلاس نهایی عمومی 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 |
روش های عمومی
بولی | برابر است (object 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. |
Static TensorProto | |
TensorProto | |
نهایی static 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. |
بین المللی | 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. |
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; |
لیست <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. |
بین المللی | 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; |
فهرست < 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. |
بین المللی | هش کد () |
بولی نهایی | |
Static TensorProto.Builder | newBuilder () |
Static TensorProto.Builder | newBuilder (نمونه اولیه TensorProto ) |
TensorProto.Builder | |
Static TensorProto | parseDelimitedFrom (ورودی جریان ورودی) |
Static TensorProto | parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Static TensorProto | parseFrom (دادههای ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Static TensorProto | parseFrom (ورودی com.google.protobuf.CodedInputStream) |
Static TensorProto | parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Static TensorProto | parseFrom (داده های ByteBuffer) |
Static TensorProto | parseFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Static TensorProto | parseFrom (داده های com.google.protobuf.ByteString) |
Static TensorProto | parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Static TensorProto | parseFrom (دادههای com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ایستا | تجزیه کننده () |
TensorProto.Builder | toBuilder () |
خالی | 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
نهایی استاتیک عمومی UINT32_VAL_FIELD_NUMBER
ارزش ثابت: 16
نهایی استاتیک عمومی 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];
public double getDcomplexVal (int index)
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];
public static final 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];
عمومی int getDtypeValue ()
.tensorflow.DataType dtype = 1;
float عمومی 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];
public long 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 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];
عمومی 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 index)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
لیست عمومی<? گسترش ResourceHandleProtoOrBuilder > getResourceHandleValOrBuilderList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
عمومی 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];
عمومی 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 index)
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];
فهرست عمومی <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 ()
public VariantTensorDataProto getVariantVal (int index)
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;
هش کد عمومی ()
بولین نهایی عمومی isInitialized ()
عمومی استاتیک TensorProto parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
عمومی استاتیک TensorProto parseFrom (داده های ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
InvalidProtocolBufferException |
---|
عمومی استاتیک TensorProto parseFrom (ورودی com.google.protobuf.CodedInputStream)
پرتاب می کند
IOException |
---|
عمومی استاتیک TensorProto parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
InvalidProtocolBufferException |
---|
عمومی استاتیک TensorProto parseFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
عمومی استاتیک TensorProto parseFrom (داده های com.google.protobuf.ByteString)
پرتاب می کند
InvalidProtocolBufferException |
---|
عمومی استاتیک TensorProto parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
عمومی استاتیک TensorProto parseFrom (داده های com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
InvalidProtocolBufferException |
---|
استاتیک عمومی تجزیه کننده ()
public void writeTo (خروجی com.google.protobuf.CodedOutputStream)
پرتاب می کند
IOException |
---|