[TorchMLIRModule] Drop get_int64_max/min functions

`get_int64_max` and `get_int64_min` was introduced in TorchMLIRModule to
get int64 min/max from C++ standard library and use it as Integer +inf
and -inf. However, the fx_importer now uses torch.iinfo() to get these
values and hence these definitions can be dropped.
pull/3699/head
Vimal Patel 2024-09-11 16:05:44 +05:30
parent b35675a78e
commit 75d88076c3
1 changed files with 0 additions and 4 deletions

View File

@ -28,8 +28,4 @@ PYBIND11_MODULE(_torchMlir, m) {
} }
}, },
py::arg("context"), py::arg("load") = true); py::arg("context"), py::arg("load") = true);
m.def("get_int64_max", []() { return INT64_MAX; });
m.def("get_int64_min", []() { return INT64_MIN; });
} }