ONNX Runtime
Loading...
Searching...
No Matches
Ort Training C++ API

Classes

class  Ort::CheckpointState
 Holds the state of the training session. More...
 
class  Ort::TrainingSession
 Trainer class that provides training, evaluation and optimizer methods for training an ONNX models. More...
 

Training Utilities

void Ort::SetSeed (const int64_t seed)
 This function sets the seed for generating random numbers.
 

Detailed Description

Function Documentation

◆ SetSeed()

void Ort::SetSeed ( const int64_t  seed)

This function sets the seed for generating random numbers.

Use this function to generate reproducible results. It should be noted that completely reproducible results are not guaranteed.

Parameters
[in]seedManual seed to use for random number generation.