Пример #1
0
 public _TrainingExecutor(Estimator estimator, TrainSpec train_spec, EvalSpec eval_spec)
 {
     _estimator  = estimator;
     _train_spec = train_spec;
     _eval_spec  = eval_spec;
 }
Пример #2
0
 public _Evaluator(Estimator estimator, EvalSpec eval_spec, int max_training_steps)
 {
 }
Пример #3
0
        public static void train_and_evaluate(Estimator estimator, TrainSpec train_spec, EvalSpec eval_spec)
        {
            var executor = new _TrainingExecutor(estimator: estimator, train_spec: train_spec, eval_spec: eval_spec);
            var config   = estimator.config;

            executor.run();
        }