Handbook
Glossary
<simd-slice> ( arr start -- simd-slice )
Vocabulary
tensors
.
private
Inputs
arr
an
object
start
an
object
Outputs
simd-slice
an
object
Definition
USING:
alien.data
kernel
math
math.vectors.simd
sequences
;
IN:
tensors.private
::
<simd-slice>
( arr start -- simd-slice )
arr 0 start
(simd-slice)
arr
length
start
-
:>
len len 4
mod
:>
end arr start len end
-
(simd-slice)
float-4
cast-array
arr
dup
length
end
-
end
(simd-slice)
simd-slice
boa
;
inline