TF_Tensor

public class TF_Tensor

Public Constructors

TF_Tensor()
Empty constructor.
TF_Tensor(Pointer p)
Pointer cast constructor.

Inherited Methods

org.tensorflow.internal.c_api.AbstractTF_Tensor
static TF_Tensor
allocateTensor(int dtype, long[] dims, long length)
Calls TF_AllocateTensor(), and registers a deallocator.
void
delete()
Calls the deallocator, if registered, otherwise has no effect.
static TF_Tensor
newTensor(int dtype, long[] dims, Pointer data)
Calls TF_NewTensor(), and registers a deallocator.
TF_Tensor
withDeallocator()
Registers a deallocator and returns this.
boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Constructors

public TF_Tensor ()

Empty constructor. Calls super((Pointer)null).

public TF_Tensor (Pointer p)

Pointer cast constructor. Invokes ERROR(/Pointer#Pointer(Pointer)).