שיעור הגמר הציבורי TensorProto
Protocol buffer representing a tensor.סוג Protobuf
tensorflow.TensorProto
כיתות מקוננות
מעמד | TensorProto.Builder | Protocol buffer representing a tensor. |
קבועים
שיטות ציבוריות
בוליאני | שווה (Object obj) |
בוליאני | getBoolVal (int index) 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. |
סטטי TensorProto | |
TensorProto | |
final static com.google.protobuf.Descriptors.Descriptor | |
לְהַכפִּיל | getDoubleVal (אינדקס int) 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 index) 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. |
ResourceHandleProto | getResourceHandleVal (int index) 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; |
לָצוּף | getScomplexVal (אינדקס אינט) DT_COMPLEX64. |
int | getScomplexValCount () DT_COMPLEX64. |
רשימה <צף> | getScomplexValList () DT_COMPLEX64. |
int | |
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. |
TensorShapeProto | 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]; |
final com.google.protobuf.UnknownFieldSet | |
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 index) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
רשימה<? מרחיב את VariantTensorDataProtoOrBuilder > | getVariantValOrBuilderList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
int | getVersionNumber () Version number. |
בוליאני | hasTensorShape () Shape of the tensor. |
int | hashcode () |
בוליאנית סופית | |
סטטי TensorProto.Builder | newBuilder () |
סטטי 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 (נתוני byte[], 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 | 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 בוליאני ציבורי (אינדקס אינט)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public int getBoolValCount ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
רשימה ציבורית<Boolean> getBoolValList ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
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];
public 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 index)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public int getDoubleValCount ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
רשימה ציבורית<Double> getDoubleValList ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public int getDtypeValue ()
.tensorflow.DataType dtype = 1;
ציפה ציבורית getFloatVal (אינדקס אינט)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public int getFloatValCount ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
רשימה ציבורית<Float> getFloatValList ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public int getHalfVal (int index)
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 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];
public int getInt64ValCount ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
רשימה ציבורית<Long> getInt64ValList ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public int getIntVal (int index)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public 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 ()
public ResourceHandleProto getResourceHandleVal (אינדקס int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public int getResourceHandleValCount ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
רשימה ציבורית< ResourceHandleProto > getResourceHandleValList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public ResourceHandleProtoOrBuilder getResourceHandleValOrBuilder (int index)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
רשימה ציבורית<? מרחיב את ResourceHandleProtoOrBuilder > getResourceHandleValOrBuilderList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
ציפה ציבורית getScomplexVal (אינדקס אינט)
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];
public 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];
public int getSerializedSize ()
public com.google.protobuf.ByteString getStringVal (int index)
DT_STRING
repeated bytes string_val = 8;
public int getStringValCount ()
DT_STRING
repeated bytes string_val = 8;
רשימה ציבורית<ByteString> getStringValList ()
DT_STRING
repeated bytes string_val = 8;
public 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;
public int getUint32Val (int index)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public int getUint32ValCount ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
רשימה ציבורית<Integer> getUint32ValList ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public long getUint64Val (אינדקס אינט)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public int getUint64ValCount ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
רשימה ציבורית<Long> getUint64ValList ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public VariantTensorDataProto getVariantVal (int index)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public int getVariantValCount ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
רשימה ציבורית< VariantTensorDataProto > getVariantValList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Public VariantTensorDataProtoOrBuilder getVariantValOrBuilder (int index)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
רשימה ציבורית<? מרחיב VariantTensorDataProtoOrBuilder > getVariantValOrBuilderList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public 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;
יש TensorShape בוליאני ציבורי ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
public int hashCode ()
בוליאני הסופי הציבורי הוא אתחול ()
ציבורי סטטי TensorProto parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
TensorProto parseFrom סטטי ציבורי (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
ציבורי סטטי TensorProto parseFrom (נתוני byte[], 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 |
---|