MCPcopy Create free account
hub / github.com/pytorch/pytorch / test_nonstructured_ufunc

Method test_nonstructured_ufunc

tools/test/test_codegen_model.py:82–92  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

80"""
81
82 def test_nonstructured_ufunc(self) -> None:
83 yaml_str = f"""\
84- {self.binop_out}
85 ufunc_inner_loop:
86 Generic: binop (Bool)
87"""
88 self.assertParseErrorInline(
89 yaml_str,
90 """\
91ufunc must be structured""",
92 )
93
94 def test_overlapping_ufunc_and_dispatch(self) -> None:
95 yaml_str = f"""\

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected