KMP library for tensors #300
@ -102,4 +102,4 @@ internal class TestBroadcasting {
|
||||
assertTrue(tensor32.mutableBuffer.array() contentEquals doubleArrayOf(490.0, 480.0, 470.0))
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -155,4 +155,4 @@ internal class TestDoubleAnalyticTensorAlgebra {
|
||||
)}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -194,5 +194,3 @@ private fun DoubleTensorAlgebra.testSVDFor(tensor: DoubleTensor, epsilon: Double
|
||||
|
||||
assertTrue(tensor.eq(tensorSVD, epsilon))
|
||||
}
|
||||
|
||||
|
||||
|
@ -86,4 +86,4 @@ internal class TestDoubleTensor {
|
||||
assertEquals(ndArray[intArrayOf(0)], 1.0)
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -164,4 +164,4 @@ internal class TestDoubleTensorAlgebra {
|
||||
assertFalse(tensor1.eq(tensor3))
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user