Watch keynotes, product sessions, workshops, and more from Google I/O See playlist

AbstractTFE_Context

public abstract class AbstractTFE_Context
Known Direct Subclasses

Public Constructors

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.