classe final pública TensorProto
Protocol buffer representing a tensor.Protobuf tipo
tensorflow.TensorProto
Classes aninhadas
aula | TensorProto.Builder | Protocol buffer representing a tensor. |
Constantes
interno | BOOL_VAL_FIELD_NUMBER | |
interno | DCOMPLEX_VAL_FIELD_NUMBER | |
interno | DOUBLE_VAL_FIELD_NUMBER | |
interno | DTYPE_FIELD_NUMBER | |
interno | FLOAT_VAL_FIELD_NUMBER | |
interno | HALF_VAL_FIELD_NUMBER | |
interno | INT64_VAL_FIELD_NUMBER | |
interno | INT_VAL_FIELD_NUMBER | |
interno | RESOURCE_HANDLE_VAL_FIELD_NUMBER | |
interno | SCOMPLEX_VAL_FIELD_NUMBER | |
interno | STRING_VAL_FIELD_NUMBER | |
interno | TENSOR_CONTENT_FIELD_NUMBER | |
interno | TENSOR_SHAPE_FIELD_NUMBER | |
interno | UINT32_VAL_FIELD_NUMBER | |
interno | UINT64_VAL_FIELD_NUMBER | |
interno | VARIANT_VAL_FIELD_NUMBER | |
interno | VERSION_NUMBER_FIELD_NUMBER |
Métodos Públicos
boleano | é igual (objeto obj) |
boleano | getBoolVal (índice interno) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
interno | getBoolValCount () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
Lista<Booleano> | getBoolValList () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
dobro | getDcomplexVal (índice interno) DT_COMPLEX128. |
interno | getDcomplexValCount () DT_COMPLEX128. |
Lista<Duplo> | getDcomplexValList () DT_COMPLEX128. |
TensorProto estático | |
TensorProto | |
final estático com.google.protobuf.Descriptors.Descriptor | |
dobro | getDoubleVal (índice interno) DT_DOUBLE. |
interno | getDoubleValCount () DT_DOUBLE. |
Lista<Duplo> | getDoubleValList () DT_DOUBLE. |
Tipo de dados | getDtype () .tensorflow.DataType dtype = 1; |
interno | getDtypeValue () .tensorflow.DataType dtype = 1; |
flutuador | getFloatVal (índice interno) DT_FLOAT. |
interno | getFloatValCount () DT_FLOAT. |
Lista<flutuante> | getFloatValList () DT_FLOAT. |
interno | getHalfVal (índice interno) DT_HALF, DT_BFLOAT16. |
interno | getHalfValCount () DT_HALF, DT_BFLOAT16. |
Lista<Inteiro> | getHalfValList () DT_HALF, DT_BFLOAT16. |
longo | getInt64Val (índice interno) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
interno | getInt64ValCount () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
Lista<Longa> | getInt64ValList () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
interno | getIntVal (índice interno) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
interno | getIntValCount () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
Lista<Inteiro> | getIntValList () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
ResourceHandleProto | getResourceHandleVal (índice interno) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
interno | 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 interno) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
Lista<? estende ResourceHandleProtoOrBuilder > | getResourceHandleValOrBuilderList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
flutuador | getScomplexVal (índice interno) DT_COMPLEX64. |
interno | getScomplexValCount () DT_COMPLEX64. |
Lista<flutuante> | getScomplexValList () DT_COMPLEX64. |
interno | |
com.google.protobuf.ByteString | getStringVal (índice interno) DT_STRING repeated bytes string_val = 8; |
interno | getStringValCount () DT_STRING repeated bytes string_val = 8; |
Lista<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 | obterTensorShape () Shape of the tensor. |
TensorShapeProtoOrBuilder | getTensorShapeOrBuilder () Shape of the tensor. |
interno | getUint32Val (índice interno) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
interno | getUint32ValCount () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
Lista<Inteiro> | getUint32ValList () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
longo | getUint64Val (índice interno) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
interno | getUint64ValCount () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
Lista<Longa> | getUint64ValList () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
final com.google.protobuf.UnknownFieldSet | |
VarianteTensorDataProto | getVariantVal (índice interno) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
interno | getVariantValCount () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Lista< VariantTensorDataProto > | getVariantValList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VarianteTensorDataProtoOrBuilder | getVariantValOrBuilder (índice interno) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
Lista<? estende VariantTensorDataProtoOrBuilder > | getVariantValOrBuilderList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
interno | getVersionNumber () Version number. |
boleano | hasTensorShape () Shape of the tensor. |
interno | código hash () |
booleano final | |
TensorProto.Builder estático | |
TensorProto.Builder estático | newBuilder (protótipo TensorProto ) |
TensorProto.Builder | |
TensorProto estático | parseDelimitedFrom (entrada InputStream) |
TensorProto estático | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorProto estático | parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorProto estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
TensorProto estático | parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorProto estático | parseFrom (dados de ByteBuffer) |
TensorProto estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorProto estático | parseFrom (dados com.google.protobuf.ByteString) |
TensorProto estático | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorProto estático | parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
TensorProto.Builder | |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
público estático final int BOOL_VAL_FIELD_NUMBER
Valor Constante: 11
público estático final int DCOMPLEX_VAL_FIELD_NUMBER
Valor Constante: 12
público estático final int DOUBLE_VAL_FIELD_NUMBER
Valor Constante: 6
público estático final int DTYPE_FIELD_NUMBER
Valor Constante: 1
público estático final int FLOAT_VAL_FIELD_NUMBER
Valor Constante: 5
público estático final int HALF_VAL_FIELD_NUMBER
Valor Constante: 13
público estático final int INT64_VAL_FIELD_NUMBER
Valor Constante: 10
público estático final int INT_VAL_FIELD_NUMBER
Valor Constante: 7
público estático final int RESOURCE_HANDLE_VAL_FIELD_NUMBER
Valor Constante: 14
público estático final int 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
público estático final int TENSOR_SHAPE_FIELD_NUMBER
Valor Constante: 2
público estático final int UINT32_VAL_FIELD_NUMBER
Valor Constante: 16
público estático final int 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
booleano público é igual (Object obj)
público booleano getBoolVal (í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<Boolean> getBoolValList ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
público duplo 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<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];
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público duplo getDoubleVal (índice int)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
público int getDoubleValCount ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
lista pública<Double> getDoubleValList ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
público int getDtypeValue ()
.tensorflow.DataType dtype = 1;
float 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<inteiro> 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 longo 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<longa> getInt64ValList ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public 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<inteiro> getIntValList ()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
público getParserForType ()
public ResourceHandleProto 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;
public ResourceHandleProtoOrBuilder getResourceHandleValOrBuilder (índice int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
Lista pública<? estende ResourceHandleProtoOrBuilder > getResourceHandleValOrBuilderList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
flutuador público getScomplexVal (í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;
public 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<inteiro> getUint32ValList ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
público longo 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<longa> getUint64ValList ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
final público 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<? estende VariantTensorDataProtoOrBuilder > getVariantValOrBuilderList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
público 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;
hashCode int público ()
público final booleano isInitialized ()
public static TensorProto parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static TensorProto parseFrom (dados ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
TensorProto estático público parseFrom (entrada com.google.protobuf.CodedInputStream)
Lança
IOException |
---|
public static TensorProto parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
TensorProto estático público parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
TensorProto estático público parseFrom (dados com.google.protobuf.ByteString)
Lança
InvalidProtocolBufferException |
---|
public static TensorProto parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
TensorProto estático público parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|