public static class tensorflow.TF_Tensor extends tensorflow.AbstractTF_Tensor
tensorflow.AbstractTF_Tensor.DeleteDeallocatorPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocatordummyDeallocator, pointer| Constructor and Description |
|---|
TF_Tensor()
Default native constructor.
|
TF_Tensor(long size)
Native array allocator.
|
TF_Tensor(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
tensorflow.TensorBuffer |
buffer() |
tensorflow.TF_Tensor |
buffer(tensorflow.TensorBuffer buffer) |
int |
dtype() |
tensorflow.TF_Tensor |
dtype(int dtype) |
tensorflow.TF_Tensor |
position(long position) |
tensorflow.TensorShape |
shape() |
tensorflow.TF_Tensor |
shape(tensorflow.TensorShape shape) |
allocateTensor, delete, newTensoraddress, 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 TF_Tensor()
public TF_Tensor(long size)
Pointer.position(long).public TF_Tensor(Pointer p)
Pointer.Pointer(Pointer).public tensorflow.TF_Tensor position(long position)
public tensorflow.TF_Tensor dtype(int dtype)
@ByRef public tensorflow.TensorShape shape()
public tensorflow.TF_Tensor shape(tensorflow.TensorShape shape)
public tensorflow.TensorBuffer buffer()
public tensorflow.TF_Tensor buffer(tensorflow.TensorBuffer buffer)
Copyright © 2019. All rights reserved.