Class TrainingUtils
This class defines utility methods for training.
Inheritance
System.Object
TrainingUtils
Namespace: Microsoft.ML.OnnxRuntime
Assembly: Microsoft.ML.OnnxRuntime.dll
Syntax
public class TrainingUtils : object
Methods
| Improve this Doc View SourceSetSeed(Int64)
Use this function to generate reproducible results. It should be noted that completely reproducible results are not guaranteed.
Declaration
public static void SetSeed(long seed)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | seed | Manual seed to use for random number generation. |