Session Class |
Namespace: Emgu.TF
The Session type exposes the following members.
Name | Description | |
---|---|---|
![]() | Session(Graph, SessionOptions, Status) |
Return a new execution session with the associated graph.
|
![]() | Session(String, String, SessionOptions, Buffer, Status) |
Create a Session from a SavedModel. If successful, populates the internal graph with the contents of the Graph and
with the MetaGraphDef of the loaded model.
|
Name | Description | |
---|---|---|
![]() | Disposed |
Returns true if the object has been disposed.
(Inherited from DisposableObject.) |
![]() | Graph |
The Graph of this session
|
![]() | MetaGraphDefBuffer |
The buffer that holds the MetaGraphDef if the session is created from a saved model.
|
![]() | Ptr |
Pointer to the unmanaged object
(Inherited from UnmanagedObject.) |
Name | Description | |
---|---|---|
![]() | Close |
Close a session.
Contacts any other processes associated with the session, if applicable.
|
![]() | Dispose |
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.) |
![]() | DisposeObject |
Release the unmanaged memory associated with this Session.
(Overrides DisposableObjectDisposeObject.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ListDevices |
Lists all devices in a session
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ReleaseManagedResources |
Release the managed resources. This function will be called during the disposal of the current object.
override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.) |
![]() | Run |
Run the graph associated with the session starting with the supplied inputs
(inputs[0,ninputs-1] with corresponding values in input_values[0,ninputs-1]).
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | _ptr |
A pointer to the unmanaged object
(Inherited from UnmanagedObject.) |