|
| template<typename T , typename U > |
| using | hash_table = std::unordered_map< T, U > |
| |
| using | free_mem_t = size_t |
| |
| using | total_mem_t = size_t |
| |
| template<typename Expr > |
| using | zeros_mat_expr = generic_expr< zeros_mat_expr_type, 0, dmat_expr, typename Expr::result_type, 1, symbolic_shape_expr< Expr > > |
| |
| template<typename Expr > |
| using | ones_mat_expr = generic_expr< ones_mat_expr_type, 0, dmat_expr, typename Expr::result_type, 1, symbolic_shape_expr< Expr > > |
| |
| template<typename Expr > |
| using | zeros_vec_expr = generic_expr< zeros_vec_expr_type, 0, dvec_expr, typename Expr::result_type, 1, symbolic_shape_expr< Expr > > |
| |
| template<typename Expr > |
| using | ones_vec_expr = generic_expr< ones_vec_expr_type, 0, dvec_expr, typename Expr::result_type, 1, symbolic_shape_expr< Expr > > |
| |
| template<typename LhsExpr , typename RhsExpr > |
| using | dmat_dmat_add_expr = binary_expr< dmat_dmat_add_expr_type, dmat_expr, typename LhsExpr::result_type, LhsExpr, RhsExpr > |
| |
| template<typename LhsExpr , typename RhsExpr > |
| using | dmat_dmat_mult_expr = binary_expr< dmat_dmat_mult_expr_type, dmat_expr, typename LhsExpr::result_type, LhsExpr, RhsExpr > |
| |
| template<typename MatExpr , typename VecExpr > |
| using | dmat_dvec_mult_expr = binary_expr< dmat_dvec_mult_expr_type, dvec_expr, typename VecExpr::result_type, MatExpr, VecExpr > |
| |
| template<typename Expr > |
| using | dmat_reduce_sum_expr = generic_expr< dmat_reduce_sum_expr_type, 0, scalar_expr, typename Expr::result_type::value_type, 0, Expr > |
| |
| template<typename Expr > |
| using | dmat_reduce_mean_expr = generic_expr< dmat_reduce_mean_expr_type, 0, scalar_expr, typename Expr::result_type::value_type, 0, Expr > |
| |
| template<typename Matrix > |
| using | dmat_ref_expr = generic_expr< dmat_ref_expr_type, 0, dmat_expr, Matrix, 1, Matrix const & > |
| |
| template<typename Expr > |
| using | dmat_trans_expr = unary_expr< dmat_trans_expr_type, dmat_expr, typename Expr::result_type, Expr > |
| |
| template<typename LhsExpr , typename RhsExpr > |
| using | dvec_dvec_add_expr = binary_expr< dvec_dvec_add_expr_type, dvec_expr, typename LhsExpr::result_type, LhsExpr, RhsExpr > |
| |
| template<typename LhsExpr , typename RhsExpr > |
| using | dvec_dvec_outer_expr = binary_expr< dvec_dvec_outer_expr_type, dmat_expr, device_matrix< typename LhsExpr::result_type::value_type >, LhsExpr, RhsExpr > |
| |
| template<typename Expr > |
| using | dvec_map_expr = generic_expr< dmat_mat_expr_type, 0, dvec_expr, typename Expr::result_type, 1, typename Expr::result_type(*)(typename Expr::result_type::parent_type const &vec), Expr > |
| |
| template<typename Expr > |
| using | dvec_reduce_sum_expr = generic_expr< dvec_reduce_sum_expr_type, 0, scalar_expr, typename Expr::result_type::value_type, 0, Expr > |
| |
| template<typename Expr > |
| using | dvec_reduce_mean_expr = generic_expr< dvec_reduce_mean_expr_type, 0, scalar_expr, typename Expr::result_type::value_type, 0, Expr > |
| |
| template<typename Vector > |
| using | dvec_ref_expr = generic_expr< dvec_ref_expr_type, 0, dvec_expr, Vector, 1, Vector const & > |
| |
| template<typename TagType , template< typename > class ResultExprType, typename ResultType , typename Expr > |
| using | unary_expr = generic_expr< TagType, 0, ResultExprType, ResultType, 0, Expr > |
| |
| template<typename TagType , template< typename > class ResultExprType, typename ResultType , typename LhsExpr , typename RhsExpr > |
| using | binary_expr = generic_expr< TagType, 0, ResultExprType, ResultType, 0, LhsExpr, RhsExpr > |
| |
| template<size_t PlaceholderID, typename ResultType > |
| using | placeholder_node = generic_expr< placeholder_node_type, PlaceholderID, ResultType::template result_expr_type, ResultType, 0 > |
| |
| template<typename ScalExpr , typename DMatExpr > |
| using | scalar_dmat_mult_expr = binary_expr< scalar_dmat_mult_expr_type, dmat_expr, typename DMatExpr::result_type, ScalExpr, DMatExpr > |
| |
| template<typename ScalExpr , typename DVecExpr > |
| using | scalar_dvec_mult_expr = binary_expr< scalar_dvec_mult_expr_type, dvec_expr, typename DVecExpr::result_type, ScalExpr, DVecExpr > |
| |
| template<typename T > |
| using | scalar_constant_expr = generic_expr< scalar_constant_expr_type, 0, scalar_expr, T, 1, T > |
| |
| template<typename T > |
| using | scalar_zero_constant_expr = generic_expr< scalar_zero_constant_expr_type, 0, scalar_expr, T, 0 > |
| |
| template<typename T > |
| using | scalar_one_constant_expr = generic_expr< scalar_one_constant_expr_type, 0, scalar_expr, T, 0 > |
| |
| template<typename Expr > |
| using | symbolic_shape_expr = generic_expr< symbolic_shape_expr_type, 0, shape_expr, typename Expr::result_type::shape_type, 1, Expr > |
| |
| template<typename... Exprs> |
| using | tie_op = generic_expr< tie_op_type, 0, tie_expr, std::tuple< typename Exprs::result_type... >, 0, Exprs... > |
| |
| template<typename Type > |
| using | complex = std::complex< Type > |
| |
| using | pad_size_t = std::pair< size_t, size_t > |
| |
| typedef cublasStatus_t | cublas_error_t |
| |
| typedef cudaError_t | cuda_error_t |
| |
| using | cufft_error_t = cufftResult |
| |
| template<typename... Args> |
| using | void_t = void |
| |
|
| template<typename T1 , typename T2 > |
| bool | operator== (allocator< T1 > const &a, allocator< T2 > const &b) |
| |
| template<typename T1 , typename T2 > |
| bool | operator!= (allocator< T1 > const &a, allocator< T2 > const &b) |
| |
| bool | operator== (const memory_resource &a, const memory_resource &b) |
| |
| bool | operator!= (const memory_resource &a, const memory_resource &b) |
| |
| outcome::result< void > | cuda_set_device (size_t device_id) noexcept |
| |
| template<typename ElemType > |
| outcome::result< ElemType * > | cuda_malloc (size_t size) noexcept |
| |
| template<typename ElemType > |
| outcome::result< void > | cuda_free (ElemType *ptr) noexcept |
| |
| template<typename ElemType > |
| outcome::result< void > | cuda_memset_to_zero (ElemType *ptr, size_t count) noexcept |
| |
| template<typename ElemType > |
| outcome::result< ElemType * > | malloc_pinned (size_t count) noexcept |
| |
| template<typename ElemType > |
| outcome::result< void > | free_pinned (ElemType *ptr) noexcept |
| |
| template<typename ElemType > |
| outcome::result< void > | cuda_memcpy (ElemType *to, ElemType const *from, size_t count, cuda_memcpy_kind kind) noexcept |
| |
| outcome::result< void > | cuda_memcpy (cuComplex *to, std::complex< float > const *from, size_t count, cuda_memcpy_kind kind) noexcept |
| |
| outcome::result< void > | cuda_memcpy (std::complex< float > *to, cuComplex const *from, size_t count, cuda_memcpy_kind kind) noexcept |
| |
| outcome::result< void > | cuda_memcpy (cuDoubleComplex *to, std::complex< double > const *from, size_t count, cuda_memcpy_kind kind) noexcept |
| |
| outcome::result< void > | cuda_memcpy (std::complex< double > *to, cuDoubleComplex const *from, size_t count, cuda_memcpy_kind kind) noexcept |
| |
| outcome::result< std::pair< free_mem_t, total_mem_t > > | cuda_mem_get_info () noexcept |
| |
| template<typename Expr > |
| zeros_mat_expr< Expr > | make_zeros_like (dmat_expr< Expr > const &expr) |
| |
| template<typename Expr > |
| ones_mat_expr< Expr > | make_ones_like (dmat_expr< Expr > const &expr) |
| |
| template<typename Expr > |
| zeros_vec_expr< Expr > | make_zeros_like (dvec_expr< Expr > const &expr) |
| |
| template<typename Expr > |
| ones_vec_expr< Expr > | make_ones_like (dvec_expr< Expr > const &expr) |
| |
| template<typename LhsExpr , typename RhsExpr > |
| auto | operator+ (dmat_expr< LhsExpr > const &lhs, dmat_expr< RhsExpr > const &rhs) noexcept |
| |
| template<typename LhsExpr , typename RhsExpr > |
| auto | add (dmat_expr< LhsExpr > const &lhs, dmat_expr< RhsExpr > const &rhs) noexcept |
| |
| template<typename LhsExpr , typename RhsExpr > |
| auto | operator- (dmat_expr< LhsExpr > const &lhs, dmat_expr< RhsExpr > const &rhs) noexcept |
| |
| template<typename LhsExpr , typename RhsExpr > |
| auto | sub (dmat_expr< LhsExpr > const &lhs, dmat_expr< RhsExpr > const &rhs) noexcept |
| |
| template<typename LhsExpr , typename RhsExpr > |
| dmat_dmat_mult_expr< LhsExpr, RhsExpr > | operator* (dmat_expr< LhsExpr > const &lhs, dmat_expr< RhsExpr > const &rhs) noexcept |
| |
| template<typename LhsExpr , typename RhsExpr > |
| dmat_dmat_mult_expr< LhsExpr, RhsExpr > | mult (dmat_expr< LhsExpr > const &lhs, dmat_expr< RhsExpr > const &rhs) noexcept |
| |
| template<typename MatExpr , typename VecExpr > |
| dmat_dvec_mult_expr< MatExpr, VecExpr > | operator* (dmat_expr< MatExpr > const &mat, dvec_expr< VecExpr > const &vec) noexcept |
| |
| template<typename MatExpr , typename VecExpr > |
| dmat_dvec_mult_expr< MatExpr, VecExpr > | mult (dmat_expr< MatExpr > const &mat, dvec_expr< VecExpr > const &vec) noexcept |
| |
| template<typename Expr > |
| decltype(auto) | reduce_sum (dmat_expr< Expr > const &expr) noexcept |
| |
| template<typename Expr > |
| decltype(auto) | reduce_mean (dmat_expr< Expr > const &expr) noexcept |
| |
| template<typename DenseMatrix , typename Type > |
| dmat_ref_expr< DenseMatrix > | ref (dense_matrix< DenseMatrix, Type > const &mat) |
| |
| template<typename Expr > |
| dmat_trans_expr< Expr > | trans (dmat_expr< Expr > const &expr) noexcept |
| |
| template<typename LhsExpr , typename RhsExpr > |
| dvec_dvec_add_expr< LhsExpr, RhsExpr > | operator+ (dvec_expr< LhsExpr > const &lhs, dvec_expr< RhsExpr > const &rhs) noexcept |
| |
| template<typename LhsExpr , typename RhsExpr > |
| dvec_dvec_add_expr< LhsExpr, RhsExpr > | add (dvec_expr< LhsExpr > const &lhs, dvec_expr< RhsExpr > const &rhs) noexcept |
| |
| template<typename LhsExpr , typename RhsExpr > |
| auto | outer (dvec_expr< LhsExpr > const &lhs, dvec_expr< RhsExpr > const &rhs) noexcept |
| |
| template<typename Expr > |
| decltype(auto) | abs (dvec_expr< Expr > const &expr) noexcept |
| |
| template<typename Expr > |
| decltype(auto) | sin (dvec_expr< Expr > const &expr) noexcept |
| |
| template<typename Expr > |
| decltype(auto) | cos (dvec_expr< Expr > const &expr) noexcept |
| |
| template<typename Expr > |
| decltype(auto) | tan (dvec_expr< Expr > const &expr) noexcept |
| |
| template<typename Expr > |
| decltype(auto) | sinh (dvec_expr< Expr > const &expr) noexcept |
| |
| template<typename Expr > |
| decltype(auto) | cosh (dvec_expr< Expr > const &expr) noexcept |
| |
| template<typename Expr > |
| decltype(auto) | tanh (dvec_expr< Expr > const &expr) noexcept |
| |
| template<typename Expr > |
| decltype(auto) | relu (dvec_expr< Expr > const &expr) noexcept |
| |
| template<typename Expr > |
| decltype(auto) | reduce_sum (dvec_expr< Expr > const &expr) noexcept |
| |
| template<typename Expr > |
| decltype(auto) | reduce_mean (dvec_expr< Expr > const &expr) noexcept |
| |
| template<typename DenseVector , typename Type > |
| dvec_ref_expr< DenseVector > | ref (dense_vector< DenseVector, Type > const &mat) |
| |
| size_t | get_last_run_cache_hits () |
| |
| void | analyze_graph (size_t id, std::function< void()> traverse) |
| |
| static_any | evaluate_if_needed (size_t id, bool needs_caching, std::function< void()> traverse, std::function< static_any()> evaluate) |
| |
| template<typename T > |
| T::result_type | eval (expression< T > const &expr, eval_context const &ctx) |
| |
| template<typename T > |
| T::result_type | eval (expression< T > const &expr) |
| |
| size_t | make_id () |
| |
| template<typename Expr , size_t PlaceholderID, typename PhResultType > |
| auto | grad (scalar_expr< Expr > const &expr, placeholder_node< PlaceholderID, PhResultType > wrt) |
| |
| template<typename Expr > |
| std::ostream & | operator<< (std::ostream &os, expression< Expr > const &expr) |
| |
| template<typename Scalar , typename DMatExpr , typename = typename std::enable_if<is_scalar<Scalar>::value>::type> |
| auto | operator* (Scalar const &scalar, dmat_expr< DMatExpr > const &exp) noexcept |
| |
| template<typename Scalar , typename DMatExpr , typename = typename std::enable_if<is_scalar<Scalar>::value>::type> |
| auto | operator* (dmat_expr< DMatExpr > const &exp, Scalar const &scalar) noexcept |
| |
| template<typename ScalExpr , typename DMatExpr > |
| auto | operator* (scalar_expr< ScalExpr > const &scalar, dmat_expr< DMatExpr > const &exp) noexcept |
| |
| template<typename ScalExpr , typename DMatExpr > |
| auto | operator* (dmat_expr< DMatExpr > const &exp, scalar_expr< ScalExpr > const &scalar) noexcept |
| |
| template<typename Scalar , typename DMatExpr , typename = typename std::enable_if<is_scalar<Scalar>::value>::type> |
| auto | mult (Scalar const &scalar, dmat_expr< DMatExpr > const &mat_exp) noexcept |
| |
| template<typename Scalar , typename DMatExpr , typename = typename std::enable_if<is_scalar<Scalar>::value>::type> |
| auto | mult (dmat_expr< DMatExpr > const &mat_exp, Scalar const &scalar) noexcept |
| |
| template<typename ScalExpr , typename DMatExpr > |
| auto | mult (scalar_expr< ScalExpr > const &scalar, dmat_expr< DMatExpr > const &mat_exp) noexcept |
| |
| template<typename ScalExpr , typename DMatExpr > |
| auto | mult (dmat_expr< DMatExpr > const &mat_exp, scalar_expr< ScalExpr > const &scalar) noexcept |
| |
| template<typename Scalar , typename DVecExpr , typename = typename std::enable_if<is_scalar<Scalar>::value>::type> |
| auto | operator* (Scalar const &scalar, dvec_expr< DVecExpr > const &exp) noexcept |
| |
| template<typename Scalar , typename DVecExpr , typename = typename std::enable_if<is_scalar<Scalar>::value>::type> |
| auto | operator* (dvec_expr< DVecExpr > const &exp, Scalar const &scalar) noexcept |
| |
| template<typename ScalExpr , typename DVecExpr > |
| auto | operator* (scalar_expr< ScalExpr > const &scalar, dvec_expr< DVecExpr > const &exp) noexcept |
| |
| template<typename ScalExpr , typename DVecExpr > |
| auto | operator* (dvec_expr< DVecExpr > const &exp, scalar_expr< ScalExpr > const &scalar) noexcept |
| |
| template<typename Scalar , typename DVecExpr , typename = typename std::enable_if<is_scalar<Scalar>::value>::type> |
| auto | mult (Scalar const &scalar, dvec_expr< DVecExpr > const &vec_exp) noexcept |
| |
| template<typename Scalar , typename DVecExpr , typename = typename std::enable_if<is_scalar<Scalar>::value>::type> |
| auto | mult (dvec_expr< DVecExpr > const &vec_exp, Scalar const &scalar) noexcept |
| |
| template<typename ScalExpr , typename DVecExpr > |
| auto | mult (scalar_expr< ScalExpr > const &scalar, dvec_expr< DVecExpr > const &vec_exp) noexcept |
| |
| template<typename ScalExpr , typename DVecExpr > |
| auto | mult (dvec_expr< DVecExpr > const &vec_exp, scalar_expr< ScalExpr > const &scalar) noexcept |
| |
| template<typename Type > |
| scalar_constant_expr< Type > | scal (Type scalar) |
| |
| template<typename Expr > |
| symbolic_shape_expr< Expr > | sym_shape (Expr const &expr) |
| |
| template<typename... Exprs> |
| tie_op< Exprs... > | tie (Exprs const &... exprs) |
| |
| void | init (bool print_system_info=true) |
| |
| template<typename... Types> |
| shape< sizeof...(Types)> | make_shape (Types... args) |
| |
| template<class Tuple , class F > |
| decltype(auto) constexpr | apply (Tuple &&t, F &&f) |
| |
| template<class Tuple , class F > |
| constexpr void | apply_void (Tuple &&t, F &&f) |
| |
| template<size_t N, class Tuple > |
| decltype(auto) constexpr | take_front (Tuple &&t) |
| |
| template<size_t N, class Tuple > |
| decltype(auto) constexpr | take_rest (Tuple &&t) |
| |
| template<class Tuple > |
| decltype(auto) constexpr | sum_tuple (Tuple &&t) |
| |
| template<class Tuple1 , class Tuple2 > |
| decltype(auto) constexpr | zip (Tuple1 &&t1, Tuple2 &&t2) |
| |
| template<class Tuple > |
| decltype(auto) constexpr | enumerate (Tuple &&t) |
| |
| template<typename Type > |
| outcome::result< void > | mgblas_fill (Type *arr, Type value, size_t n) |
| |
| template<typename From , typename To > |
| outcome::result< void > | mgblas_convert_copy (From const *from, To *to, size_t n) |
| |
| template<typename T > |
| outcome::result< void > | mgblas_vhp (T const *x, T const *y, T *z, size_t n) |
| |
| template<typename T > |
| outcome::result< void > | mgblas_vab (T *x, size_t n) |
| |
| template<typename T > |
| outcome::result< void > | mgblas_vpr (T const *x, T *y, size_t n) |
| |
| template<typename T > |
| outcome::result< void > | mgblas_vsin (T *x, size_t n) |
| |
| template<typename T > |
| outcome::result< void > | mgblas_vcos (T *x, size_t n) |
| |
| template<typename T > |
| outcome::result< void > | mgblas_vtan (T *x, size_t n) |
| |
| template<typename T > |
| outcome::result< void > | mgblas_vsinh (T *x, size_t n) |
| |
| template<typename T > |
| outcome::result< void > | mgblas_vcosh (T *x, size_t n) |
| |
| template<typename T > |
| outcome::result< void > | mgblas_vtanh (T *x, size_t n) |
| |
| template<typename T > |
| outcome::result< void > | mgblas_vrelu (T *x, size_t n) |
| |
| bool | ASSERT_MESSAGE (char const *message) |
| |
| std::error_condition | make_error_condition (mgcpp::status_t err) noexcept |
| |
| std::error_code | make_error_code (mgcpp::mgblas_error_t err) noexcept |
| |
| template<typename To , typename From > |
| To | pun_cast (From const *from) |
| |
| template<typename To , typename From > |
| To | pun_cast (From *from) |
| |