Skip to content

Commit 60ae07b

Browse files
committed
Move the softmax implementation
1 parent 9d4efb8 commit 60ae07b

File tree

1 file changed

+1
-1
lines changed
  • android/src/main/java/com/swmansion/rnexecutorch/utils

1 file changed

+1
-1
lines changed

android/src/main/java/com/swmansion/rnexecutorch/models/classification/Utils.kt android/src/main/java/com/swmansion/rnexecutorch/utils/Numerical.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.swmansion.rnexecutorch.models.classification
1+
package com.swmansion.rnexecutorch.utils
22

33
fun softmax(x: Array<Float>): Array<Float> {
44
val max = x.maxOrNull()!!

0 commit comments

Comments
 (0)