@Namespace(value="onnx") @NoOffset @Properties(inherit=onnx.class) public class SparseTensorProto extends MessageLite
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
kDimsFieldNumber
enum onnx::SparseTensorProto::
|
static int |
kIndexInFileMessages |
static int |
kIndicesFieldNumber
enum onnx::SparseTensorProto::
|
static int |
kValuesFieldNumber
enum onnx::SparseTensorProto::
|
kMerge, kMergePartial, kMergePartialWithAliasing, kMergeWithAliasing, kParse, kParsePartial, kParsePartialWithAliasing, kParseWithAliasing
Constructor and Description |
---|
SparseTensorProto() |
SparseTensorProto(long size)
Native array allocator.
|
SparseTensorProto(Pointer p)
Pointer cast constructor.
|
SparseTensorProto(SparseTensorProto from) |
AppendPartialToString, AppendToString, ByteSize, DebugString, GetArena, InitializationErrorString, IsInitializedWithErrors, MergeFromBoundedZeroCopyStream, MergeFromCodedStream, MergeFromString, MergeFromString, MergePartialFromBoundedZeroCopyStream, MergePartialFromCodedStream, OnDemandRegisterArenaDtor, ParseFromArray, ParseFromBoundedZeroCopyStream, ParseFromCodedStream, ParseFromFileDescriptor, ParseFromIstream, ParseFromString, ParseFromString, ParseFromZeroCopyStream, ParsePartialFromArray, ParsePartialFromBoundedZeroCopyStream, ParsePartialFromCodedStream, ParsePartialFromFileDescriptor, ParsePartialFromIstream, ParsePartialFromString, ParsePartialFromString, ParsePartialFromZeroCopyStream, SerializeAsString, SerializePartialAsString, SerializePartialToArray, SerializePartialToCodedStream, SerializePartialToFileDescriptor, SerializePartialToOstream, SerializePartialToString, SerializePartialToZeroCopyStream, SerializeToArray, SerializeToCodedStream, SerializeToFileDescriptor, SerializeToOstream, SerializeToString, SerializeToZeroCopyStream, SerializeWithCachedSizes, SerializeWithCachedSizesToArray, SerializeWithCachedSizesToArray, SerializeWithCachedSizesToArray, ShortDebugString, Utf8DebugString
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 kDimsFieldNumber
public static final int kValuesFieldNumber
public static final int kIndicesFieldNumber
public SparseTensorProto(Pointer p)
Pointer(Pointer)
.public SparseTensorProto(long size)
Pointer.position(long)
.public SparseTensorProto()
public SparseTensorProto(@Const @ByRef SparseTensorProto from)
public SparseTensorProto position(long position)
public SparseTensorProto getPointer(long i)
getPointer
in class Pointer
@ByRef @Name(value="operator =") public SparseTensorProto put(@Const @ByRef SparseTensorProto from)
@StdString public BytePointer unknown_fields()
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_unknown_fields()
@Const @ByRef public static SparseTensorProto default_instance()
@Const public static SparseTensorProto internal_default_instance()
@MemberGetter public static int kIndexInFileMessages()
public void Swap(SparseTensorProto other)
public void UnsafeArenaSwap(SparseTensorProto other)
public SparseTensorProto New(Arena arena)
New
in class MessageLite
public SparseTensorProto New()
New
in class MessageLite
public void CheckTypeAndMergeFrom(@Const @ByRef MessageLite from)
CheckTypeAndMergeFrom
in class MessageLite
public void CopyFrom(@Const @ByRef SparseTensorProto from)
public void MergeFrom(@Const @ByRef SparseTensorProto 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="const char*") public BytePointer _InternalParse(@Cast(value="const char*") BytePointer ptr, ParseContext ctx)
_InternalParse
in class MessageLite
public String _InternalParse(String ptr, ParseContext ctx)
_InternalParse
in class MessageLite
public int GetCachedSize()
GetCachedSize
in class MessageLite
@StdString public BytePointer GetTypeName()
GetTypeName
in class MessageLite
public int dims_size()
public void clear_dims()
public void clear_values()
@Const @ByRef public TensorProto values()
public TensorProto release_values()
public TensorProto mutable_values()
public void set_allocated_values(TensorProto values)
public void unsafe_arena_set_allocated_values(TensorProto values)
public TensorProto unsafe_arena_release_values()
public void clear_indices()
@Const @ByRef public TensorProto indices()
public TensorProto release_indices()
public TensorProto mutable_indices()
public void set_allocated_indices(TensorProto indices)
public void unsafe_arena_set_allocated_indices(TensorProto indices)
public TensorProto unsafe_arena_release_indices()
Copyright © 2024. All rights reserved.