parameters: (self)
return_statement: return (self._mode == model_fn_lib.ModeKeys.TRAIN and
              not self._config.tpu_config.per_host_input_for_training)
docstring: Return true if input_fn is invoked per-core (other than per-host).
docstring_summary: Return true if input_fn is invoked per-core (other than per-host).
docstring_tokens: Return true if input_fn is invoked per - core ( other than per - host ) .
function: def is_input_sharded_per_core(self):
      """Return true if input_fn is invoked per-core (other than per-host)."""
      self._assert_mode()
      return (self._mode == model_fn_lib.ModeKeys.TRAIN and
              not self._config.tpu_config.per_host_input_for_training)
function_tokens: def is_input_sharded_per_core ( self ) : self . _assert_mode ( ) return ( self . _mode == model_fn_lib . ModeKeys . TRAIN and not self . _config . tpu_config . per_host_input_for_training )