35 void LeastSquares(
const Tensor& A,
const Tensor& B, Tensor& X);
37 #ifdef BUILD_CUDA_MODULE 44 const Device& device);
53 const Device& device);
void LeastSquaresCPU(void *A_data, void *B_data, int64_t m, int64_t n, int64_t k, Dtype dtype, const Device &device)
Definition: LeastSquaresCPU.cpp:34
Definition: PinholeCameraIntrinsic.cpp:35
void LeastSquaresCUDA(void *A_data, void *B_data, int64_t m, int64_t n, int64_t k, Dtype dtype, const Device &device)
Definition: LeastSquaresCUDA.cpp:42
void LeastSquares(const Tensor &A, const Tensor &B, Tensor &X)
Solve AX = B with QR decomposition. A is a full-rank m x n matrix (m >= n).
Definition: LeastSquares.cpp:34