parameters: (dataset)
return_statement: return not unknown_shapes
docstring: Returns whether a dataset contains a final partial batch.
docstring_summary: Returns whether a dataset contains a final partial batch.
docstring_tokens: Returns whether a dataset contains a final partial batch .
function: def is_dataset_shape_fully_defined(dataset):
    """Returns whether a dataset contains a final partial batch."""
    shapes = nest.flatten(dataset_ops.get_legacy_output_shapes(dataset))
    unknown_shapes = [s for s in shapes if not s.is_fully_defined()]
    return not unknown_shapes
function_tokens: def is_dataset_shape_fully_defined ( dataset ) : shapes = nest . flatten ( dataset_ops . get_legacy_output_shapes ( dataset ) ) unknown_shapes = [ s for s in shapes if not s . is_fully_defined ( ) ] return not unknown_shapes