mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-03 03:58:54 +00:00
expose training session so the training app could register custom kernel and transformers (#3642)
Co-authored-by: Cheng Tang <chenta@microsoft.com>
This commit is contained in:
parent
0e12d05cd2
commit
37f4f74308
1 changed files with 1 additions and 0 deletions
|
|
@ -169,6 +169,7 @@ class TrainingRunner {
|
|||
common::Status ResetLossScaler();
|
||||
|
||||
size_t GetRound() const { return round_; }
|
||||
TrainingSession& GetSession() { return session_; }
|
||||
|
||||
private:
|
||||
Status TrainingLoop(IDataLoader& training_data_loader, IDataLoader* test_data_loader);
|
||||
|
|
|
|||
Loading…
Reference in a new issue