Exemple #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();
        }
Exemple #2
0
 public abstract void export(Estimator estimator, string export_path, string checkpoint_path);
Exemple #3
0
 public override void export(Estimator estimator, string export_path, string checkpoint_path)
 {
 }
 public _Evaluator(Estimator estimator, EvalSpec eval_spec, int max_training_steps)
 {
 }
 public _TrainingExecutor(Estimator estimator, TrainSpec train_spec, EvalSpec eval_spec)
 {
     _estimator  = estimator;
     _train_spec = train_spec;
     _eval_spec  = eval_spec;
 }