#include <tensor.h>
Public Types | |
template<typename T_ > | |
using | cast_op_type = ::pybind11::detail::movable_cast_op_type< T_ > |
using | Helper = eigen_tensor_helper< remove_cv_t< Type > > |
using | MapType = Eigen::TensorMap< Type, Options > |
Public Member Functions | |
bool | load (handle src, bool) |
operator MapType & () | |
operator MapType && () && | |
operator MapType * () | |
Static Public Member Functions | |
static handle | cast (const MapType &&src, return_value_policy policy, handle parent) |
static handle | cast (const MapType &src, return_value_policy policy, handle parent) |
static handle | cast (const MapType *src, return_value_policy policy, handle parent) |
static handle | cast (MapType &&src, return_value_policy policy, handle parent) |
static handle | cast (MapType &src, return_value_policy policy, handle parent) |
static handle | cast (MapType *src, return_value_policy policy, handle parent) |
template<typename C > | |
static handle | cast_impl (C *src, return_value_policy policy, handle parent) |
Static Public Attributes | |
static constexpr auto | name = get_tensor_descriptor<Type, true, needs_writeable>::value |
static constexpr bool | needs_writeable = !std::is_const<Type>::value |
Protected Attributes | |
std::unique_ptr< MapType > | value |
using type_caster< Eigen::TensorMap< Type, Options >, typename eigen_tensor_helper< remove_cv_t< Type > >::ValidType >::cast_op_type = ::pybind11::detail::movable_cast_op_type<T_> |
using type_caster< Eigen::TensorMap< Type, Options >, typename eigen_tensor_helper< remove_cv_t< Type > >::ValidType >::Helper = eigen_tensor_helper<remove_cv_t<Type> > |
using type_caster< Eigen::TensorMap< Type, Options >, typename eigen_tensor_helper< remove_cv_t< Type > >::ValidType >::MapType = Eigen::TensorMap<Type, Options> |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
staticconstexpr |
|
staticconstexpr |
|
protected |