classe finale publique TensorProto
Protocol buffer representing a tensor.de type
tensorflow.TensorProto
Classes imbriquées
classe | TensorProto.Builder | Protocol buffer representing a tensor. |
Constantes
Méthodes publiques
booléen | est égal (Obj objet) |
booléen | getBoolVal (index entier) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
int | getBoolValCount () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
Liste<Booléen> | getBoolValListe () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
double | getDcomplexVal (index int) DT_COMPLEX128. |
int | getDcomplexValCount () DT_COMPLEX128. |
Liste<Double> | getDcomplexValList () DT_COMPLEX128. |
TensorProto statique | |
TensorProto | |
final statique com.google.protobuf.Descriptors.Descriptor | |
double | getDoubleVal (index entier) DT_DOUBLE. |
int | getDoubleValCount () DT_DOUBLE. |
Liste<Double> | getDoubleValListe () DT_DOUBLE. |
Type de données | getDtype () .tensorflow.DataType dtype = 1; |
int | getDtypeValue () .tensorflow.DataType dtype = 1; |
flotter | getFloatVal (index int) DT_FLOAT. |
int | getFloatValCount () DT_FLOAT. |
Liste<Flottant> | getFloatValList () DT_FLOAT. |
int | getHalfVal (index int) DT_HALF, DT_BFLOAT16. |
int | getHalfValCount () DT_HALF, DT_BFLOAT16. |
Liste<Entier> | getHalfValListe () DT_HALF, DT_BFLOAT16. |
long | getInt64Val (index int) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
int | getInt64ValCount () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
Liste<Long> | getInt64ValListe () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
int | getIntVal (index entier) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
int | getIntValCount () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
Liste<Entier> | getIntValListe () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
ResourceHandleProto | getResourceHandleVal (index int) 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 (index int) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
Liste<? étend ResourceHandleProtoOrBuilder > | getResourceHandleValOrBuilderList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
flotter | getScomplexVal (index int) DT_COMPLEX64. |
int | getScomplexValCount () DT_COMPLEX64. |
Liste<Flottant> | getScomplexValList () DT_COMPLEX64. |
int | |
com.google.protobuf.ByteString | getStringVal (index int) DT_STRING repeated bytes string_val = 8; |
int | getStringValCount () DT_STRING repeated bytes string_val = 8; |
Liste<ByteString> | getStringValListe () 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 (index int) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
int | getUint32ValCount () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
Liste<Entier> | getUint32ValList () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
long | getUint64Val (index int) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
int | getUint64ValCount () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
Liste<Long> | getUint64ValList () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
final com.google.protobuf.UnknownFieldSet | |
VariantTensorDataProto | getVariantVal (index int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
int | getVariantValCount () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Liste < VariantTensorDataProto > | getVariantValList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProtoOrBuilder | getVariantValOrBuilder (index int) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Liste<? étend VariantTensorDataProtoOrBuilder > | getVariantValOrBuilderList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
int | obtenir le numéro de version () Version number. |
booléen | hasTensorShape () Shape of the tensor. |
int | |
booléen final | |
TensorProto.Builder statique | |
TensorProto.Builder statique | newBuilder (prototype TensorProto ) |
TensorProto.Builder | |
TensorProto statique | parseDelimitedFrom (entrée InputStream) |
TensorProto statique | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorProto statique | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorProto statique | parseFrom (entrée com.google.protobuf.CodedInputStream) |
TensorProto statique | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorProto statique | parseFrom (données ByteBuffer) |
TensorProto statique | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorProto statique | parseFrom (données com.google.protobuf.ByteString) |
TensorProto statique | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorProto statique | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique | analyseur () |
TensorProto.Builder | toBuilder () |
vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final int BOOL_VAL_FIELD_NUMBER
Valeur constante : 11
public statique final int DCOMPLEX_VAL_FIELD_NUMBER
Valeur constante : 12
public statique final int DOUBLE_VAL_FIELD_NUMBER
Valeur constante : 6
public statique final int DTYPE_FIELD_NUMBER
Valeur constante : 1
public statique final int FLOAT_VAL_FIELD_NUMBER
Valeur constante : 5
public statique final entier HALF_VAL_FIELD_NUMBER
Valeur constante : 13
public statique final int INT64_VAL_FIELD_NUMBER
Valeur constante : 10
public statique final int INT_VAL_FIELD_NUMBER
Valeur constante : 7
public statique final int RESOURCE_HANDLE_VAL_FIELD_NUMBER
Valeur constante : 14
public statique final int SCOMPLEX_VAL_FIELD_NUMBER
Valeur constante : 9
public statique final entier STRING_VAL_FIELD_NUMBER
Valeur constante : 8
public statique final int TENSOR_CONTENT_FIELD_NUMBER
Valeur constante : 4
public statique final int TENSOR_SHAPE_FIELD_NUMBER
Valeur constante : 2
public statique final int UINT32_VAL_FIELD_NUMBER
Valeur constante : 16
public statique final int UINT64_VAL_FIELD_NUMBER
Valeur constante : 17
public statique final int VARIANT_VAL_FIELD_NUMBER
Valeur constante : 15
public statique final int VERSION_NUMBER_FIELD_NUMBER
Valeur constante : 3
Méthodes publiques
public booléen égal (Objet obj)
public booléen getBoolVal (index int)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public int getBoolValCount ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
liste publique<Boolean> getBoolValList ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public double getDcomplexVal (index 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];
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];
liste publique<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 statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public double getDoubleVal (index int)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public int getDoubleValCount ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
liste publique<Double> getDoubleValList ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public int getDtypeValue ()
.tensorflow.DataType dtype = 1;
public float getFloatVal (index int)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public int getFloatValCount ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
liste publique<Float> getFloatValList ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public int getHalfVal (index 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];
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];
liste publique<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];
public long getInt64Val (index int)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public int getInt64ValCount ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
liste publique<Long> getInt64ValList ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public int getIntVal (index int)
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];
liste publique<Integer> getIntValList ()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
publique getParserForType ()
public ResourceHandleProto getResourceHandleVal (index int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public int getResourceHandleValCount ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
liste publique < ResourceHandleProto > getResourceHandleValList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public ResourceHandleProtoOrBuilder getResourceHandleValOrBuilder (index int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
Liste publique <? étend ResourceHandleProtoOrBuilder > getResourceHandleValOrBuilderList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public float getScomplexVal (index 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];
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];
liste publique<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 (index int)
DT_STRING
repeated bytes string_val = 8;
public int getStringValCount ()
DT_STRING
repeated bytes string_val = 8;
liste publique <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;
public TensorShapeProto getTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
public TensorShapeProtoOrBuilder getTensorShapeOrBuilder ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
public int getUint32Val (index int)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public int getUint32ValCount ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
liste publique<Integer> getUint32ValList ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public long getUint64Val (index int)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public int getUint64ValCount ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
liste publique<Long> getUint64ValList ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public VariantTensorDataProto getVariantVal (index int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public int getVariantValCount ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
liste publique < VariantTensorDataProto > getVariantValList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public VariantTensorDataProtoOrBuilder getVariantValOrBuilder (index int)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Liste publique <? étend 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;
public booléen hasTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
code de hachage int public ()
public final booléen isInitialized ()
public static TensorProto parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
TensorProto parseFrom statique public (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
TensorProto parseFrom statique public (entrée com.google.protobuf.CodedInputStream)
Jetés
IOException |
---|
TensorProto parseFrom statique public (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
TensorProto parseFrom statique public (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
TensorProto parseFrom statique public (données com.google.protobuf.ByteString)
Jetés
InvalidProtocolBufferException |
---|
public static TensorProto parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
TensorProto parseFrom statique public (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
IOException |
---|