מחלקה סופית סטטית ציבורית 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 (Iterable<? מרחיב ערכי אינטגר>) 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 (Iterable<? מרחיב את ערכי אינטגר>) 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 (ערך int) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | addInt64Val (ערך ארוך) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | addIntVal (ערך int) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
TensorProto.Builder | addResourceHandleVal (int index, ResourceHandleProto.Builder builderForValue) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | addResourceHandleVal (int index, ערך 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 index) 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 (ערך 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 index, VariantTensorDataProto.Builder builderForValue) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | addVariantVal (int index, 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 index) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProto.Builder | addVariantValBuilder () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto | לבנות () |
TensorProto | buildPartial () |
TensorProto.Builder | ברור () |
TensorProto.Builder | clearBoolVal () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | clearDcomplexVal () DT_COMPLEX128. |
TensorProto.Builder | clearDoubleVal () DT_DOUBLE. |
TensorProto.Builder | clearDtype () .tensorflow.DataType dtype = 1; |
TensorProto.Builder | clearField (שדה com.google.protobuf.Descriptors.FieldDescriptor) |
TensorProto.Builder | clearFloatVal () DT_FLOAT. |
TensorProto.Builder | clearHalfVal () DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | clearInt64Val () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | clearIntVal () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TensorProto.Builder | clearResourceHandleVal () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | clearScomplexVal () DT_COMPLEX64. |
TensorProto.Builder | clearStringVal () DT_STRING repeated bytes string_val = 8; |
TensorProto.Builder | clearTensorContent () Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. |
TensorProto.Builder | clearTensorShape () Shape of the tensor. |
TensorProto.Builder | clearUint32Val () DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | clearUint64Val () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
TensorProto.Builder | clearVariantVal () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | clearVersionNumber () Version number. |
TensorProto.Builder | שיבוט () |
בוליאני | getBoolVal (int index) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
int | getBoolValCount () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
רשימה<בוליאנית> | getBoolValList () DT_BOOL repeated bool bool_val = 11 [packed = true]; |
לְהַכפִּיל | getDcomplexVal (אינדקס int) DT_COMPLEX128. |
int | getDcomplexValCount () DT_COMPLEX128. |
רשימה<כפול> | getDcomplexValList () DT_COMPLEX128. |
TensorProto | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
לְהַכפִּיל | getDoubleVal (אינדקס int) DT_DOUBLE. |
int | getDoubleValCount () DT_DOUBLE. |
רשימה<כפול> | getDoubleValList () DT_DOUBLE. |
סוג מידע | getDtype () .tensorflow.DataType dtype = 1; |
int | getDtypeValue () .tensorflow.DataType dtype = 1; |
לָצוּף | getFloatVal (אינדקס int) DT_FLOAT. |
int | getFloatValCount () DT_FLOAT. |
רשימה <צף> | getFloatValList () DT_FLOAT. |
int | getHalfVal (int index) DT_HALF, DT_BFLOAT16. |
int | getHalfValCount () DT_HALF, DT_BFLOAT16. |
רשימה <מספר שלם> | getHalfValList () DT_HALF, DT_BFLOAT16. |
ארוך | getInt64Val (אינדקס int) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
int | getInt64ValCount () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
רשימה<ארוכה> | getInt64ValList () DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
int | getIntVal (אינדקס int) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
int | getIntValCount () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
רשימה <מספר שלם> | getIntValList () DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
ResourceHandleProto | getResourceHandleVal (int index) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
ResourceHandleProto.Builder | getResourceHandleValBuilder (int index) 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 index) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
רשימה<? מרחיב את ResourceHandleProtoOrBuilder > | getResourceHandleValOrBuilderList () DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
לָצוּף | getScomplexVal (אינדקס אינט) DT_COMPLEX64. |
int | getScomplexValCount () DT_COMPLEX64. |
רשימה <צף> | getScomplexValList () DT_COMPLEX64. |
com.google.protobuf.ByteString | getStringVal (int index) 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. |
TensorShapeProto | getTensorShape () Shape of the tensor. |
TensorShapeProto.Builder | getTensorShapeBuilder () Shape of the tensor. |
TensorShapeProtoOrBuilder | getTensorShapeOrBuilder () Shape of the tensor. |
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]; |
רשימה<ארוכה> | getUint64ValList () DT_UINT64 repeated uint64 uint64_val = 17 [packed = true]; |
VariantTensorDataProto | getVariantVal (int index) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
VariantTensorDataProto.Builder | getVariantValBuilder (int index) 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 index) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
רשימה<? מרחיב את VariantTensorDataProtoOrBuilder > | getVariantValOrBuilderList () DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
int | getVersionNumber () Version number. |
בוליאני | hasTensorShape () Shape of the tensor. |
בוליאנית סופית | |
TensorProto.Builder | mergeFrom (com.google.protobuf.Message אחר) |
TensorProto.Builder | mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorProto.Builder | |
סופי TensorProto.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
TensorProto.Builder | removeResourceHandleVal (int index) DT_RESOURCE repeated .tensorflow.ResourceHandleProto resource_handle_val = 14; |
TensorProto.Builder | removeVariantVal (int index) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | setBoolVal (אינדקס int, ערך בוליאני) DT_BOOL repeated bool bool_val = 11 [packed = true]; |
TensorProto.Builder | setDcomplexVal (אינדקס אינט, ערך כפול) DT_COMPLEX128. |
TensorProto.Builder | setDoubleVal (אינדקס int, ערך כפול) DT_DOUBLE. |
TensorProto.Builder | |
TensorProto.Builder | setDtypeValue (ערך int) .tensorflow.DataType dtype = 1; |
TensorProto.Builder | setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
TensorProto.Builder | setFloatVal (אינדקס אינט, ערך צף) DT_FLOAT. |
TensorProto.Builder | setHalfVal (int index, int value) DT_HALF, DT_BFLOAT16. |
TensorProto.Builder | setInt64Val (אינדקס אינט, ערך ארוך) DT_INT64 repeated int64 int64_val = 10 [packed = true]; |
TensorProto.Builder | setIntVal (int index, int value) DT_INT32, DT_INT16, DT_INT8, DT_UINT8. |
TensorProto.Builder | setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט) |
TensorProto.Builder | setResourceHandleVal (int index, 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 (אינדקס אינט, ערך צף) DT_COMPLEX64. |
TensorProto.Builder | setStringVal (int index, 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 index, int value) DT_UINT32 repeated uint32 uint32_val = 16 [packed = true]; |
TensorProto.Builder | setUint64Val (אינדקס אינט, ערך ארוך) 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 index, VariantTensorDataProto.Builder builderForValue) DT_VARIANT repeated .tensorflow.VariantTensorDataProto variant_val = 15; |
TensorProto.Builder | setVersionNumber (ערך int) Version number. |
שיטות בירושה
שיטות ציבוריות
public TensorProto.Builder addAllBoolVal (Iterable<? מרחיב ערכי Boolean>)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public 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];
public TensorProto.Builder addAllDoubleVal (Iterable<? מרחיב את ערכי Double>)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public TensorProto.Builder addAllFloatVal (Iterable<? מרחיב את ערכי Float>)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public 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];
public TensorProto.Builder addAllInt64Val (Iterable<? מרחיב את Long> ערכים)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public TensorProto.Builder addAllIntVal (Iterable<? מרחיב ערכי אינטגר>)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public 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];
public TensorProto.Builder addAllStringVal (Iterable<? מרחיב את ערכי ByteString>)
DT_STRING
repeated bytes string_val = 8;
public TensorProto.Builder addAllUint32Val (Iterable<? מרחיב ערכי Integer>)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder addAllUint64Val (Iterable<? מרחיב את Long> ערכים)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public TensorProto.Builder addAllVariantVal (Iterable<? מרחיב VariantTensorDataProto > ערכים)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder addBoolVal (ערך בוליאני)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
הציבור 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];
public TensorProto.Builder addDoubleVal (ערך כפול)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public TensorProto.Builder addFloatVal (ערך צף)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public 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 addInt64Val (ערך ארוך)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public TensorProto.Builder addIntVal (ערך int)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
Public TensorProto.Builder addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
הציבור TensorProto.Builder addResourceHandleVal (אינדקס int, ResourceHandleProto.Builder builderForValue)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder addResourceHandleVal (אינדקס int, ערך ResourceHandleProto )
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public 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;
public ResourceHandleProto.Builder addResourceHandleValBuilder (אינדקס int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public 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];
Public TensorProto.Builder addStringVal (ערך com.google.protobuf.ByteString)
DT_STRING
repeated bytes string_val = 8;
public TensorProto.Builder addUint32Val (ערך int)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder addUint64Val (ערך ארוך)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public 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;
public 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;
public VariantTensorDataProto.Builder addVariantValBuilder (int index)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public VariantTensorDataProto.Builder addVariantValBuilder ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
הציבור TensorProto.Builder clearDcomplexVal ()
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 clearDoubleVal ()
DT_DOUBLE.
repeated double double_val = 6 [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.Builder clearIntVal ()
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];
public TensorProto.Builder clearTensorContent ()
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.Builder clearUint32Val ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
הציבור TensorProto.Builder clearUint64Val ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
הציבור TensorProto.Builder clearVariantVal ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public 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 בוליאני ציבורי (אינדקס אינט)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public int getBoolValCount ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
רשימה ציבורית<Boolean> getBoolValList ()
DT_BOOL
repeated bool bool_val = 11 [packed = true];
getDcomplexVal כפול כפול (int index)
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 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];
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
getDoubleVal כפול ציבורי (int index)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public int getDoubleValCount ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
רשימה ציבורית<Double> getDoubleValList ()
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
public int getDtypeValue ()
.tensorflow.DataType dtype = 1;
ציפה ציבורית getFloatVal (אינדקס אינט)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public int getFloatValCount ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
רשימה ציבורית<Float> getFloatValList ()
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public int getHalfVal (int index)
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 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];
public int getInt64ValCount ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
רשימה ציבורית<Long> getInt64ValList ()
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public int getIntVal (int index)
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public int getIntValCount ()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
רשימה ציבורית<Integer> getIntValList ()
DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
repeated int32 int_val = 7 [packed = true];
public ResourceHandleProto getResourceHandleVal (אינדקס int)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public 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;
public int getResourceHandleValCount ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
רשימה ציבורית< ResourceHandleProto > getResourceHandleValList ()
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public ResourceHandleProtoOrBuilder getResourceHandleValOrBuilder (int index)
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];
public 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];
public com.google.protobuf.ByteString getStringVal (int index)
DT_STRING
repeated bytes string_val = 8;
public int getStringValCount ()
DT_STRING
repeated bytes string_val = 8;
רשימה ציבורית<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;
הציבור 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;
public int getUint32Val (int index)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public int getUint32ValCount ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
רשימה ציבורית<Integer> getUint32ValList ()
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public long getUint64Val (אינדקס אינט)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public int getUint64ValCount ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
רשימה ציבורית<Long> getUint64ValList ()
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
public VariantTensorDataProto getVariantVal (int index)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public VariantTensorDataProto.Builder getVariantValBuilder (int index)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
רשימה ציבורית< VariantTensorDataProto.Builder > getVariantValBuilderList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public int getVariantValCount ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
רשימה ציבורית< VariantTensorDataProto > getVariantValList ()
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
Public VariantTensorDataProtoOrBuilder getVariantValOrBuilder (int index)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
רשימה ציבורית<? מרחיב 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;
יש TensorShape בוליאני ציבורי ()
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
בוליאני הסופי הציבורי הוא אתחול ()
public TensorProto.Builder mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public TensorProto.Builder mergeTensorShape (ערך TensorShapeProto )
Shape of the tensor. TODO(touts): sort out the 0-rank issues.
.tensorflow.TensorShapeProto tensor_shape = 2;
final public TensorProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public TensorProto.Builder removeResourceHandleVal (int index)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder removeVariantVal (int index)
DT_VARIANT
repeated .tensorflow.VariantTensorDataProto variant_val = 15;
public TensorProto.Builder setBoolVal (אינדקס int, ערך בוליאני)
DT_BOOL
repeated bool bool_val = 11 [packed = true];
public 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];
public TensorProto.Builder setDoubleVal (אינדקס int, ערך כפול)
DT_DOUBLE.
repeated double double_val = 6 [packed = true];
ציבורי TensorProto.Builder setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
public TensorProto.Builder setFloatVal (אינדקס אינט, ערך צף)
DT_FLOAT.
repeated float float_val = 5 [packed = true];
public TensorProto.Builder setHalfVal (int index, int value)
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 TensorProto.Builder setInt64Val (אינדקס int, ערך ארוך)
DT_INT64
repeated int64 int64_val = 10 [packed = true];
public 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, אינדקס אינט, ערך אובייקט)
הציבור TensorProto.Builder setResourceHandleVal (אינדקס int, ResourceHandleProto.Builder builderForValue)
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
public TensorProto.Builder setResourceHandleVal (אינדקס int, ערך ResourceHandleProto )
DT_RESOURCE
repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
הציבור TensorProto.Builder setScomplexVal (אינדקס אינט, ערך צף)
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 index, 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;
public TensorProto.Builder setUint32Val (אינדקס int, ערך int)
DT_UINT32
repeated uint32 uint32_val = 16 [packed = true];
public TensorProto.Builder setUint64Val (אינדקס int, ערך ארוך)
DT_UINT64
repeated uint64 uint64_val = 17 [packed = true];
final public TensorProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public 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;
public 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;