TensorProto

공개 최종 클래스 TensorProto

 Protocol buffer representing a tensor.
 
Protobuf 유형 tensorflow.TensorProto

중첩 클래스

수업 TensorProto.Builder
 Protocol buffer representing a tensor. 

상수

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

공개 방법

부울
같음 (객체 객체)
부울
getBoolVal (정수 인덱스)
 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];
정수
getBoolValCount ()
 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];
목록<부울>
getBoolValList ()
 DT_BOOL
 
repeated bool bool_val = 11 [packed = true];
더블
getDcomplexVal (정수 인덱스)
 DT_COMPLEX128.
정수
getDcomplexValCount ()
 DT_COMPLEX128.
목록<더블>
getDcomplexValList ()
 DT_COMPLEX128.
정적 TensorProto
텐서프로토
최종 정적 com.google.protobuf.Descriptors.Descriptor
더블
getDoubleVal (정수 인덱스)
 DT_DOUBLE.
정수
getDoubleValCount ()
 DT_DOUBLE.
목록<더블>
getDoubleValList ()
 DT_DOUBLE.
데이터 형식
getD유형 ()
.tensorflow.DataType dtype = 1;
정수
getDtype값 ()
.tensorflow.DataType dtype = 1;
뜨다
getFloatVal (정수 인덱스)
 DT_FLOAT.
정수
getFloatValCount ()
 DT_FLOAT.
목록<플로트>
getFloatValList ()
 DT_FLOAT.
정수
getHalfVal (정수 인덱스)
 DT_HALF, DT_BFLOAT16.
정수
getHalfValCount ()
 DT_HALF, DT_BFLOAT16.
목록<정수>
getHalfValList ()
 DT_HALF, DT_BFLOAT16.
getInt64Val (정수 인덱스)
 DT_INT64
 
repeated int64 int64_val = 10 [packed = true];
정수
getInt64ValCount ()
 DT_INT64
 
repeated int64 int64_val = 10 [packed = true];
목록<긴>
getInt64ValList ()
 DT_INT64
 
repeated int64 int64_val = 10 [packed = true];
정수
getIntVal (정수 인덱스)
 DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
정수
getIntValCount ()
 DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
목록<정수>
getIntValList ()
 DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
리소스핸들프로토
getResourceHandleVal (정수 인덱스)
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
정수
getResourceHandleValCount ()
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
목록< ResourceHandleProto >
getResourceHandleValList ()
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
ResourceHandleProtoOrBuilder
getResourceHandleValOrBuilder (정수 인덱스)
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
목록<? ResourceHandleProtoOrBuilder 확장 >
getResourceHandleValOrBuilderList ()
 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
뜨다
getScomplexVal (정수 인덱스)
 DT_COMPLEX64.
정수
getScomplexValCount ()
 DT_COMPLEX64.
목록<플로트>
getScomplexValList ()
 DT_COMPLEX64.
정수
com.google.protobuf.ByteString
getStringVal (정수 인덱스)
 DT_STRING
 
repeated bytes string_val = 8;
정수
getStringValCount ()
 DT_STRING
 
repeated bytes string_val = 8;
목록<바이트 문자열>
getStringValList ()
 DT_STRING
 
repeated bytes string_val = 8;
com.google.protobuf.ByteString
getTensor콘텐츠 ()
 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.
정수
getUint32Val (정수 인덱스)
 DT_UINT32
 
repeated uint32 uint32_val = 16 [packed = true];
정수
getUint32ValCount ()
 DT_UINT32
 
repeated uint32 uint32_val = 16 [packed = true];
목록<정수>
getUint32ValList ()
 DT_UINT32
 
repeated uint32 uint32_val = 16 [packed = true];
getUint64Val (정수 인덱스)
 DT_UINT64
 
repeated uint64 uint64_val = 17 [packed = true];
정수
getUint64ValCount ()
 DT_UINT64
 
repeated uint64 uint64_val = 17 [packed = true];
목록<긴>
getUint64ValList ()
 DT_UINT64
 
repeated uint64 uint64_val = 17 [packed = true];
최종 com.google.protobuf.UnknownFieldSet
VariantTensorDataProto
getVariantVal (정수 인덱스)
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
정수
getVariantValCount ()
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
목록< VariantTensorDataProto >
getVariantValList ()
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
VariantTensorDataProtoOrBuilder
getVariantValOrBuilder (정수 인덱스)
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
목록<? VariantTensorDataProtoOrBuilder 확장 >
getVariantValOrBuilderList ()
 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
정수
getVersionNumber ()
 Version number.
부울
hasTensorShape ()
 Shape of the tensor.
정수
최종 부울
정적 TensorProto.Builder
정적 TensorProto.Builder
newBuilder ( TensorProto 프로토타입)
TensorProto.Builder
정적 TensorProto
parsDelimitedFrom (InputStream 입력)
정적 TensorProto
parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 TensorProto
ParseFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 TensorProto
ParseFrom (com.google.protobuf.CodedInputStream 입력)
정적 TensorProto
parseFrom (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite 확장Registry)
정적 TensorProto
parsFrom (ByteBuffer 데이터)
정적 TensorProto
ParseFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 TensorProto
ParseFrom (com.google.protobuf.ByteString 데이터)
정적 TensorProto
ParseFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 TensorProto
ParseFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
공전
파서 ()
TensorProto.Builder
무효의
writeTo (com.google.protobuf.CodedOutputStream 출력)

상속된 메서드

상수

공개 정적 최종 int BOOL_VAL_FIELD_NUMBER

상수값: 11

공개 정적 최종 int DCOMPLEX_VAL_FIELD_NUMBER

상수값: 12

공개 정적 최종 int DOUBLE_VAL_FIELD_NUMBER

상수값: 6

공개 정적 최종 int DTYPE_FIELD_NUMBER

상수값: 1

공개 정적 최종 int FLOAT_VAL_FIELD_NUMBER

상수값: 5

공개 정적 최종 int HALF_VAL_FIELD_NUMBER

상수값: 13

공개 정적 최종 int INT64_VAL_FIELD_NUMBER

상수값: 10

공개 정적 최종 int INT_VAL_FIELD_NUMBER

상수값: 7

공개 정적 최종 int RESOURCE_HANDLE_VAL_FIELD_NUMBER

상수값: 14

공개 정적 최종 int SCOMPLEX_VAL_FIELD_NUMBER

상수값: 9

공개 정적 최종 정수 STRING_VAL_FIELD_NUMBER

상수값: 8

공개 정적 최종 int TENSOR_CONTENT_FIELD_NUMBER

상수값: 4

공개 정적 최종 int TENSOR_SHAPE_FIELD_NUMBER

상수값: 2

공개 정적 최종 int UINT32_VAL_FIELD_NUMBER

상수값: 16

공개 정적 최종 int UINT64_VAL_FIELD_NUMBER

상수값: 17

공개 정적 최종 int VARIANT_VAL_FIELD_NUMBER

상수값: 15

공개 정적 최종 int VERSION_NUMBER_FIELD_NUMBER

상수값: 3

공개 방법

공개 부울은 (객체 obj)와 같습니다 .

공개 부울 getBoolVal (int 인덱스)

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

공개 int getBoolValCount ()

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

공개 목록<Boolean> getBoolValList ()

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

공개 이중 getDcomplexVal (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];

공개 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];

공개 목록<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];

공개 정적 TensorProto getDefaultInstance ()

공개 TensorProto getDefaultInstanceForType ()

공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()

공개 더블 getDoubleVal (int 인덱스)

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

공개 int getDoubleValCount ()

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

공개 목록<Double> getDoubleValList ()

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

공개 데이터 유형 getDtype ()

.tensorflow.DataType dtype = 1;

공개 int getDtypeValue ()

.tensorflow.DataType dtype = 1;

공개 부동 getFloatVal (정수 인덱스)

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

공개 int getFloatValCount ()

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

공개 목록<Float> getFloatValList ()

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

공개 int getHalfVal (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];

공개 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];

공개 목록<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];

공개 긴 getInt64Val (int 인덱스)

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

공개 int getInt64ValCount ()

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

공개 목록<Long> getInt64ValList ()

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

공개 int getIntVal (int 인덱스)

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

공개 int getIntValCount ()

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

공개 목록<정수> getIntValList ()

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

공공의 getParserForType ()

공개 ResourceHandleProto getResourceHandleVal (int 인덱스)

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

공개 int getResourceHandleValCount ()

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

공개 목록< ResourceHandleProto > getResourceHandleValList ()

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

공개 ResourceHandleProtoOrBuilder getResourceHandleValOrBuilder (int 인덱스)

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

공개 목록<? ResourceHandleProtoOrBuilder > getResourceHandleValOrBuilderList () 를 확장합니다.

 DT_RESOURCE
 
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;

공개 부동 getScomplexVal (정수 인덱스)

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

공개 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];

공개 목록<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];

공개 int getSerializedSize ()

공개 com.google.protobuf.ByteString getStringVal (int 인덱스)

 DT_STRING
 
repeated bytes string_val = 8;

공개 int getStringValCount ()

 DT_STRING
 
repeated bytes string_val = 8;

공개 목록<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. 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;

공개 TensorShapeProto getTensorShape ()

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

공개 TensorShapeProtoOrBuilder getTensorShapeOrBuilder ()

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

공개 int getUint32Val (int 인덱스)

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

공개 int getUint32ValCount ()

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

공개 목록<정수> getUint32ValList ()

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

공개 긴 getUint64Val (int 인덱스)

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

공개 int getUint64ValCount ()

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

공개 목록<Long> getUint64ValList ()

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

공개 최종 com.google.protobuf.UnknownFieldSet getUnknownFields ()

공개 VariantTensorDataProto getVariantVal (int 인덱스)

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

공개 int getVariantValCount ()

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

공개 목록< VariantTensorDataProto > getVariantValList ()

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

공개 VariantTensorDataProtoOrBuilder getVariantValOrBuilder (int 인덱스)

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

공개 목록<? VariantTensorDataProtoOrBuilder > getVariantValOrBuilderList () 를 확장합니다.

 DT_VARIANT
 
repeated .tensorflow.VariantTensorDataProto variant_val = 15;

공개 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 ()

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

공개 int hashCode ()

공개 최종 부울 isInitialized ()

공개 정적 TensorProto.Builder newBuilder ()

공개 정적 TensorProto.Builder newBuilder ( TensorProto 프로토타입)

공개 TensorProto.Builder newBuilderForType ()

공개 정적 TensorProto parseDelimitedFrom (InputStream 입력)

던지기
IO예외

공개 정적 TensorProtoparseDelimitedFrom ( InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
IO예외

공개 정적 TensorProto parsFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
잘못된프로토콜버퍼예외

공개 정적 TensorProto parsFrom (com.google.protobuf.CodedInputStream 입력)

던지기
IO예외

공개 정적 TensorProto parsFrom (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
잘못된프로토콜버퍼예외

공개 정적 TensorProto parsFrom (ByteBuffer 데이터)

던지기
잘못된프로토콜버퍼예외

공개 정적 TensorProto ParseFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite 확장Registry)

던지기
IO예외

공개 정적 TensorProto parsFrom (com.google.protobuf.ByteString 데이터)

던지기
잘못된프로토콜버퍼예외

공개 정적 TensorProto parsFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
IO예외

공개 정적 TensorProto ParseFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
잘못된프로토콜버퍼예외

공개 정적 파서 ()

공개 TensorProto.Builder toBuilder ()

공개 무효 writeTo (com.google.protobuf.CodedOutputStream 출력)

던지기
IO예외