@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class TensorProto extends MessageLite
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
kBoolValFieldNumber |
static int |
kDcomplexValFieldNumber |
static int |
kDoubleValFieldNumber |
static int |
kDtypeFieldNumber |
static int |
kFloatValFieldNumber |
static int |
kHalfValFieldNumber |
static int |
kIndexInFileMessages |
static int |
kInt64ValFieldNumber |
static int |
kIntValFieldNumber |
static int |
kResourceHandleValFieldNumber |
static int |
kScomplexValFieldNumber |
static int |
kStringValFieldNumber |
static int |
kTensorContentFieldNumber |
static int |
kTensorShapeFieldNumber |
static int |
kUint32ValFieldNumber |
static int |
kUint64ValFieldNumber |
static int |
kVariantValFieldNumber |
static int |
kVersionNumberFieldNumber |
kMerge, kMergePartial, kMergePartialWithAliasing, kMergeWithAliasing, kParse, kParsePartial, kParsePartialWithAliasing, kParseWithAliasing
Constructor and Description |
---|
TensorProto() |
TensorProto(long size)
Native array allocator.
|
TensorProto(Pointer p)
Pointer cast constructor.
|
TensorProto(TensorProto from) |
AppendPartialToString, AppendToString, ByteSize, CheckTypeAndMergeFrom, DebugString, GetTypeName, InitializationErrorString, MergeFromBoundedZeroCopyStream, MergeFromCodedStream, MergeFromString, MergeFromString, MergePartialFromBoundedZeroCopyStream, ParseFromArray, ParseFromBoundedZeroCopyStream, ParseFromCodedStream, ParseFromString, ParseFromString, ParseFromZeroCopyStream, ParsePartialFromArray, ParsePartialFromBoundedZeroCopyStream, ParsePartialFromCodedStream, ParsePartialFromString, ParsePartialFromString, ParsePartialFromZeroCopyStream, SerializeAsString, SerializePartialAsString, SerializePartialToArray, SerializePartialToCodedStream, SerializePartialToString, SerializePartialToZeroCopyStream, SerializeToArray, SerializeToCodedStream, SerializeToString, SerializeToZeroCopyStream, SerializeWithCachedSizesToArray, SerializeWithCachedSizesToArray, SerializeWithCachedSizesToArray, ShortDebugString
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public static final int kIndexInFileMessages
public static final int kFloatValFieldNumber
public static final int kDoubleValFieldNumber
public static final int kIntValFieldNumber
public static final int kStringValFieldNumber
public static final int kScomplexValFieldNumber
public static final int kInt64ValFieldNumber
public static final int kBoolValFieldNumber
public static final int kDcomplexValFieldNumber
public static final int kHalfValFieldNumber
public static final int kResourceHandleValFieldNumber
public static final int kVariantValFieldNumber
public static final int kUint32ValFieldNumber
public static final int kUint64ValFieldNumber
public static final int kTensorContentFieldNumber
public static final int kTensorShapeFieldNumber
public static final int kDtypeFieldNumber
public static final int kVersionNumberFieldNumber
public TensorProto(Pointer p)
Pointer(Pointer)
.public TensorProto(long size)
Pointer.position(long)
.public TensorProto()
public TensorProto(@Const @ByRef TensorProto from)
public TensorProto position(long position)
public TensorProto getPointer(long i)
getPointer
in class Pointer
@ByRef @Name(value="operator =") public TensorProto put(@Const @ByRef TensorProto from)
public Arena GetArena()
GetArena
in class MessageLite
public Pointer GetMaybeArenaPointer()
GetMaybeArenaPointer
in class MessageLite
@Cast(value="const google::protobuf::Descriptor*") public static Pointer GetDescriptor()
@Cast(value="const google::protobuf::Reflection*") public static Pointer GetReflection()
@Const @ByRef public static TensorProto default_instance()
public static void InitAsDefaultInstance()
@Const public static TensorProto internal_default_instance()
@MemberGetter public static int kIndexInFileMessages()
public void UnsafeArenaSwap(TensorProto other)
public void Swap(TensorProto other)
public TensorProto New()
New
in class MessageLite
public TensorProto New(Arena arena)
New
in class MessageLite
public void CopyFrom(@Cast(value="const google::protobuf::Message*") @ByRef MessageLite from)
public void MergeFrom(@Cast(value="const google::protobuf::Message*") @ByRef MessageLite from)
public void CopyFrom(@Const @ByRef TensorProto from)
public void MergeFrom(@Const @ByRef TensorProto from)
public void Clear()
Clear
in class MessageLite
@Cast(value="bool") public boolean IsInitialized()
IsInitialized
in class MessageLite
@Cast(value="size_t") public long ByteSizeLong()
ByteSizeLong
in class MessageLite
@Cast(value="bool") public boolean MergePartialFromCodedStream(CodedInputStream input)
MergePartialFromCodedStream
in class MessageLite
public void SerializeWithCachedSizes(CodedOutputStream output)
SerializeWithCachedSizes
in class MessageLite
@Cast(value="google::protobuf::uint8*") public BytePointer InternalSerializeWithCachedSizesToArray(@Cast(value="google::protobuf::uint8*") BytePointer target)
InternalSerializeWithCachedSizesToArray
in class MessageLite
@Cast(value="google::protobuf::uint8*") public ByteBuffer InternalSerializeWithCachedSizesToArray(@Cast(value="google::protobuf::uint8*") ByteBuffer target)
InternalSerializeWithCachedSizesToArray
in class MessageLite
@Cast(value="google::protobuf::uint8*") public byte[] InternalSerializeWithCachedSizesToArray(@Cast(value="google::protobuf::uint8*") byte[] target)
InternalSerializeWithCachedSizesToArray
in class MessageLite
public int GetCachedSize()
GetCachedSize
in class MessageLite
public int float_val_size()
public void clear_float_val()
@MemberGetter public static int kFloatValFieldNumber()
public float float_val(int index)
public void set_float_val(int index, float value)
public void add_float_val(float value)
public int double_val_size()
public void clear_double_val()
@MemberGetter public static int kDoubleValFieldNumber()
public double double_val(int index)
public void set_double_val(int index, double value)
public void add_double_val(double value)
public int int_val_size()
public void clear_int_val()
@MemberGetter public static int kIntValFieldNumber()
public int string_val_size()
public void clear_string_val()
@MemberGetter public static int kStringValFieldNumber()
@StdString public BytePointer string_val(int index)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_string_val(int index)
public void set_string_val(int index, @StdString BytePointer value)
public void set_string_val(int index, @StdString String value)
public void set_string_val(int index, @Const Pointer value, @Cast(value="size_t") long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer add_string_val()
public void add_string_val(@StdString BytePointer value)
public void add_string_val(@StdString String value)
public int scomplex_val_size()
public void clear_scomplex_val()
@MemberGetter public static int kScomplexValFieldNumber()
public float scomplex_val(int index)
public void set_scomplex_val(int index, float value)
public void add_scomplex_val(float value)
public int int64_val_size()
public void clear_int64_val()
@MemberGetter public static int kInt64ValFieldNumber()
public void set_int64_val(int index, @Cast(value="google::protobuf::int64") long value)
public int bool_val_size()
public void clear_bool_val()
@MemberGetter public static int kBoolValFieldNumber()
public int dcomplex_val_size()
public void clear_dcomplex_val()
@MemberGetter public static int kDcomplexValFieldNumber()
public double dcomplex_val(int index)
public void set_dcomplex_val(int index, double value)
public void add_dcomplex_val(double value)
public int half_val_size()
public void clear_half_val()
@MemberGetter public static int kHalfValFieldNumber()
public int resource_handle_val_size()
public void clear_resource_handle_val()
@MemberGetter public static int kResourceHandleValFieldNumber()
public ResourceHandleProto mutable_resource_handle_val(int index)
@Const @ByRef public ResourceHandleProto resource_handle_val(int index)
public ResourceHandleProto add_resource_handle_val()
public int variant_val_size()
public void clear_variant_val()
@MemberGetter public static int kVariantValFieldNumber()
public VariantTensorDataProto mutable_variant_val(int index)
@Const @ByRef public VariantTensorDataProto variant_val(int index)
public VariantTensorDataProto add_variant_val()
public int uint32_val_size()
public void clear_uint32_val()
@MemberGetter public static int kUint32ValFieldNumber()
public void set_uint32_val(int index, @Cast(value="google::protobuf::uint32") int value)
public int uint64_val_size()
public void clear_uint64_val()
@MemberGetter public static int kUint64ValFieldNumber()
public void set_uint64_val(int index, @Cast(value="google::protobuf::uint64") long value)
public void clear_tensor_content()
@MemberGetter public static int kTensorContentFieldNumber()
@StdString public BytePointer tensor_content()
public void set_tensor_content(@StdString BytePointer value)
public void set_tensor_content(@StdString String value)
public void set_tensor_content(@Const Pointer value, @Cast(value="size_t") long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_tensor_content()
@StdString @Cast(value={"char*","std::string*"}) public BytePointer release_tensor_content()
public void set_allocated_tensor_content(@StdString @Cast(value={"char*","std::string*"}) BytePointer tensor_content)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_tensor_content()
public void unsafe_arena_set_allocated_tensor_content(@StdString @Cast(value={"char*","std::string*"}) BytePointer tensor_content)
public void clear_tensor_shape()
@MemberGetter public static int kTensorShapeFieldNumber()
@Const @ByRef public TensorShapeProto tensor_shape()
public TensorShapeProto release_tensor_shape()
public TensorShapeProto mutable_tensor_shape()
public void set_allocated_tensor_shape(TensorShapeProto tensor_shape)
public void unsafe_arena_set_allocated_tensor_shape(TensorShapeProto tensor_shape)
public TensorShapeProto unsafe_arena_release_tensor_shape()
public void clear_dtype()
@MemberGetter public static int kDtypeFieldNumber()
public void clear_version_number()
@MemberGetter public static int kVersionNumberFieldNumber()
Copyright © 2022. All rights reserved.