AbstractTFE_Op

public abstract class AbstractTFE_Op
Known Direct Subclasses

Public Constructors

AbstractTFE_Op(Pointer p)

Public Methods

void
delete()
Calls the deallocator, if registered, otherwise has no effect.
static TFE_Op
newOp(TFE_Context ctx, String op_or_function_name, TF_Status status)
Calls TFE_NewOp(), and registers a deallocator.

Inherited Methods

Public Constructors

public AbstractTFE_Op (Pointer p)

Public Methods

public void delete ()

Calls the deallocator, if registered, otherwise has no effect.

public static TFE_Op newOp (TFE_Context ctx, String op_or_function_name, TF_Status status)

Calls TFE_NewOp(), and registers a deallocator.

Returns
  • TFE_Op created. Do not call TFE_DeleteOp() on it.