(x: torch.Tensor)
| 796 | |
| 797 | @torch.library.custom_op("my_custom_library::custom_op", mutates_args={}) |
| 798 | def custom_op(x: torch.Tensor) -> torch.Tensor: |
| 799 | print("custom_op called!") |
| 800 | return torch.relu(x) |
| 801 | |
| 802 | @custom_op.register_fake |
| 803 | def custom_op_meta(x): |
nothing calls this directly
no outgoing calls
no test coverage detected