AbstractTF_Session

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

Public Constructors

AbstractTF_Session(Pointer p)

Public Methods

void
delete()
Calls the deallocator, if registered, otherwise has no effect.
static TF_Session
loadSessionFromSavedModel(TF_SessionOptions session_options, TF_Buffer run_options, String export_dir, String[] tags, TF_Graph graph, TF_Buffer meta_graph_def, TF_Status status)
Calls TF_LoadSessionFromSavedModel(), and registers a deallocator.
static TF_Session
newSession(TF_Graph graph, TF_SessionOptions opts, TF_Status status)
Calls TF_NewSession(), and registers a deallocator.

Inherited Methods

Public Constructors

public AbstractTF_Session (Pointer p)

Public Methods

public void delete ()

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

public static TF_Session loadSessionFromSavedModel (TF_SessionOptions session_options, TF_Buffer run_options, String export_dir, String[] tags, TF_Graph graph, TF_Buffer meta_graph_def, TF_Status status)

Calls TF_LoadSessionFromSavedModel(), and registers a deallocator.

Returns
  • TF_Session created. Do not call TF_DeleteSession() on it.

public static TF_Session newSession (TF_Graph graph, TF_SessionOptions opts, TF_Status status)

Calls TF_NewSession(), and registers a deallocator.

Returns
  • TF_Session created. Do not call TF_DeleteSession() on it.