Skip to content

Commit 4dd7c22

Browse files
committed
Replace "core" with ComputeGraph based implementation
1 parent 3a836a6 commit 4dd7c22

133 files changed

Lines changed: 8460 additions & 1290 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

core/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ kotlin {
3232
sourceSets {
3333
val commonMain by getting {
3434
dependencies {
35+
implementation(project(":skainet-graph"))
3536
}
3637
}
3738
val commonTest by getting {

core/src/commonMain/kotlin/sk/ai/net/Tensor.kt

Lines changed: 0 additions & 97 deletions
This file was deleted.

core/src/commonMain/kotlin/sk/ai/net/TensorFactory.kt

Lines changed: 0 additions & 24 deletions
This file was deleted.

core/src/commonMain/kotlin/sk/ai/net/core/Slice.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package sk.ai.net.core
22

3-
import sk.ai.net.Tensor
3+
import sk.ai.net.graph.tensor.Tensor
4+
45

56
data class Slice(val tensor: Tensor, val dimensionIndex: Int, val startIndex: Long, val endIndex: Long) {
67
fun toRange() = startIndex..endIndex

core/src/commonMain/kotlin/sk/ai/net/core/TypedTensor.kt

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)