Searched refs:overload_cast_ (Results 1 – 3 of 3) sorted by relevance
/external/tflite-support/tensorflow_lite_support/codegen/python/ |
D | codegen_lib.cc | 28 using overload_cast_ = pybind11::detail::overload_cast_impl<Args...>; typedef 34 overload_cast_<const char *, const std::string &, in PYBIND11_MODULE()
|
/external/python/pybind11/tests/ |
D | test_methods_and_attributes.cpp | 16 using overload_cast_ = pybind11::detail::overload_cast_impl<Args...>; typedef 194 .def("overloaded", overload_cast_<>()(&ExampleMandA::overloaded)) in TEST_SUBMODULE() 195 .def("overloaded", overload_cast_<int>()(&ExampleMandA::overloaded)) in TEST_SUBMODULE() 196 .def("overloaded", overload_cast_<int, float>()(&ExampleMandA::overloaded)) in TEST_SUBMODULE() 200 .def("overloaded_float", overload_cast_<float, float>()(&ExampleMandA::overloaded)) in TEST_SUBMODULE() 201 … .def("overloaded_const", overload_cast_<int >()(&ExampleMandA::overloaded, py::const_)) in TEST_SUBMODULE() 202 … .def("overloaded_const", overload_cast_<int, float>()(&ExampleMandA::overloaded, py::const_)) in TEST_SUBMODULE()
|
/external/python/pybind11/docs/ |
D | classes.rst | 431 using overload_cast_ = pybind11::detail::overload_cast_impl<Args...>; 434 .def("set", overload_cast_<int>()(&Pet::set), "Set the pet's age") 435 .def("set", overload_cast_<const std::string &>()(&Pet::set), "Set the pet's name");
|