TensorProto

publiczna klasa końcowa TensorProto

 Protocol buffer representing a tensor.
 
Protobuf typu tensorflow.TensorProto

Klasy zagnieżdżone

klasa TensorProto.Builder
 Protocol buffer representing a tensor. 

Stałe

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

Metody publiczne

wartość logiczna
równa się (obiekt obiektu)
wartość logiczna
getBoolVal (indeks int)
 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];
wew
getBoolValCount ()
 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];
Lista<Boolean>
getBoolValList ()
 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];
podwójnie
getDcomplexVal (indeks int)
 DT_COMPLEX128.
wew
getDcomplexValCount ()
 DT_COMPLEX128.
Lista<Podwójne>
getDcomplexValList ()
 DT_COMPLEX128.
statyczny TensorProto
TensorProto
końcowy statyczny com.google.protobuf.Descriptors.Descriptor
podwójnie
getDoubleVal (indeks int)
 DT_DOUBLE.
wew
getDoubleValCount ()
 DT_DOUBLE.
Lista<Podwójne>
getDoubleValList ()
 DT_DOUBLE.
Typ danych
getDtype ()
.tensorflow.DataType dtype = 1;
wew
getDtypeValue ()
.tensorflow.DataType dtype = 1;
platforma
getFloatVal (indeks int)
 DT_FLOAT.
wew
getFloatValCount ()
 DT_FLOAT.
Lista<Float>
getFloatValList ()
 DT_FLOAT.
wew
getHalfVal (indeks int)
 DT_HALF, DT_BFLOAT16.
wew
getHalfValCount ()
 DT_HALF, DT_BFLOAT16.
Lista<liczba całkowita>
getHalfValList ()
 DT_HALF, DT_BFLOAT16.
długi
getInt64Val (indeks int)
 DT_INT64
 
repeated int64 int64_val = 10 [packed = true];
wew
getInt64ValCount ()
 DT_INT64
 
repeated int64 int64_val = 10 [packed = true];
Lista<Długa>
getInt64ValList ()
 DT_INT64
 
repeated int64 int64_val = 10 [packed = true];
wew
getIntVal (indeks int)
 DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
wew
getIntValCount ()
 DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
Lista<liczba całkowita>
getIntValList ()
 DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
ResourceHandleProto
getResourceHandleVal (indeks int)
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
wew
getResourceHandleValCount ()
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
Lista< ResourceHandleProto >
getResourceHandleValList ()
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
ResourceHandleProtoOrBuilder
getResourceHandleValOrBuilder (indeks int)
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
Lista<? rozszerza ResourceHandleProtoOrBuilder >
getResourceHandleValOrBuilderList ()
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
platforma
getScomplexVal (indeks int)
 DT_COMPLEX64.
wew
getScomplexValCount ()
 DT_COMPLEX64.
Lista<Float>
getScomplexValList ()
 DT_COMPLEX64.
wew
com.google.protobuf.ByteString
getStringVal (indeks int)
 DT_STRING
 
repeated bytes string_val = 8;
wew
getStringValCount ()
 DT_STRING
 
repeated bytes string_val = 8;
Lista<ByteString>
getStringValList ()
 DT_STRING
 
repeated bytes string_val = 8;
com.google.protobuf.ByteString
pobierzTensorContent ()
 Serialized raw tensor content from either Tensor::AsProtoTensorContent or
 memcpy in tensorflow::grpc::EncodeTensorToByteBuffer.
TensorShapeProto
pobierzTensorShape ()
 Shape of the tensor.
TensorShapeProtoOrBuilder
getTensorShapeOrBuilder ()
 Shape of the tensor.
wew
getUint32Val (indeks int)
 DT_UINT32
 
repeated uint32 uint32_val = 16 [packed = true];
wew
getUint32ValCount ()
 DT_UINT32
 
repeated uint32 uint32_val = 16 [packed = true];
Lista<liczba całkowita>
getUint32ValList ()
 DT_UINT32
 
repeated uint32 uint32_val = 16 [packed = true];
długi
getUint64Val (indeks int)
 DT_UINT64
 
repeated uint64 uint64_val = 17 [packed = true];
wew
getUint64ValCount ()
 DT_UINT64
 
repeated uint64 uint64_val = 17 [packed = true];
Lista<Długa>
getUint64ValList ()
 DT_UINT64
 
repeated uint64 uint64_val = 17 [packed = true];
końcowy com.google.protobuf.UnknownFieldSet
VariantTensorDataProto
getVariantVal (indeks int)
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
wew
getVariantValCount ()
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Lista <VariantTensorDataProto>
getVariantValList ()
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
VariantTensorDataProtoOrBuilder
getVariantValOrBuilder (indeks int)
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Lista<? rozszerza VariantTensorDataProtoOrBuilder >
getVariantValOrBuilderList ()
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
wew
pobierz numer wersji ()
 Version number.
wartość logiczna
maTensorShape ()
 Shape of the tensor.
wew
końcowa wartość logiczna
statyczny TensorProto.Builder
statyczny TensorProto.Builder
newBuilder (prototyp TensorProto )
TensorProto.Builder
statyczny TensorProto
parseDelimitedFrom (wejście strumienia wejściowego)
statyczny TensorProto
parseDelimitedFrom (dane wejścioweInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
statyczny TensorProto
parseFrom (dane ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
statyczny TensorProto
parseFrom (wejście com.google.protobuf.CodedInputStream)
statyczny TensorProto
parseFrom (bajt [] dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
statyczny TensorProto
parseFrom (dane ByteBuffer)
statyczny TensorProto
parseFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
statyczny TensorProto
parseFrom (dane com.google.protobuf.ByteString)
statyczny TensorProto
parseFrom (dane wejścioweInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
statyczny TensorProto
parseFrom (dane com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
statyczny
parser ()
TensorProto.Builder
próżnia
writeTo (wyjście com.google.protobuf.CodedOutputStream)

Metody dziedziczone

Stałe

publiczny statyczny końcowy int BOOL_VAL_FIELD_NUMBER

Wartość stała: 11

publiczny statyczny końcowy int DCOMPLEX_VAL_FIELD_NUMBER

Wartość stała: 12

publiczny statyczny końcowy int DOUBLE_VAL_FIELD_NUMBER

Wartość stała: 6

publiczny statyczny końcowy int DTYPE_FIELD_NUMBER

Wartość stała: 1

publiczny statyczny końcowy int FLOAT_VAL_FIELD_NUMBER

Wartość stała: 5

publiczny statyczny końcowy int HALF_VAL_FIELD_NUMBER

Wartość stała: 13

publiczny statyczny końcowy int INT64_VAL_FIELD_NUMBER

Wartość stała: 10

publiczny statyczny końcowy int INT_VAL_FIELD_NUMBER

Wartość stała: 7

publiczny statyczny końcowy int RESOURCE_HANDLE_VAL_FIELD_NUMBER

Wartość stała: 14

publiczny statyczny końcowy int SCOMPLEX_VAL_FIELD_NUMBER

Wartość stała: 9

publiczny statyczny końcowy int STRING_VAL_FIELD_NUMBER

Wartość stała: 8

publiczny statyczny końcowy int TENSOR_CONTENT_FIELD_NUMBER

Wartość stała: 4

publiczny statyczny końcowy int TENSOR_SHAPE_FIELD_NUMBER

Wartość stała: 2

publiczny statyczny końcowy int UINT32_VAL_FIELD_NUMBER

Wartość stała: 16

publiczny statyczny końcowy int UINT64_VAL_FIELD_NUMBER

Wartość stała: 17

publiczny statyczny końcowy int VARIANT_VAL_FIELD_NUMBER

Wartość stała: 15

publiczny statyczny końcowy int VERSION_NUMBER_FIELD_NUMBER

Wartość stała: 3

Metody publiczne

publiczna wartość logiczna równa się (obiekt obiektu)

publiczna wartość logiczna getBoolVal (indeks int)

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

publiczny int getBoolValCount ()

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

public List<Boolean> getBoolValList ()

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

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

publiczny 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];

public List<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];

publiczny statyczny TensorProto getDefaultInstance ()

publiczny TensorProto getDefaultInstanceForType ()

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

public double getDoubleVal (indeks int)

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

publiczny int getDoubleValCount ()

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

public List<Double> getDoubleValList ()

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

publiczny typ danych getDtype ()

.tensorflow.DataType dtype = 1;

publiczny int getDtypeValue ()

.tensorflow.DataType dtype = 1;

publiczny float getFloatVal (indeks int)

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

publiczny int getFloatValCount ()

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

public List<Float> getFloatValList ()

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

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

publiczny 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];

public List<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];

publiczny długi getInt64Val (indeks int)

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

publiczny int getInt64ValCount ()

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

lista publiczna<Long> getInt64ValList ()

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

public int getIntVal (indeks int)

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

publiczny int getIntValCount ()

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

public List<Integer> getIntValList ()

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

publiczny getParserForType ()

publiczny ResourceHandleProto getResourceHandleVal (indeks int)

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

public int getResourceHandleValCount ()

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

public List< ResourceHandleProto > getResourceHandleValList ()

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

publiczny ResourceHandleProtoOrBuilder getResourceHandleValOrBuilder (indeks int)

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

lista publiczna<? rozszerza ResourceHandleProtoOrBuilder > getResourceHandleValOrBuilderList ()

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

publiczny float getScomplexVal (indeks 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];

publiczny 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];

public List<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];

publiczny int getSerializedSize ()

public com.google.protobuf.ByteString getStringVal (indeks int)

 DT_STRING
 
repeated bytes string_val = 8;

publiczny int getStringValCount ()

 DT_STRING
 
repeated bytes string_val = 8;

public List<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;

publiczny TensorShapeProto getTensorShape ()

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

publiczny TensorShapeProtoOrBuilder getTensorShapeOrBuilder ()

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

public int getUint32Val (indeks int)

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

publiczny int getUint32ValCount ()

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

public List<Integer> getUint32ValList ()

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

publiczny długi getUint64Val (indeks int)

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

publiczny int getUint64ValCount ()

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

lista publiczna<Long> getUint64ValList ()

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

publiczny finał com.google.protobuf.UnknownFieldSet getUnknownFields ()

public VariantTensorDataProto getVariantVal (indeks int)

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

publiczny int getVariantValCount ()

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

public List< VariantTensorDataProto > getVariantValList ()

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

public VariantTensorDataProtoOrBuilder getVariantValOrBuilder (indeks int)

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

lista publiczna<? rozszerza VariantTensorDataProtoOrBuilder > getVariantValOrBuilderList ()

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

publiczny 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;

publiczna wartość logiczna hasTensorShape ()

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

publiczny int hashCode ()

publiczna końcowa wartość logiczna isInitialized ()

publiczny statyczny TensorProto.Builder newBuilder ()

publiczny statyczny TensorProto.Builder newBuilder (prototyp TensorProto )

publiczny TensorProto.Builder newBuilderForType ()

publiczny statyczny TensorProto parseDelimitedFrom (wejście strumienia wejściowego)

Rzuca
Wyjątek IO

public static TensorProto parseDelimitedFrom (dane wejściowe wejściowe, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Rzuca
Wyjątek IO

public static TensorProto parseFrom (dane ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Rzuca
Nieprawidłowy wyjątekProtocolBufferException

public static TensorProto parseFrom (wejście com.google.protobuf.CodedInputStream)

Rzuca
Wyjątek IO

publiczny statyczny TensorProto parseFrom (bajt [] dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)

Rzuca
Nieprawidłowy wyjątekProtocolBufferException

public static TensorProto parseFrom (dane ByteBuffer)

Rzuca
Nieprawidłowy wyjątekProtocolBufferException

public static TensorProto parseFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Rzuca
Wyjątek IO

publiczny statyczny TensorProto parseFrom (dane com.google.protobuf.ByteString)

Rzuca
Nieprawidłowy wyjątekProtocolBufferException

publiczny statyczny TensorProto parseFrom (dane wejściowe wejściowe, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Rzuca
Wyjątek IO

public static TensorProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Rzuca
Nieprawidłowy wyjątekProtocolBufferException

publiczna statyka parser ()

publiczny TensorProto.Builder toBuilder ()

public void writeTo (wyjście com.google.protobuf.CodedOutputStream)

Rzuca
Wyjątek IO