(return_values)
return _Inputs(features, labels)
Returns an `_Inputs` instance according to `input_fn` return value.
Returns an `_Inputs` instance according to `input_fn` return value.
Returns an _Inputs instance according to input_fn return value .
def from_input_fn(return_values):
    """Returns an `_Inputs` instance according to `input_fn` return value."""
    if isinstance(return_values, dataset_ops.DatasetV2):
      dataset = return_values
      return _Inputs(dataset=dataset)

    features, labels = _Inputs._parse_inputs(return_values)
    return _Inputs(features, labels)
def from_input_fn ( return_values ) : if isinstance ( return_values , dataset_ops . DatasetV2 ) : dataset = return_values return _Inputs ( dataset = dataset ) features , labels = _Inputs . _parse_inputs ( return_values ) return _Inputs ( features , labels )