AbstractTF_Session

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

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 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.