108 const std::vector<cytnx_uint64> &dims);
121 const std::vector<cytnx_uint64> &dims);
161 std::vector<Tensor>
Vsplit(
const Tensor &Tin,
const std::vector<cytnx_uint64> &dims);
204 std::vector<Tensor>
Hsplit(
const Tensor &Tin,
const std::vector<cytnx_uint64> &dims);
209 void _fx_Matric_split(std::vector<Tensor> &out,
const Tensor &Tin,
210 const std::vector<cytnx_uint64> &rdims,
211 const std::vector<cytnx_uint64> &cdims);
an tensor (multi-dimensional array)
Definition Tensor.hpp:345
void 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.
Tensor Concatenate(Tensor T1, Tensor T2)
concatenate two 1d Tensor.
void 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.
Tensor Sort(const Tensor &Tin)
sort Tensor along last axis.
std::vector< Tensor > 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.
std::vector< Tensor > 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.
Tensor Vstack(const std::vector< Tensor > &In_tensors)
vertical stack a list of Tensor.
Tensor Hstack(const std::vector< Tensor > &In_tensors)
horizontal stack a list of Tensor.
Definition Accessor.hpp:12
uint64_t cytnx_uint64
Definition Type.hpp:45