Package org.jetbrains.kotlinx.dl.api.extension
Functions
argmax
Link copied to clipboard
Returns the index of the maximum element in the given FloatArray. TODO: Should be replaced with Multik in future.
convertTensorToFlattenFloatArray
Link copied to clipboard
Copies tensor data to float array.
convertTensorToMultiDimArray
Link copied to clipboard
Copies tensor to multi-dimensional float array. Array rank is equal to tensor rank.