public abstract class
AbstractTFE_TensorHandle
Known Direct Subclasses |
Public Constructors
AbstractTFE_TensorHandle(Pointer p)
|
Public Methods
void |
delete()
Calls the deallocator, if registered, otherwise has no effect.
|
static TFE_TensorHandle | |
TFE_TensorHandle |
withDeallocator()
Registers a deallocator and returns this.
|
Inherited Methods
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 AbstractTFE_TensorHandle (Pointer p)
Public Methods
public void delete ()
Calls the deallocator, if registered, otherwise has no effect.
public static TFE_TensorHandle newTensor (TF_Tensor t, TF_Status status)
Calls TFE_NewTensorHandle(), and registers a deallocator.
Returns
- TFE_TensorHandle created. Do not call TFE_DeleteTensorHandle() on it.