View source on GitHub |
Filters examples for whom fn
returns true on input_feature
.
tfds.transform.apply_filter(
fn: Callable[[Any], bool], input_feature: Optional[str] = None
) -> ExampleTransformFn
Returns | |
---|---|
function that can be applied to filter examples. |