KMP library for tensors #300

Merged
grinisrit merged 215 commits from feature/tensor-algebra into dev 2021-05-08 09:48:04 +03:00
Showing only changes of commit 5fe1320855 - Show all commits

View File

@ -493,7 +493,7 @@ public open class DoubleTensorAlgebra : TensorPartialDivisionAlgebra<Double> {
DoubleTensor(tensor.shape, getRandomNormals(tensor.shape.reduce(Int::times), seed)) DoubleTensor(tensor.shape, getRandomNormals(tensor.shape.reduce(Int::times), seed))
/** /**
* Concatenates a sequence of tensors along a new dimension. * Concatenates a sequence of tensors along the first dimension.
* *
* @param tensors the [List] of tensors with same shapes to concatenate * @param tensors the [List] of tensors with same shapes to concatenate
* @param dim the dimension to insert * @param dim the dimension to insert