Class DemonstrationWriter
Responsible for writing demonstration data to stream (typically a file stream).
Namespace: Unity.MLAgents.Demonstrations
Syntax
public class DemonstrationWriter : object
Constructors
DemonstrationWriter(Stream)
Create a DemonstrationWriter that will write to the specified stream. The stream must support writes and seeking.
Declaration
public DemonstrationWriter(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream |
Methods
Close()
Performs all clean-up necessary.
Declaration
public void Close()