AbstractTFE_Context

Stay organized with collections Save and categorize content based on your preferences.
public abstract class AbstractTFE_Context
Known Direct Subclasses

Public Constructors

AbstractTFE_Context(Pointer p)

Public Methods

void
delete()
Calls the deallocator, if registered, otherwise has no effect.
static TFE_Context
newContext(TFE_ContextOptions opts, TF_Status status)
Calls TFE_NewContext(), and registers a deallocator.

Inherited Methods

Public Constructors

public AbstractTFE_Context (Pointer p)

Public Methods

public void delete ()

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

public static TFE_Context newContext (TFE_ContextOptions opts, TF_Status status)

Calls TFE_NewContext(), and registers a deallocator.

Returns
  • TFE_Context created. Do not call TFE_DeleteContext() on it.