public static class tensorflow.TensorStore.TensorAndKey extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| 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() |
tensorflow.TensorStore.TensorAndKey |
device_name(BytePointer device_name) |
BytePointer |
GetHandle(BytePointer tensor_name) |
String |
GetHandle(String tensor_name) |
long |
id() |
tensorflow.TensorStore.TensorAndKey |
id(long id) |
tensorflow.TensorStore.TensorAndKey |
position(long position) |
tensorflow.Tensor |
tensor() |
tensorflow.TensorStore.TensorAndKey |
tensor(tensorflow.Tensor tensor) |
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 TensorAndKey()
public TensorAndKey(long size)
Pointer.position(long).public TensorAndKey(Pointer p)
Pointer.Pointer(Pointer).public tensorflow.TensorStore.TensorAndKey position(long position)
@ByRef public tensorflow.Tensor tensor()
public tensorflow.TensorStore.TensorAndKey tensor(tensorflow.Tensor tensor)
public tensorflow.TensorStore.TensorAndKey id(long id)
@StdString public BytePointer device_name()
public tensorflow.TensorStore.TensorAndKey device_name(BytePointer device_name)
@StdString public BytePointer GetHandle(@StdString BytePointer tensor_name)
@StdString public String GetHandle(@StdString String tensor_name)
Copyright © 2019. All rights reserved.