Tenncor
Functions
pyead Namespace Reference

Functions

teq::Shape p2cshape (std::vector< py::ssize_t > &pyshape)
 
std::vector< teq::DimTc2pshape (const teq::Shape &cshape)
 
template<typename T >
py::array typedata_to_array (eteq::iNode< PybindT > *tnode, py::dtype dtype)
 
std::vector< PybindT > arr2vec (teq::Shape &outshape, py::array data)
 

Function Documentation

◆ arr2vec()

std::vector<PybindT> pyead::arr2vec ( teq::Shape outshape,
py::array  data 
)

◆ c2pshape()

std::vector<teq::DimT> pyead::c2pshape ( const teq::Shape cshape)

◆ p2cshape()

teq::Shape pyead::p2cshape ( std::vector< py::ssize_t > &  pyshape)

◆ typedata_to_array()

template<typename T >
py::array pyead::typedata_to_array ( eteq::iNode< PybindT > *  tnode,
py::dtype  dtype 
)