@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class PersistentTensor extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
PersistentTensor() |
PersistentTensor(long size)
Native array allocator.
|
PersistentTensor(Pointer p)
Pointer cast constructor.
|
PersistentTensor(Tensor tensor) |
| Modifier and Type | Method and Description |
|---|---|
Tensor |
AccessTensor(OpKernelConstruction context) |
Tensor |
AccessTensor(OpKernelContext context) |
long |
AllocatedBytes() |
PersistentTensor |
getPointer(long i) |
boolean |
IsInitialized() |
long |
NumElements() |
PersistentTensor |
position(long position) |
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, zeropublic PersistentTensor(Pointer p)
Pointer(Pointer).public PersistentTensor(long size)
Pointer.position(long).public PersistentTensor()
public PersistentTensor position(long position)
public PersistentTensor getPointer(long i)
getPointer in class Pointerpublic Tensor AccessTensor(OpKernelConstruction context)
public Tensor AccessTensor(OpKernelContext context)
Copyright © 2022. All rights reserved.