void tensor_sums(const DeviceMemory3D< T > &tensor, std::array< DeviceMemory2D< T >, 3 > &result_arr)
Sum the given 3D input tensor along each of its axes and return all 2D sum tensors.
Main namespace for bnmf-algs library.
Definition: alloc_model_funcs.hpp:12