Is it possible to calculate the pseudo inverse of n matrices in one tensor?
Input tensor (input) has the shape of [n, rows, columns] and in the output should be a tensor (let’s call it pinv) with shape of [n, columns, rows] which for each i,  pinv[i, :,:] is the pseudo inverse of input[i, :, :].