공개 정적 최종 클래스 TensorProto.Builder
Protocol buffer representing a tensor.Protobuf 유형
tensorflow.TensorProto
공개 방법
TensorProto.Builder | addAllBoolVal (Iterable<? 확장 Boolean> 값) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | addAllDcomplexVal (Iterable<? 확장 Double> 값) DT_COMPLEX128. |
TensorProto.Builder | addAllDoubleVal (Iterable<? 확장 Double> 값) DT_DOUBLE. |
TensorProto.Builder | addAllFloatVal (Iterable<? 확장 Float> 값) DT_FLOAT. |
TensorProto.Builder | addAllHalfVal (반복 가능<? 확장 정수> 값) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | addAllInt64Val (Iterable<? 확장 Long> 값) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | addAllIntVal (Iterable<? 확장 정수> 값) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | addAllResourceHandleVal (Iterable<? 확장 ResourceHandleProto > 값) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addAllScomplexVal (Iterable<? 확장 Float> 값) DT_COMPLEX64. |
TensorProto.Builder | addAllStringVal (Iterable<? 확장 ByteString> 값) DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | addAllUint32Val (반복 가능<? 확장 정수> 값) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | addAllUint64Val (Iterable<? 확장 Long> 값) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
TensorProto.Builder | addAllVariantVal (Iterable<? 확장 VariantTensorDataProto > 값) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addBoolVal (부울 값) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | addDcomplexVal (이중 값) DT_COMPLEX128. |
TensorProto.Builder | addDoubleVal (이중 값) DT_DOUBLE. |
TensorProto.Builder | addFloatVal (부동 소수점 값) DT_FLOAT. |
TensorProto.Builder | addHalfVal (정수 값) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | addInt64Val (긴 값) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | addIntVal (정수 값) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
TensorProto.Builder | addResourceHandleVal (int 인덱스, ResourceHandleProto.Builder builderForValue) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addResourceHandleVal (int 인덱스, ResourceHandleProto 값) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addResourceHandleVal ( ResourceHandleProto 값) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addResourceHandleVal ( ResourceHandleProto.Builder builderForValue) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
ResourceHandleProto.Builder | addResourceHandleValBuilder (정수 인덱스) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
ResourceHandleProto.Builder | addResourceHandleValBuilder () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addScomplexVal (부동 소수점 값) DT_COMPLEX64. |
TensorProto.Builder | addStringVal (com.google.protobuf.ByteString 값) DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | addUint32Val (정수 값) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | addUint64Val (긴 값) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
TensorProto.Builder | addVariantVal ( VariantTensorDataProto 값) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addVariantVal (int 인덱스, VariantTensorDataProto.Builder builderForValue) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addVariantVal (int 인덱스, VariantTensorDataProto 값) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addVariantVal ( VariantTensorDataProto.Builder builderForValue) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProto.Builder | addVariantValBuilder (int 인덱스) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProto.Builder | addVariantValBuilder () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
텐서프로토 | 짓다 () |
텐서프로토 | 빌드부분 () |
TensorProto.Builder | 분명한 () |
TensorProto.Builder | 클리어BoolVal () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | 클리어D복합발 () DT_COMPLEX128. |
TensorProto.Builder | 클리어더블발 () DT_DOUBLE. |
TensorProto.Builder | 클리어D타입 () .tensorflow.DataType dtype = 1; |
TensorProto.Builder | ClearField (com.google.protobuf.Descriptors.FieldDescriptor 필드) |
TensorProto.Builder | 클리어플로트발 () DT_FLOAT. |
TensorProto.Builder | 클리어하프발 () DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | 클리어Int64Val () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | 클리어IntVal () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TensorProto.Builder | 클리어리소스핸들발 () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | 클리어ScomplexVal () DT_COMPLEX64. |
TensorProto.Builder | 클리어스트링발 () DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | 클리어텐서컨텐트 () Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. |
TensorProto.Builder | 클리어텐서셰이프 () Shape of the tensor. |
TensorProto.Builder | 클리어Uint32Val () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | 클리어Uint64Val () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
TensorProto.Builder | 클리어VariantVal () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | 클리어버전번호 () Version number. |
TensorProto.Builder | 클론 () |
부울 | 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. |
텐서프로토 | |
최종 정적 com.google.protobuf.Descriptors.Descriptor | |
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; |
ResourceHandleProto.Builder | getResourceHandleValBuilder (정수 인덱스) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
목록< ResourceHandleProto.Builder > | getResourceHandleValBuilderList () 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. |
TensorShapeProto.Builder | getTensorShapeBuilder () 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]; |
VariantTensorDataProto | getVariantVal (정수 인덱스) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProto.Builder | getVariantValBuilder (정수 인덱스) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
목록< VariantTensorDataProto.Builder > | getVariantValBuilderList () 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 | mergeFrom (com.google.protobuf.다른 메시지 보내기) |
TensorProto.Builder | mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
TensorProto.Builder | |
최종 TensorProto.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 알려지지 않은Fields) |
TensorProto.Builder | RemoveResourceHandleVal (정수 인덱스) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | RemoveVariantVal (int 인덱스) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | setBoolVal (int 인덱스, 부울 값) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | setDcomplexVal (int 인덱스, double 값) DT_COMPLEX128. |
TensorProto.Builder | setDoubleVal (int 인덱스, double 값) DT_DOUBLE. |
TensorProto.Builder | |
TensorProto.Builder | setDtypeValue (정수 값) .tensorflow.DataType dtype = 1; |
TensorProto.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
TensorProto.Builder | setFloatVal (int 인덱스, float 값) DT_FLOAT. |
TensorProto.Builder | setHalfVal (int 인덱스, int 값) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | setInt64Val (int 인덱스, long 값) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | setIntVal (int 인덱스, int 값) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값) |
TensorProto.Builder | setResourceHandleVal (int 인덱스, ResourceHandleProto.Builder builderForValue) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | setResourceHandleVal (int 인덱스, ResourceHandleProto 값) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | setScomplexVal (int 인덱스, float 값) DT_COMPLEX64. |
TensorProto.Builder | setStringVal (int 인덱스, com.google.protobuf.ByteString 값) DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | setTensorContent (com.google.protobuf.ByteString 값) Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. |
TensorProto.Builder | |
TensorProto.Builder | |
TensorProto.Builder | setUint32Val (int 인덱스, int 값) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | setUint64Val (int 인덱스, long 값) DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
최종 TensorProto.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
TensorProto.Builder | setVariantVal (int 인덱스, VariantTensorDataProto 값) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | setVariantVal (int 인덱스, VariantTensorDataProto.Builder builderForValue) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | setVersionNumber (정수 값) Version number. |
상속된 메서드
공개 방법
공개 TensorProto.Builder addAllBoolVal (Iterable<? 확장 Boolean> 값)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
공개 TensorProto.Builder addAllDcomplexVal (Iterable<? 확장 Double> 값)
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.Builder addAllDoubleVal (Iterable<? 확장 Double> 값)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
공개 TensorProto.Builder addAllFloatVal (Iterable<? 확장 Float> 값)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
공개 TensorProto.Builder addAllHalfVal (Iterable<? 확장 Integer> 값)
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];
공개 TensorProto.Builder addAllInt64Val (Iterable<? 확장 Long> 값)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
공개 TensorProto.Builder addAllIntVal (Iterable<? 확장 Integer> 값)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
공개 TensorProto.Builder addAllResourceHandleVal (Iterable<? 확장 ResourceHandleProto > 값)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
공개 TensorProto.Builder addAllScomplexVal (Iterable<? 확장 Float> 값)
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];
공개 TensorProto.Builder addAllStringVal (Iterable<? 확장 ByteString> 값)
DT_STRING
repeated bytes string_val = 8;
공개 TensorProto.Builder addAllUint32Val (Iterable<? 확장 Integer> 값)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
공개 TensorProto.Builder addAllUint64Val (Iterable<? 확장 Long> 값)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
공개 TensorProto.Builder addAllVariantVal (Iterable<? 확장 VariantTensorDataProto > 값)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
공개 TensorProto.Builder addDcomplexVal (이중 값)
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.Builder addDoubleVal (이중 값)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
공개 TensorProto.Builder addFloatVal (부동 소수점 값)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
공개 TensorProto.Builder addHalfVal (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];
공개 TensorProto.Builder addIntVal (int 값)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
공개 TensorProto.Builder addResourceHandleVal (int 인덱스, ResourceHandleProto.Builder builderForValue)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
공개 TensorProto.Builder addResourceHandleVal (int 인덱스, ResourceHandleProto 값)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
공개 TensorProto.Builder addResourceHandleVal ( ResourceHandleProto 값)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
공개 TensorProto.Builder addResourceHandleVal ( ResourceHandleProto.Builder builderForValue)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
공개 ResourceHandleProto.Builder addResourceHandleValBuilder (int 인덱스)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
공개 ResourceHandleProto.Builder addResourceHandleValBuilder ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
공개 TensorProto.Builder addScomplexVal (부동 소수점 값)
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];
공개 TensorProto.Builder addStringVal (com.google.protobuf.ByteString 값)
DT_STRING
repeated bytes string_val = 8;
공개 TensorProto.Builder addUint32Val (int 값)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
공개 TensorProto.Builder addUint64Val (긴 값)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
공개 TensorProto.Builder addVariantVal ( VariantTensorDataProto 값)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
공개 TensorProto.Builder addVariantVal (int 인덱스, VariantTensorDataProto.Builder builderForValue)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
공개 TensorProto.Builder addVariantVal (int 인덱스, VariantTensorDataProto 값)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
공개 TensorProto.Builder addVariantVal ( VariantTensorDataProto.Builder builderForValue)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
공개 VariantTensorDataProto.Builder addVariantValBuilder (int 인덱스)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
공개 VariantTensorDataProto.Builder addVariantValBuilder ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
공개 TensorProto.BuilderclearDcomplexVal ( )
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.Builder ClearHalfVal ()
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];
공개 TensorProto.BuilderclearIntVal ( )
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
공개 TensorProto.Builder ClearResourceHandleVal ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
공개 TensorProto.Builder ClearScomplexVal ()
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];
공개 TensorProto.BuilderclearTensorContent ( )
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;
공개 TensorProto.Builder ClearTensorShape ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
공개 TensorProto.BuilderclearVariantVal ( )
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
공개 TensorProto.Builder ClearVersionNumber ()
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;
공개 부울 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];
공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()
공개 com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
공개 더블 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];
공개 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];
공개 ResourceHandleProto getResourceHandleVal (int 인덱스)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
공개 ResourceHandleProto.Builder getResourceHandleValBuilder (int 인덱스)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
공개 목록< ResourceHandleProto.Builder > getResourceHandleValBuilderList ()
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];
공개 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;
공개 TensorShapeProto.Builder getTensorShapeBuilder ()
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];
공개 VariantTensorDataProto getVariantVal (int 인덱스)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
공개 VariantTensorDataProto.Builder getVariantValBuilder (int 인덱스)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
공개 목록< VariantTensorDataProto.Builder > getVariantValBuilderList ()
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;
공개 최종 부울 isInitialized ()
공개 TensorProto.Builder mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 TensorProto.Builder mergeTensorShape ( TensorShapeProto 값)
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
공개 TensorProto.Builder RemoveResourceHandleVal (int 인덱스)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
공개 TensorProto.Builder RemoveVariantVal (int 인덱스)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
공개 TensorProto.Builder setBoolVal (int 인덱스, 부울 값)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
공개 TensorProto.Builder setDcomplexVal (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];
공개 TensorProto.Builder setDoubleVal (int 인덱스, double 값)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
공개 TensorProto.Builder setFloatVal (int 인덱스, float 값)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
공개 TensorProto.Builder setHalfVal (int 인덱스, 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];
공개 TensorProto.Builder setInt64Val (int 인덱스, long 값)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
공개 TensorProto.Builder setIntVal (int 인덱스, int 값)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
공개 TensorProto.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값)
공개 TensorProto.Builder setResourceHandleVal (int 인덱스, ResourceHandleProto.Builder builderForValue)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
공개 TensorProto.Builder setResourceHandleVal (int 인덱스, ResourceHandleProto 값)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
공개 TensorProto.Builder setScomplexVal (int 인덱스, float 값)
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];
공개 TensorProto.Builder setStringVal (int 인덱스, com.google.protobuf.ByteString 값)
DT_STRING
repeated bytes string_val = 8;
공개 TensorProto.Builder setTensorContent (com.google.protobuf.ByteString 값)
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;
공개 TensorProto.Builder setTensorShape ( TensorShapeProto 값)
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
공개 TensorProto.Builder setTensorShape ( TensorShapeProto.Builder builderForValue)
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
공개 TensorProto.Builder setUint32Val (int 인덱스, int 값)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
공개 TensorProto.Builder setUint64Val (int 인덱스, long 값)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
공개 TensorProto.Builder setVariantVal (int 인덱스, VariantTensorDataProto 값)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
공개 TensorProto.Builder setVariantVal (int 인덱스, VariantTensorDataProto.Builder builderForValue)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
공개 TensorProto.Builder setVersionNumber (int 값)
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;