@Namespace(value="tensorflow") @NoOffset public static class tensorflow.PersistentTensor extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
PersistentTensor() |
PersistentTensor(long size)
Native array allocator.
|
PersistentTensor(Pointer p)
Pointer cast constructor.
|
PersistentTensor(tensorflow.Tensor tensor) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Tensor |
AccessTensor(tensorflow.OpKernelConstruction context) |
tensorflow.Tensor |
AccessTensor(tensorflow.OpKernelContext context) |
long |
AllocatedBytes() |
boolean |
IsInitialized() |
long |
NumElements() |
tensorflow.PersistentTensor |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic PersistentTensor(Pointer p)
Pointer.Pointer(Pointer).public PersistentTensor(long size)
Pointer.position(long).public PersistentTensor()
public PersistentTensor(@Const @ByRef tensorflow.Tensor tensor)
public tensorflow.PersistentTensor position(long position)
public tensorflow.Tensor AccessTensor(tensorflow.OpKernelConstruction context)
public tensorflow.Tensor AccessTensor(tensorflow.OpKernelContext context)
Copyright © 2019. All rights reserved.