/external/tensorflow/tensorflow/compiler/xla/python/ |
D | absl_casters.h | 32 struct type_caster<absl::Span<const T>> { 66 struct type_caster<absl::optional<T>> : optional_caster<absl::optional<T>> {}; 69 struct type_caster<absl::nullopt_t> : public void_caster<absl::nullopt_t> {}; 74 struct type_caster<absl::variant<Ts...>> 87 struct type_caster<absl::string_view> : string_caster<absl::string_view, true> {
|
D | types.h | 115 struct type_caster<xla::Status> { 129 struct type_caster<xla::StatusOr<T>> { 153 struct type_caster<xla::BorrowingLiteral> { 195 struct type_caster<xla::LiteralSlice> { 200 type_caster<xla::BorrowingLiteral> literal_caster; 218 struct type_caster<xla::ConvolutionDimensionNumbers> { 258 struct type_caster<xla::DotDimensionNumbers> { 290 struct type_caster<xla::GatherDimensionNumbers> { 318 struct type_caster<xla::ScatterDimensionNumbers> { 348 struct type_caster<xla::ReplicaGroup> { [all …]
|
D | types.cc | 232 pybind11::detail::type_caster<BorrowingLiteral> caster; in GetPythonBufferTree()
|
/external/python/pybind11/include/pybind11/ |
D | stl.h | 186 template <typename Type, typename Alloc> struct type_caster<std::vector<Type, Alloc>> 189 template <typename Type, typename Alloc> struct type_caster<std::deque<Type, Alloc>> 192 template <typename Type, typename Alloc> struct type_caster<std::list<Type, Alloc>> 243 template <typename Type, size_t Size> struct type_caster<std::array<Type, Size>> 246 template <typename Type> struct type_caster<std::valarray<Type>> 249 template <typename Key, typename Compare, typename Alloc> struct type_caster<std::set<Key, Compare,… 252 template <typename Key, typename Hash, typename Equal, typename Alloc> struct type_caster<std::unor… 255 template <typename Key, typename Value, typename Compare, typename Alloc> struct type_caster<std::m… 258 … typename Value, typename Hash, typename Equal, typename Alloc> struct type_caster<std::unordered_… 293 template<typename T> struct type_caster<std::optional<T>> [all …]
|
D | cast.h | 946 template <typename type, typename SFINAE = void> class type_caster : public type_caster_base<type> … 947 template <typename type> using make_caster = type_caster<intrinsic_t<type>>; 959 template <typename type> class type_caster<std::reference_wrapper<type>> { 1016 struct type_caster<T, enable_if_t<std::is_arithmetic<T>::value && !is_std_char_type<T>::value>> { 1137 template <> class type_caster<void_type> : public void_caster<void_type> {}; 1139 template <> class type_caster<void> : public type_caster<void_type> { 1141 using type_caster<void_type>::cast; 1182 template <> class type_caster<std::nullptr_t> : public void_caster<std::nullptr_t> { }; 1184 template <> class type_caster<bool> { 1331 struct type_caster<std::basic_string<CharT, Traits, Allocator>, enable_if_t<is_std_char_type<CharT>… [all …]
|
D | chrono.h | 99 template <typename Duration> class type_caster<std::chrono::time_point<std::chrono::system_clock, D… 182 template <typename Clock, typename Duration> class type_caster<std::chrono::time_point<Clock, Durat… 186 template <typename Rep, typename Period> class type_caster<std::chrono::duration<Rep, Period>>
|
D | eigen.h | 252 struct type_caster<Type, enable_if_t<is_eigen_dense_plain<Type>::value>> { 396 template <typename Type> struct type_caster<Type, enable_if_t<is_eigen_dense_map<Type>::value>> 402 struct type_caster< 519 struct type_caster<Type, enable_if_t<is_eigen_other<Type>::value>> { 541 struct type_caster<Type, enable_if_t<is_eigen_sparse<Type>::value>> {
|
D | complex.h | 42 template <typename T> class type_caster<std::complex<T>> {
|
D | functional.h | 19 struct type_caster<std::function<Return(Args...)>> {
|
D | numpy.h | 454 struct type_caster<unchecked_reference<T, Dim>> { 458 struct type_caster<unchecked_mutable_reference<T, Dim>> : type_caster<unchecked_reference<T, Dim>> …
|
/external/python/pybind11/tests/ |
D | test_custom_type_casters.cpp | 19 template <> struct type_caster<ArgInspector1> { struct 34 template <> struct type_caster<ArgInspector2> { struct 49 template <> struct type_caster<ArgAlwaysConverts> { struct 75 template <> struct type_caster<DestructionTester> { struct
|
D | test_copy_move.cpp | 73 template <> struct type_caster<MoveOnlyInt> { struct 79 template <> struct type_caster<MoveOrCopyInt> { argument 85 template <> struct type_caster<CopyOnlyInt> { struct
|
D | pybind11_tests.h | 65 template<> class type_caster<RValueCaster> { in PYBIND11_NAMESPACE_BEGIN()
|
D | test_stl.cpp | 27 struct type_caster<boost::variant<Ts...>> : variant_caster<boost::variant<Ts...>> {}; struct
|
D | test_builtin_casters.cpp | 25 class type_caster<ConstRefCasted> { class
|
/external/python/pybind11/docs/advanced/cast/ |
D | custom.rst | 33 instantiation of the ``pybind11::detail::type_caster<T>`` template. 40 template <> struct type_caster<inty> { 83 A ``type_caster<T>`` defined with ``PYBIND11_TYPE_CASTER(T, ...)`` requires
|
D | stl.rst | 39 pybind11 provides an easy way to specialize the ``type_caster`` for such 47 struct type_caster<boost::optional<T>> : optional_caster<boost::optional<T>> {}; 59 struct type_caster<boost::variant<Ts...>> : variant_caster<boost::variant<Ts...>> {}; 171 it adds a template instantiation of ``type_caster``. If your binding code consists of
|
/external/tensorflow/tensorflow/python/util/ |
D | py_checkpoint_reader_wrapper.cc | 55 struct type_caster<tensorflow::TensorShape> { struct 80 struct type_caster<tensorflow::DataType> { struct
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | pybind11_absl.h | 33 struct type_caster<tensorflow::StringPiece>
|
D | pybind11_status.h | 130 struct type_caster<tensorflow::Status> {
|
/external/llvm-project/mlir/lib/Bindings/Python/ |
D | PybindUtils.h | 99 struct type_caster<llvm::Optional<T>> : optional_caster<llvm::Optional<T>> {};
|
D | IRModules.h | 679 struct type_caster<mlir::python::DefaultingPyMlirContext> 682 struct type_caster<mlir::python::DefaultingPyLocation>
|
/external/python/pybind11/include/pybind11/detail/ |
D | init.h | 18 class type_caster<value_and_holder> { in PYBIND11_NAMESPACE_BEGIN()
|
/external/tensorflow/tensorflow/python/client/ |
D | tf_session_wrapper.cc | 45 struct type_caster<absl::optional<T>> struct 48 struct type_caster<absl::nullopt_t> : public void_caster<absl::nullopt_t> {}; struct
|
/external/python/pybind11/docs/ |
D | changelog.rst | 28 * The ``type_caster`` for integers does not convert Python objects with 1209 * Fix pointer to reference error in type_caster on MSVC
|