Cacher implements Cacher
More...
|
| Cacher () |
| Creates a Cacher without any parameters. More...
|
|
| Cacher (string uid) |
| Creates a Cacher with a UID that is used to give the Cacher a unique ID. More...
|
|
Cacher | SetDisable (bool value) |
| Sets value for disable More...
|
|
bool | GetDisable () |
| Gets disable value More...
|
|
void | Save (string path) |
| Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala. More...
|
|
JavaMLWriter | Write () |
| - Returns
- a JavaMLWriter instance for this ML instance.
|
|
JavaMLReader< Cacher > | Read () |
| Get the corresponding JavaMLReader instance. More...
|
|
◆ Cacher() [1/2]
Synapse.ML.Stages.Cacher.Cacher |
( |
| ) |
|
|
inline |
Creates a Cacher without any parameters.
◆ Cacher() [2/2]
Synapse.ML.Stages.Cacher.Cacher |
( |
string |
uid | ) |
|
|
inline |
Creates a Cacher with a UID that is used to give the Cacher a unique ID.
- Parameters
-
uid | An immutable unique ID for the object and its derivatives. |
◆ GetDisable()
bool Synapse.ML.Stages.Cacher.GetDisable |
( |
| ) |
|
Gets disable value
- Returns
- disable: Whether or disable caching (so that you can turn it off during evaluation)
◆ Load()
static Cacher Synapse.ML.Stages.Cacher.Load |
( |
string |
path | ) |
|
|
static |
Loads the Cacher that was previously saved using Save(string).
- Parameters
-
path | The path the previous Cacher was saved to |
- Returns
- New Cacher object, loaded from path.
◆ Read()
JavaMLReader<Cacher> Synapse.ML.Stages.Cacher.Read |
( |
| ) |
|
Get the corresponding JavaMLReader instance.
- Returns
- an JavaMLReader<Cacher> instance for this ML instance.
◆ Save()
void Synapse.ML.Stages.Cacher.Save |
( |
string |
path | ) |
|
Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala.
- Parameters
-
path | The path to save the object to |
◆ SetDisable()
Cacher Synapse.ML.Stages.Cacher.SetDisable |
( |
bool |
value | ) |
|
Sets value for disable
- Parameters
-
value | Whether or disable caching (so that you can turn it off during evaluation) |
- Returns
- New Cacher object
The documentation for this class was generated from the following file:
- synapse/ml/stages/Cacher.cs