TensorProto

clase final pública TensorProto

 Protocol buffer representing a tensor.
 
Protobuf tipo tensorflow.TensorProto

Clases anidadas

clase TensorProto.Builder
 Protocol buffer representing a tensor. 

Constantes

En t BOOL_VAL_FIELD_NUMBER
En t DCOMPLEX_VAL_FIELD_NUMBER
En t DOUBLE_VAL_FIELD_NUMBER
En t DTYPE_FIELD_NUMBER
En t FLOAT_VAL_FIELD_NUMBER
En t HALF_VAL_FIELD_NUMBER
En t INT64_VAL_FIELD_NUMBER
En t INT_VAL_FIELD_NUMBER
En t RESOURCE_HANDLE_VAL_FIELD_NUMBER
En t SCOMPLEX_VAL_FIELD_NUMBER
En t STRING_VAL_FIELD_NUMBER
En t TENSOR_CONTENT_FIELD_NUMBER
En t TENSOR_SHAPE_FIELD_NUMBER
En t UINT32_VAL_FIELD_NUMBER
En t UINT64_VAL_FIELD_NUMBER
En t VARIANT_VAL_FIELD_NUMBER
En t VERSION_NUMBER_FIELD_NUMBER

Métodos públicos

booleano
es igual (Objeto obj)
booleano
getBoolVal (índice int)
 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];
En t
obtenerBoolValCount ()
 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];
Lista<Booleano>
obtenerBoolValList ()
 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];
doble
getDcomplexVal (índice int)
 DT_COMPLEX128.
En t
getDcomplexValCount ()
 DT_COMPLEX128.
Lista<Doble>
getDcomplexValList ()
 DT_COMPLEX128.
TensorProto estático
TensorProto
com.google.protobuf.Descriptors.Descriptor estático final
doble
getDoubleVal (índice int)
 DT_DOUBLE.
En t
getDoubleValCount ()
 DT_DOUBLE.
Lista<Doble>
obtenerListaDobleVal ()
 DT_DOUBLE.
Tipo de datos
obtener tipo D ()
.tensorflow.DataType dtype = 1;
En t
getDtypeValue ()
.tensorflow.DataType dtype = 1;
flotar
getFloatVal (índice int)
 DT_FLOAT.
En t
obtenerFloatValCount ()
 DT_FLOAT.
Lista<flotante>
obtenerFloatValList ()
 DT_FLOAT.
En t
getHalfVal (índice int)
 DT_HALF, DT_BFLOAT16.
En t
obtenerHalfValCount ()
 DT_HALF, DT_BFLOAT16.
Lista<Entero>
obtenerHalfValList ()
 DT_HALF, DT_BFLOAT16.
largo
getInt64Val (índice int)
 DT_INT64
 
repeated int64 int64_val = 10 [packed = true];
En t
getInt64ValCount ()
 DT_INT64
 
repeated int64 int64_val = 10 [packed = true];
Lista<Larga>
getInt64ValList ()
 DT_INT64
 
repeated int64 int64_val = 10 [packed = true];
En t
getIntVal (índice int)
 DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
En t
obtenerIntValCount ()
 DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
Lista<Entero>
obtenerListaIntVal ()
 DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
ResourceHandleProto
getResourceHandleVal (índice int)
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
En t
getResourceHandleValCount ()
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
Lista< ResourceHandleProto >
getResourceHandleValList ()
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
ResourceHandleProtoOrBuilder
getResourceHandleValOrBuilder (índice int)
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
Lista<? extiende ResourceHandleProtoOrBuilder >
getResourceHandleValOrBuilderList ()
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
flotar
getScomplexVal (índice int)
 DT_COMPLEX64.
En t
getScomplexValCount ()
 DT_COMPLEX64.
Lista<flotante>
getScomplexValList ()
 DT_COMPLEX64.
En t
com.google.protobuf.ByteString
getStringVal (índice int)
 DT_STRING
 
repeated bytes string_val = 8;
En t
getStringValCount ()
 DT_STRING
 
repeated bytes string_val = 8;
Lista<ByteString>
obtenerStringValList ()
 DT_STRING
 
repeated bytes string_val = 8;
com.google.protobuf.ByteString
obtenerTensorContenido ()
 Serialized raw tensor content from either Tensor::AsProtoTensorContent or
 memcpy in tensorflow::grpc::EncodeTensorToByteBuffer.
TensorShapeProto
obtener forma tensor ()
 Shape of the tensor.
TensorShapeProtoOrBuilder
getTensorShapeOrBuilder ()
 Shape of the tensor.
En t
getUint32Val (índice int)
 DT_UINT32
 
repeated uint32 uint32_val = 16 [packed = true];
En t
getUint32ValCount ()
 DT_UINT32
 
repeated uint32 uint32_val = 16 [packed = true];
Lista<Entero>
getUint32ValList ()
 DT_UINT32
 
repeated uint32 uint32_val = 16 [packed = true];
largo
getUint64Val (índice int)
 DT_UINT64
 
repeated uint64 uint64_val = 17 [packed = true];
En t
getUint64ValCount ()
 DT_UINT64
 
repeated uint64 uint64_val = 17 [packed = true];
Lista<Larga>
getUint64ValList ()
 DT_UINT64
 
repeated uint64 uint64_val = 17 [packed = true];
com.google.protobuf.UnknownFieldSet final
VarianteTensorDataProto
getVariantVal (índice int)
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
En t
getVariantValCount ()
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Lista <VarianteTensorDataProto>
getVariantValList ()
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
VarianteTensorDataProtoOrBuilder
getVariantValOrBuilder (índice int)
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Lista<? extiende VariantTensorDataProtoOrBuilder >
getVariantValOrBuilderList ()
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
En t
obtener número de versión ()
 Version number.
booleano
tieneTensorShape ()
 Shape of the tensor.
En t
booleano final
TensorProto.Builder estático
TensorProto.Builder estático
newBuilder (prototipo TensorProto )
TensorProto.Builder
TensorProto estático
parseDelimitedFrom (entrada de InputStream)
TensorProto estático
parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensorProto estático
parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensorProto estático
parseFrom (entrada com.google.protobuf.CodedInputStream)
TensorProto estático
parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensorProto estático
parseFrom (datos de ByteBuffer)
TensorProto estático
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
TensorProto estático
parseFrom (datos com.google.protobuf.ByteString)
TensorProto estático
parseFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensorProto estático
parseFrom (com.google.protobuf.ByteString datos, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
estático
TensorProto.Builder
vacío
writeTo (salida de com.google.protobuf.CodedOutputStream)

Métodos heredados

Constantes

int final estático público BOOL_VAL_FIELD_NUMBER

Valor constante: 11

int final estático público DCOMPLEX_VAL_FIELD_NUMBER

Valor constante: 12

int final estático público DOUBLE_VAL_FIELD_NUMBER

Valor constante: 6

int final estático público DTYPE_FIELD_NUMBER

Valor constante: 1

int final estático público FLOAT_VAL_FIELD_NUMBER

Valor constante: 5

int final estático público HALF_VAL_FIELD_NUMBER

Valor constante: 13

int final estática pública INT64_VAL_FIELD_NUMBER

Valor constante: 10

int final estático público INT_VAL_FIELD_NUMBER

Valor constante: 7

int final estático público RESOURCE_HANDLE_VAL_FIELD_NUMBER

Valor constante: 14

int final estático público SCOMPLEX_VAL_FIELD_NUMBER

Valor constante: 9

int final estático público STRING_VAL_FIELD_NUMBER

Valor constante: 8

int final estático público TENSOR_CONTENT_FIELD_NUMBER

Valor constante: 4

int final estático público TENSOR_SHAPE_FIELD_NUMBER

Valor constante: 2

int final estático público UINT32_VAL_FIELD_NUMBER

Valor constante: 16

int final estático público UINT64_VAL_FIELD_NUMBER

Valor constante: 17

int final estático público VARIANT_VAL_FIELD_NUMBER

Valor constante: 15

int final estático público VERSION_NUMBER_FIELD_NUMBER

Valor constante: 3

Métodos públicos

público booleano es igual (Objeto obj)

getBoolVal booleano público (índice int)

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

público int getBoolValCount ()

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

Lista pública<Booleano> getBoolValList ()

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

público doble getDcomplexVal (índice 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];

público 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];

Lista pública<Doble> 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];

público estático TensorProto getDefaultInstance ()

público TensorProto getDefaultInstanceForType ()

público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

público doble getDoubleVal (índice int)

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

public int getDoubleValCount ()

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

Lista pública<Doble> getDoubleValList ()

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

tipo de datos público getDtype ()

.tensorflow.DataType dtype = 1;

público int getDtypeValue ()

.tensorflow.DataType dtype = 1;

flotante público getFloatVal (índice int)

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

público int getFloatValCount ()

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

Lista pública<Float> getFloatValList ()

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

público int getHalfVal (índice 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];

público 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];

Lista pública<Entero> 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];

público largo getInt64Val (índice int)

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

público int getInt64ValCount ()

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

Lista pública<Larga> getInt64ValList ()

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

público int getIntVal (índice int)

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

público int getIntValCount ()

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

Lista pública<Entero> getIntValList ()

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

público getParserForType ()

ResourceHandlePro público para getResourceHandleVal (índice int)

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

público int getResourceHandleValCount ()

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

Lista pública< ResourceHandleProto > getResourceHandleValList ()

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

público ResourceHandleProtoOrBuilder getResourceHandleValOrBuilder (índice int)

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

Lista pública<? extiende ResourceHandleProtoOrBuilder > getResourceHandleValOrBuilderList ()

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

getScomplexVal flotante público (índice 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];

público 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];

Lista pública<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];

público int getSerializedSize ()

público com.google.protobuf.ByteString getStringVal (índice int)

 DT_STRING
 
repeated bytes string_val = 8;

público int getStringValCount ()

 DT_STRING
 
repeated bytes string_val = 8;

Lista pública<ByteString> getStringValList ()

 DT_STRING
 
repeated bytes string_val = 8;

público 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;

público TensorShapeProto getTensorShape ()

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

público TensorShapeProtoOrBuilder getTensorShapeOrBuilder ()

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

público int getUint32Val (índice int)

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

público int getUint32ValCount ()

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

Lista pública<Entero> getUint32ValList ()

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

público largo getUint64Val (índice int)

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

público int getUint64ValCount ()

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

Lista pública<Larga> getUint64ValList ()

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

público final com.google.protobuf.UnknownFieldSet getUnknownFields ()

público VariantTensorDataProto getVariantVal (índice int)

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

público int getVariantValCount ()

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

Lista pública< VariantTensorDataProto > getVariantValList ()

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

público VariantTensorDataProtoOrBuilder getVariantValOrBuilder (índice int)

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

Lista pública<? extiende 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;

hasTensorShape booleano público ()

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

código hash int público ()

público final booleano isInitialized ()

público estático TensorProto.Builder newBuilder ()

público estático TensorProto.Builder newBuilder (prototipo de TensorProto )

público TensorProto.Builder newBuilderForType ()

TensorProto estático público parseDelimitedFrom (entrada de InputStream)

Lanza
IOExcepción

TensorProto estático público parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOExcepción

público estático TensorProto parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
Excepción de buffer de protocolo no válido

parseFrom público estático de TensorProto (entrada com.google.protobuf.CodedInputStream)

Lanza
IOExcepción

público estático TensorProto parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
Excepción de buffer de protocolo no válido

parseFrom público estático de TensorProto (datos de ByteBuffer)

Lanza
Excepción de buffer de protocolo no válido

parseFrom público estático de TensorProto (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)

Lanza
IOExcepción

parseFrom público estático de TensorProto (datos com.google.protobuf.ByteString)

Lanza
Excepción de buffer de protocolo no válido

parseFrom público estático de TensorProto (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOExcepción

parseFrom público estático de TensorProto (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
Excepción de buffer de protocolo no válido

estática pública analizador ()

público TensorProto.Builder toBuilder ()

escritura vacía pública (salida de com.google.protobuf.CodedOutputStream)

Lanza
IOExcepción