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(); }
public abstract void export(Estimator estimator, string export_path, string checkpoint_path);
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; }