genel final sınıfı TensorProto
Protocol buffer representing a tensor.Protobuf türü
tensorflow.TensorProto
İç İçe Sınıflar
sınıf | TensorProto.Builder | Protocol buffer representing a tensor. |
Sabitler
Genel Yöntemler
boolean | eşittir (Nesne nesnesi) |
boolean | getBoolVal (int dizini) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
int | getBoolValCount () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
Liste<Boolean> | getBoolValList () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
çift | getDcomplexVal (int dizini) DT_COMPLEX128. |
int | getDcomplexValCount () DT_COMPLEX128. |
Liste<Çift> | getDcomplexValList () DT_COMPLEX128. |
statik TensorProto | |
TensorProto | |
final statik com.google.protobuf.Descriptors.Descriptor | |
çift | getDoubleVal (int dizini) DT_DOUBLE. |
int | getDoubleValCount () DT_DOUBLE. |
Liste<Çift> | getDoubleValList () DT_DOUBLE. |
Veri tipi | getDtype () .tensorflow.DataType dtype = 1; |
int | getDtypeValue () .tensorflow.DataType dtype = 1; |
batmadan yüzmek | getFloatVal (int dizini) DT_FLOAT. |
int | getFloatValCount () DT_FLOAT. |
Liste<Kayandır> | getFloatValList () DT_FLOAT. |
int | getHalfVal (int dizini) DT_HALF, DT_BFLOAT16. |
int | getHalfValCount () DT_HALF, DT_BFLOAT16. |
Liste<Tamsayı> | getHalfValList () DT_HALF, DT_BFLOAT16. |
uzun | getInt64Val (int dizini) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
int | getInt64ValCount () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
Liste<Uzun> | getInt64ValList () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
int | getIntVal (int dizini) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
int | getIntValCount () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
Liste<Tamsayı> | getIntValList () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
KaynakHandleProto | getResourceHandleVal (int dizini) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
int | getResourceHandleValCount () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
Liste< ResourceHandleProto > | getResourceHandleValList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
ResourceHandleProtoOrBuilder | getResourceHandleValOrBuilder (int dizini) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
Liste<? ResourceHandleProtoOrBuilder'ı genişletir > | getResourceHandleValOrBuilderList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
batmadan yüzmek | getScomplexVal (int dizini) DT_COMPLEX64. |
int | getScomplexValCount () DT_COMPLEX64. |
Liste<Kayandır> | getScomplexValList () DT_COMPLEX64. |
int | |
com.google.protobuf.ByteString | getStringVal (int dizini) DT_STRING repeated bytes string_val = 8; |
int | getStringValCount () DT_STRING repeated bytes string_val = 8; |
Liste<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 dizini) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
int | getUint32ValCount () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
Liste<Tamsayı> | getUint32ValList () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
uzun | getUint64Val (int dizini) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
int | getUint64ValCount () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
Liste<Uzun> | getUint64ValList () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
final com.google.protobuf.UnknownFieldSet | |
VariantTensorDataProto | getVariantVal (int dizini) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
int | getVariantValCount () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Listele< VariantTensorDataProto > | getVariantValList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProtoOrBuilder | getVariantValOrBuilder (int dizini) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Liste<? VariantTensorDataProtoOrBuilder'ı genişletiyor > | getVariantValOrBuilderList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
int | getVersionNumber () Version number. |
boolean | hasTensorShape () Shape of the tensor. |
int | hash kodu () |
son boole değeri | Başlatıldı () |
statik TensorProto.Builder | yeniİnşaatçı () |
statik TensorProto.Builder | yeniİnşaatçı ( TensorProto prototipi) |
TensorProto.Builder | |
statik TensorProto | parseDelimitedFrom (InputStream girişi) |
statik TensorProto | parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik TensorProto | parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik TensorProto | ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi) |
statik TensorProto | parseFrom (byte[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik TensorProto | parseFrom (ByteBuffer verileri) |
statik TensorProto | parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik TensorProto | ayrıştırmaFrom (com.google.protobuf.ByteString verileri) |
statik TensorProto | parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik TensorProto | parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik | ayrıştırıcı () |
TensorProto.Builder | inşaatçıya () |
geçersiz | writeTo (com.google.protobuf.CodedOutputStream çıkışı) |
Kalıtsal Yöntemler
Sabitler
genel statik final int BOOL_VAL_FIELD_NUMBER
Sabit Değer: 11
genel statik final int DCOMPLEX_VAL_FIELD_NUMBER
Sabit Değer: 12
genel statik final int DOUBLE_VAL_FIELD_NUMBER
Sabit Değer: 6
genel statik final int DTYPE_FIELD_NUMBER
Sabit Değer: 1
genel statik final int FLOAT_VAL_FIELD_NUMBER
Sabit Değer: 5
genel statik final int HALF_VAL_FIELD_NUMBER
Sabit Değer: 13
genel statik final int INT64_VAL_FIELD_NUMBER
Sabit Değer: 10
genel statik final int INT_VAL_FIELD_NUMBER
Sabit Değer: 7
genel statik final int RESOURCE_HANDLE_VAL_FIELD_NUMBER
Sabit Değer: 14
genel statik final int SCOMPLEX_VAL_FIELD_NUMBER
Sabit Değer: 9
genel statik final int STRING_VAL_FIELD_NUMBER
Sabit Değer: 8
genel statik final int TENSOR_CONTENT_FIELD_NUMBER
Sabit Değer: 4
genel statik final int TENSOR_SHAPE_FIELD_NUMBER
Sabit Değer: 2
genel statik final int UINT32_VAL_FIELD_NUMBER
Sabit Değer: 16
genel statik final int UINT64_VAL_FIELD_NUMBER
Sabit Değer: 17
genel statik final int VARIANT_VAL_FIELD_NUMBER
Sabit Değer: 15
genel statik final int VERSION_NUMBER_FIELD_NUMBER
Sabit Değer: 3
Genel Yöntemler
genel boole eşittir (Object obj)
genel boolean getBoolVal (int dizini)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public int getBoolValCount ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
genel Liste<Boolean> getBoolValList ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
genel çift getDcomplexVal (int dizini)
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];
genel Liste<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 ()
genel çift getDoubleVal (int dizini)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public int getDoubleValCount ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
genel Liste<Double> getDoubleValList ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public int getDtypeValue ()
.tensorflow.DataType dtype = 1;
halka açık kayan nokta getFloatVal (int dizini)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public int getFloatValCount ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
genel Liste<Float> getFloatValList ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public int getHalfVal (int dizini)
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];
genel Liste<Tamsayı> 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];
genel uzun getInt64Val (int dizini)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
genel int getInt64ValCount ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
genel Liste<Long> getInt64ValList ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public int getIntVal (int dizini)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
genel int getIntValCount ()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
genel Liste<Tamsayı> getIntValList ()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
halk getParserForType ()
genel ResourceHandleProto getResourceHandleVal (int dizini)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public int getResourceHandleValCount ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
genel Liste< ResourceHandleProto > getResourceHandleValList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public ResourceHandleProtoOrBuilder getResourceHandleValOrBuilder (int dizini)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
genel liste<? ResourceHandleProtoOrBuilder'ı genişletir > getResourceHandleValOrBuilderList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public float getScomplexVal (int indeksi)
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];
genel Liste<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 dizini)
DT_STRING
repeated bytes string_val = 8;
public int getStringValCount ()
DT_STRING
repeated bytes string_val = 8;
genel Liste<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;
herkese açık TensorShapeProto getTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
herkese açık TensorShapeProtoOrBuilder getTensorShapeOrBuilder ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
public int getUint32Val (int dizini)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
genel int getUint32ValCount ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
genel Liste<Tamsayı> getUint32ValList ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
genel uzun getUint64Val (int dizini)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
genel int getUint64ValCount ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
genel Liste<Long> getUint64ValList ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
genel final com.google.protobuf.UnknownFieldSet getUnknownFields ()
genel VariantTensorDataProto getVariantVal (int dizini)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public int getVariantValCount ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
genel Liste< VariantTensorDataProto > getVariantValList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
genel VariantTensorDataProtoOrBuilder getVariantValOrBuilder (int dizini)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
genel liste<? VariantTensorDataProtoOrBuilder'ı genişletir > 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;
genel boolean hasTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
genel int hashCode ()
genel final boolean isInitialized ()
genel statik TensorProto parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel statik TensorProto ayrıştırmaFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik TensorProto ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi)
Atar
IOİstisnası |
---|
genel statik TensorProto ayrıştırmaFrom (bayt[] veri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik TensorProto ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel statik TensorProto ayrıştırmaFrom (com.google.protobuf.ByteString verileri)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik TensorProto ayrıştırmaFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel statik TensorProto ayrıştırmaFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ayrıştırıcı ()
genel geçersiz writeTo (com.google.protobuf.CodedOutputStream çıkışı)
Atar
IOİstisnası |
---|