Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Feature Request NDArray.has_nan() method #12623

@zhanghang1989

Description

@zhanghang1989

ndarray.has_nan(NDArray) and its convenient form NDArray.has_nan(), which return True if there is nan in the data else return False. This is very helpful in debugging.

Optimally has an option to output the per location prediction ndarray.has_nan(x, gather=True), when gather=False, it should output a binary NDArray with the same shape as x and each location predicts the corresponding data is nan or not.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions