public static class TensorStore.TensorAndKey extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TensorAndKey()
Default native constructor.
|
TensorAndKey(long size)
Native array allocator.
|
TensorAndKey(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
BytePointer |
device_name() |
TensorStore.TensorAndKey |
device_name(BytePointer setter) |
BytePointer |
GetHandle(BytePointer tensor_name) |
String |
GetHandle(String tensor_name) |
TensorStore.TensorAndKey |
getPointer(long i) |
long |
id() |
TensorStore.TensorAndKey |
id(long setter) |
TensorStore.TensorAndKey |
position(long position) |
Tensor |
tensor() |
TensorStore.TensorAndKey |
tensor(Tensor setter) |
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 TensorAndKey()
public TensorAndKey(long size)
Pointer.position(long)
.public TensorAndKey(Pointer p)
Pointer(Pointer)
.public TensorStore.TensorAndKey position(long position)
public TensorStore.TensorAndKey getPointer(long i)
getPointer
in class Pointer
public TensorStore.TensorAndKey tensor(Tensor setter)
public TensorStore.TensorAndKey id(long setter)
@StdString public BytePointer device_name()
public TensorStore.TensorAndKey device_name(BytePointer setter)
@StdString public BytePointer GetHandle(@StdString BytePointer tensor_name)
@StdString public String GetHandle(@StdString String tensor_name)
Copyright © 2022. All rights reserved.