From 9563ef79ca48e5c78ab146cec772bfa60592e225 Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Mon, 4 Nov 2024 12:03:51 -0800 Subject: [PATCH] c10::optional -> std::optional in some files Reviewed By: jermenkoo Differential Revision: D65425234 fbshipit-source-id: 1e7707d6b6aab640cc1fdd3bd71a3b50f77a0909 --- pytorch3d/csrc/ext.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pytorch3d/csrc/ext.cpp b/pytorch3d/csrc/ext.cpp index 0d698526..d5e1df07 100644 --- a/pytorch3d/csrc/ext.cpp +++ b/pytorch3d/csrc/ext.cpp @@ -149,10 +149,10 @@ PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { py::arg("gamma"), py::arg("max_depth"), py::arg("min_depth") /* = 0.f*/, - py::arg( - "bg_col") /* = at::nullopt not exposed properly in pytorch 1.1. */ + py::arg("bg_col") /* = std::nullopt not exposed properly in + pytorch 1.1. */ , - py::arg("opacity") /* = at::nullopt ... */, + py::arg("opacity") /* = std::nullopt ... */, py::arg("percent_allowed_difference") = 0.01f, py::arg("max_n_hits") = MAX_UINT, py::arg("mode") = 0)