Created
August 9, 2016 02:03
-
-
Save invkrh/1c1c3f49d2d243e68d9a63deaaebbf26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val i = 164545 | |
val weights = new SparseArray[Double](Array(164545, 3657, 165734), | |
Array(1.0d, 2.0d, 3.0d), 3, 262144, 0d | |
) | |
val res = weights.apply(i) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment