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:
Tang, Cheng 2020-04-22 21:35:41 -07:00 committed by GitHub
parent 0e12d05cd2
commit 37f4f74308
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);