|
Cytnx v0.9.7
|


Go to the source code of this file.
Namespaces | |
| namespace | cytnx |
| Helper function to print vector with ODT: | |
| namespace | cytnx::algo |
| Some basic algorithms API. | |
Functions | |
| Tensor | cytnx::algo::Sort (const Tensor &Tin) |
| sort Tensor along last axis. | |
| Tensor | cytnx::algo::Concatenate (Tensor T1, Tensor T2) |
| concatenate two 1d Tensor. | |
| Tensor | cytnx::algo::Vstack (const std::vector< Tensor > &In_tensors) |
| vertical stack a list of Tensor. | |
| Tensor | cytnx::algo::Hstack (const std::vector< Tensor > &In_tensors) |
| horizontal stack a list of Tensor. | |
| void | cytnx::algo::Vsplit_ (std::vector< Tensor > &out, const Tensor &Tin, const std::vector< cytnx_uint64 > &dims) |
| split a Matrix (a 2d Tensor) into a list of Matrices along the vertical direction. | |
| void | cytnx::algo::Hsplit_ (std::vector< Tensor > &out, const Tensor &Tin, const std::vector< cytnx_uint64 > &dims) |
| split a Matrix (a 2d Tensor) into a list of Matrices along the horizontal direction. | |
| std::vector< Tensor > | cytnx::algo::Vsplit (const Tensor &Tin, const std::vector< cytnx_uint64 > &dims) |
| split a Matrix (a 2d Tensor) into a list of Matrices along the vertical direction. | |
| std::vector< Tensor > | cytnx::algo::Hsplit (const Tensor &Tin, const std::vector< cytnx_uint64 > &dims) |
| split a Matrix (a 2d Tensor) into a list of Matrices along the horizontal direction. | |