implemented OfflineTrainingInputLayer