parameters: (self)
return_statement: return self.evaluate(delay_secs=0)
docstring: Run when called on local machine.
  
      Returns:
        The result of the `evaluate` call to the `Estimator`.
docstring_summary: Run when called on local machine.
docstring_tokens: Run when called on local machine .
function: def local_run(self):
      """Run when called on local machine.
  
      Returns:
        The result of the `evaluate` call to the `Estimator`.
      """
      self._train_monitors = self._train_monitors or []
      if self._local_eval_frequency:
        self._train_monitors += [monitors.ValidationMonitor(
            input_fn=self._eval_input_fn, eval_steps=self._eval_steps,
            metrics=self._eval_metrics, every_n_steps=self._local_eval_frequency
        )]
      self.train(delay_secs=0)
      return self.evaluate(delay_secs=0)
function_tokens: def local_run ( self ) : self . _train_monitors = self . _train_monitors or [ ] if self . _local_eval_frequency : self . _train_monitors += [ monitors . ValidationMonitor ( input_fn = self . _eval_input_fn , eval_steps = self . _eval_steps , metrics = self . _eval_metrics , every_n_steps = self . _local_eval_frequency ) ] self . train ( delay_secs = 0 ) return self . evaluate ( delay_secs = 0 )