File tree Expand file tree Collapse file tree
commonMain/kotlin/sk/ai/net
commonTest/kotlin/sk/ai/net Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,13 +5,9 @@ import sk.ai.net.Shape
55import sk.ai.net.Tensor
66import sk.ai.net.core.Slice
77import sk.ai.net.core.TypedTensor
8- import sk.ai.net.core.end
9- import sk.ai.net.core.start
108import kotlin.collections.map
119import kotlin.math.exp
1210import kotlin.math.pow
13- import kotlin.random.Random
14- import kotlin.text.toInt
1511
1612data class DoublesTensor (override val shape : Shape , val elements : DoubleArray ) : TypedTensor<Double> {
1713 constructor (shape: Shape , element: Double = 0.0 ) : this (
Original file line number Diff line number Diff line change 11package sk.ai.net.nn
22
3- import sk.ai.net.Shape
43import sk.ai.net.Tensor
54import sk.ai.net.impl.DoublesTensor
65import kotlin.random.Random
Original file line number Diff line number Diff line change 11package sk.ai.net
22
3- import sk.ai.net.Shape
43import sk.ai.net.impl.DoublesTensor
54import sk.ai.net.impl.createTensor
65import sk.ai.net.impl.zipMap
You can’t perform that action at this time.
0 commit comments