(self, mode)
return self._task
Get the input function.
    return a Task class
Get the input function.
    return a Task class
Get the input function . return a Task class
def input_fn(self, mode):
    """Get the input function.
    return a Task class
    """
    task_name = self.config['data']['task']["name"]
    self._task = registers.task[task_name](self.config, mode)
    return self._task
def input_fn ( self , mode ) : task_name = self . config [ 'data' ] [ 'task' ] [ "name" ] self . _task = registers . task [ task_name ] ( self . config , mode ) return self . _task