Skip to content

Commit

Permalink
fix module name
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzamora committed Apr 11, 2024
1 parent 337e904 commit a92f0b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/nvtabular/inference/categorify.cc
Original file line number Diff line number Diff line change
Expand Up @@ -337,12 +337,12 @@ namespace nvtabular
// this operator currently only supports CPU arrays
.def_property_readonly("supports", [](py::object self)
{
py::object supports = py::module_::import("nvtabular").attr("graph").attr("base_operator").attr("Supports");
py::object supports = py::module_::import("nvtabular").attr("graph").attr("operator").attr("Supports");
return supports.attr("CPU_DICT_ARRAY");
})
.def_property_readonly("supported_formats", [](py::object self)
{
py::object supported = py::module_::import("nvtabular").attr("graph").attr("base_operator").attr("DataFormats");
py::object supported = py::module_::import("nvtabular").attr("graph").attr("operator").attr("DataFormats");
return supported.attr("NUMPY_DICT_ARRAY");
});
}
Expand Down

0 comments on commit a92f0b9

Please sign in to comment.