Sagi
MModular
•Created by Sagi on 5/25/2024 in #questions
math.atan funtion not working on compile time
is that okay that the atan funtion not working at compile time?
when I try
alias a = math.atan(Float32(3))
if fails with the error
"unknown external call atanf"
is it spouse to be like that? and if yes, is there a way around that?
I am trying a tylor series solution but it seems that the math pow function also works only on ints at compile time
22 replies
MModular
•Created by Sagi on 5/5/2024 in #questions
How to efficiently sum a SIMD
Is there a way to sum a SIMD vector faster then a for loop?
6 replies
MModular
•Created by Sagi on 9/29/2023 in #questions
PyObject support
Currently in my tests, it is very slow to transfer big numpy arrays, like from a camera into a mojo Tensor, will this case have better support in the future?
4 replies
MModular
•Created by Sagi on 9/28/2023 in #questions
How can I transform any Pyobject in form of Numpy array, int etc, into its type in mojo
for example Pyobject of 25 into a int8 or int 64 in mojo
or numpy array into a mojo tensor
1 replies