TensorProto

classe finale pubblica TensorProto

 Protocol buffer representing a tensor.
 
Tipo protobuf tensorflow.TensorProto

Classi nidificate

classe TensorProto.Builder
 Protocol buffer representing a tensor. 

Costanti

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 METÀ_VAL_CAMPO_NUMERO
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 VERSIONE_NUMBER_FIELD_NUMBER

Metodi pubblici

booleano
è uguale a (Oggetto oggetto)
booleano
getBoolVal (indice int)
 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];
int
getBoolValCount ()
 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];
Elenco<Booleano>
getBoolValList ()
 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];
Doppio
getDcomplexVal (indice int)
 DT_COMPLEX128.
int
getDcomplexValCount ()
 DT_COMPLEX128.
Elenco<Doppio>
getDcomplexValList ()
 DT_COMPLEX128.
TensoreProto statico
TensoreProto
com.google.protobuf.Descriptors.Descriptor statico finale
Doppio
getDoubleVal (indice int)
 DT_DOUBLE.
int
getDoubleValCount ()
 DT_DOUBLE.
Elenco<Doppio>
getDoubleValList ()
 DT_DOUBLE.
Tipo di dati
getDtipo ()
.tensorflow.DataType dtype = 1;
int
getDtipoValore ()
.tensorflow.DataType dtype = 1;
galleggiante
getFloatVal (indice int)
 DT_FLOAT.
int
getFloatValCount ()
 DT_FLOAT.
Elenco<mobile>
getFloatValList ()
 DT_FLOAT.
int
getHalfVal (indice int)
 DT_HALF, DT_BFLOAT16.
int
getHalfValCount ()
 DT_HALF, DT_BFLOAT16.
Elenco<intero>
getHalfValList ()
 DT_HALF, DT_BFLOAT16.
lungo
getInt64Val (indice int)
 DT_INT64
 
repeated int64 int64_val = 10 [packed = true];
int
getInt64ValCount ()
 DT_INT64
 
repeated int64 int64_val = 10 [packed = true];
Elenco<Lungo>
getInt64ValList ()
 DT_INT64
 
repeated int64 int64_val = 10 [packed = true];
int
getIntVal (indice int)
 DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
int
getIntValCount ()
 DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
Elenco<intero>
getIntValLista ()
 DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
ResourceHandleProto
getResourceHandleVal (indice int)
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
int
getResourceHandleValCount ()
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
Elenco< ResourceHandleProto >
getResourceHandleValList ()
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
ResourceHandleProtoOrBuilder
getResourceHandleValOrBuilder (indice int)
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
Elenco<? estende ResourceHandleProtoOrBuilder >
getResourceHandleValOrBuilderList ()
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
galleggiante
getScomplexVal (indice int)
 DT_COMPLEX64.
int
getScomplexValCount ()
 DT_COMPLEX64.
Elenco<mobile>
getScomplexValList ()
 DT_COMPLEX64.
int
com.google.protobuf.ByteString
getStringVal (indice int)
 DT_STRING
 
repeated bytes string_val = 8;
int
getStringValCount ()
 DT_STRING
 
repeated bytes string_val = 8;
Elenco<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 (indice int)
 DT_UINT32
 
repeated uint32 uint32_val = 16 [packed = true];
int
getUint32ValCount ()
 DT_UINT32
 
repeated uint32 uint32_val = 16 [packed = true];
Elenco<intero>
getUint32ValList ()
 DT_UINT32
 
repeated uint32 uint32_val = 16 [packed = true];
lungo
getUint64Val (indice int)
 DT_UINT64
 
repeated uint64 uint64_val = 17 [packed = true];
int
getUint64ValCount ()
 DT_UINT64
 
repeated uint64 uint64_val = 17 [packed = true];
Elenco<Lungo>
getUint64ValList ()
 DT_UINT64
 
repeated uint64 uint64_val = 17 [packed = true];
finale com.google.protobuf.UnknownFieldSet
VariantTensorDataProto
getVariantVal (indice int)
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
int
getVariantValCount ()
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Elenco< VariantTensorDataProto >
getVariantValList ()
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
VariantTensorDataProtoOrBuilder
getVariantValOrBuilder (indice int)
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Elenco<? estende VariantTensorDataProtoOrBuilder >
getVariantValOrBuilderList ()
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
int
getNumeroVersione ()
 Version number.
booleano
haTensorShape ()
 Shape of the tensor.
int
booleano finale
TensorProto.Builder statico
TensorProto.Builder statico
newBuilder (prototipo TensorProto )
TensorProto.Builder
TensoreProto statico
parseDelimitedFrom (input InputStream)
TensoreProto statico
parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensoreProto statico
parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensoreProto statico
parseFrom (ingresso com.google.protobuf.CodedInputStream)
TensoreProto statico
parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensoreProto statico
parseFrom (dati ByteBuffer)
TensoreProto statico
parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
TensoreProto statico
parseFrom (dati com.google.protobuf.ByteString)
TensoreProto statico
parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensoreProto statico
parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
statico
TensorProto.Builder
vuoto
writeTo (output com.google.protobuf.CodedOutputStream)

Metodi ereditati

Costanti

public static final int BOOL_VAL_FIELD_NUMBER

Valore costante: 11

public static final int DCOMPLEX_VAL_FIELD_NUMBER

Valore costante: 12

public static final int DOUBLE_VAL_FIELD_NUMBER

Valore costante: 6

public static final int DTYPE_FIELD_NUMBER

Valore costante: 1

public static final int FLOAT_VAL_FIELD_NUMBER

Valore costante: 5

public static final int HALF_VAL_FIELD_NUMBER

Valore costante: 13

public static final int INT64_VAL_FIELD_NUMBER

Valore costante: 10

public static final int INT_VAL_FIELD_NUMBER

Valore costante: 7

public static final int RESOURCE_HANDLE_VAL_FIELD_NUMBER

Valore costante: 14

public static final int SCOMPLEX_VAL_FIELD_NUMBER

Valore costante: 9

pubblico statico finale int STRING_VAL_FIELD_NUMBER

Valore costante: 8

public static final int TENSOR_CONTENT_FIELD_NUMBER

Valore costante: 4

public static final int TENSOR_SHAPE_FIELD_NUMBER

Valore costante: 2

public static final int UINT32_VAL_FIELD_NUMBER

Valore costante: 16

public static final int UINT64_VAL_FIELD_NUMBER

Valore costante: 17

public static final int VARIANT_VAL_FIELD_NUMBER

Valore costante: 15

public static final int VERSION_NUMBER_FIELD_NUMBER

Valore costante: 3

Metodi pubblici

booleano pubblico è uguale a (Oggetto obj)

pubblico booleano getBoolVal (indice int)

 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];

public int getBoolValCount ()

 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];

elenco pubblico<Booleano> getBoolValList ()

 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];

public double getDcomplexVal (indice 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];

elenco pubblico<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];

pubblico statico TensorProto getDefaultInstance ()

pubblico TensorProto getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public double getDoubleVal (indice int)

 DT_DOUBLE.
 
repeated double double_val = 6 [packed = true];

pubblico int getDoubleValCount ()

 DT_DOUBLE.
 
repeated double double_val = 6 [packed = true];

elenco pubblico<Double> getDoubleValList ()

 DT_DOUBLE.
 
repeated double double_val = 6 [packed = true];

public DataType getDtype ()

.tensorflow.DataType dtype = 1;

public int getDtypeValue ()

.tensorflow.DataType dtype = 1;

public float getFloatVal (indice int)

 DT_FLOAT.
 
repeated float float_val = 5 [packed = true];

public int getFloatValCount ()

 DT_FLOAT.
 
repeated float float_val = 5 [packed = true];

elenco pubblico<Float> getFloatValList ()

 DT_FLOAT.
 
repeated float float_val = 5 [packed = true];

public int getHalfVal (indice 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];

elenco pubblico<intero> 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];

pubblico lungo getInt64Val (indice int)

 DT_INT64
 
repeated int64 int64_val = 10 [packed = true];

pubblico int getInt64ValCount ()

 DT_INT64
 
repeated int64 int64_val = 10 [packed = true];

elenco pubblico<Long> getInt64ValList ()

 DT_INT64
 
repeated int64 int64_val = 10 [packed = true];

public int getIntVal (indice 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];

elenco pubblico<intero> getIntValList ()

 DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
 
repeated int32 int_val = 7 [packed = true];

pubblico getParserForType ()

public ResourceHandleProto getResourceHandleVal (indice int)

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

public int getResourceHandleValCount ()

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

Elenco pubblico< ResourceHandleProto > getResourceHandleValList ()

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

public ResourceHandleProtoOrBuilder getResourceHandleValOrBuilder (indice int)

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

Elenco pubblico<? estende ResourceHandleProtoOrBuilder > getResourceHandleValOrBuilderList ()

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

public float getScomplexVal (indice 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];

elenco pubblico<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 ()

pubblico com.google.protobuf.ByteString getStringVal (indice int)

 DT_STRING
 
repeated bytes string_val = 8;

public int getStringValCount ()

 DT_STRING
 
repeated bytes string_val = 8;

elenco pubblico<ByteString> getStringValList ()

 DT_STRING
 
repeated bytes string_val = 8;

pubblico 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 (indice int)

 DT_UINT32
 
repeated uint32 uint32_val = 16 [packed = true];

pubblico int getUint32ValCount ()

 DT_UINT32
 
repeated uint32 uint32_val = 16 [packed = true];

elenco pubblico<intero> getUint32ValList ()

 DT_UINT32
 
repeated uint32 uint32_val = 16 [packed = true];

pubblico lungo getUint64Val (indice int)

 DT_UINT64
 
repeated uint64 uint64_val = 17 [packed = true];

pubblico int getUint64ValCount ()

 DT_UINT64
 
repeated uint64 uint64_val = 17 [packed = true];

elenco pubblico<Long> getUint64ValList ()

 DT_UINT64
 
repeated uint64 uint64_val = 17 [packed = true];

pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()

public VariantTensorDataProto getVariantVal (indice int)

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

public int getVariantValCount ()

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

Elenco pubblico< VariantTensorDataProto > getVariantValList ()

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

public VariantTensorDataProtoOrBuilder getVariantValOrBuilder (indice int)

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

Elenco pubblico<? estende 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;

pubblico booleano hasTensorShape ()

 Shape of the tensor.  TODO(touts): sort out the 0-rank issues.
 
.tensorflow.TensorShapeProto tensor_shape = 2;

public int hashCode ()

public final booleano isInitialized ()

pubblico statico TensorProto.Builder newBuilder ()

TensorProto.Builder pubblico statico newBuilder (prototipo TensorProto )

pubblico TensorProto.Builder newBuilderForType ()

pubblico statico TensorProto parseDelimitedFrom (input InputStream)

Lancia
IOException

pubblico statico TensorProto parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom pubblico statico TensorProto (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

parseFrom TensorProto statico pubblico (input com.google.protobuf.CodedInputStream)

Lancia
IOException

pubblico statico TensorProto parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

parseFrom pubblico statico TensorProto (dati ByteBuffer)

Lancia
InvalidProtocolBufferException

parseFrom pubblico statico TensorProto (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom pubblico statico TensorProto (dati com.google.protobuf.ByteString)

Lancia
InvalidProtocolBufferException

parseFrom pubblico statico TensorProto (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom pubblico statico TensorProto (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)

Lancia
InvalidProtocolBufferException

pubblico statico analizzatore ()

pubblico TensorProto.Builder toBuilder ()

public void writeTo (output com.google.protobuf.CodedOutputStream)

Lancia
IOException