For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo struct
NanCheckRaiseOp
struct NanCheckRaiseOp
Raises an error if NaN or Inf counts are non-zero.
See nn.nan_check for implementation details.
Implemented traitsโ
Methodsโ
executeโ
static def execute[_trace_name: StaticString = "", label: StaticString = "", type_str: StaticString = ""](nan_count: T, inf_count: T, ctx: DeviceContext)