@Namespace(value="tensorflow") public static class tensorflow.TensorCApi extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
TensorCApi()
Default native constructor.
|
TensorCApi(long size)
Native array allocator.
|
TensorCApi(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static tensorflow.TensorBuffer |
Buffer(tensorflow.Tensor tensor) |
static tensorflow.Tensor |
MakeTensor(int type,
tensorflow.TensorShape shape,
tensorflow.TensorBuffer buf) |
tensorflow.TensorCApi |
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 TensorCApi()
public TensorCApi(long size)
Pointer.position(long).public TensorCApi(Pointer p)
Pointer.Pointer(Pointer).public tensorflow.TensorCApi position(long position)
public static tensorflow.TensorBuffer Buffer(@Const @ByRef tensorflow.Tensor tensor)
@ByVal public static tensorflow.Tensor MakeTensor(@Cast(value="TF_DataType") int type, @Const @ByRef tensorflow.TensorShape shape, tensorflow.TensorBuffer buf)
Copyright © 2019. All rights reserved.