예제 #1
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();
        }
예제 #2
0
 public _TrainingExecutor(Estimator estimator, TrainSpec train_spec, EvalSpec eval_spec)
 {
     _estimator  = estimator;
     _train_spec = train_spec;
     _eval_spec  = eval_spec;
 }