Search
Star
1.4k
Feedback
Setup for Free
M
Modular
•
3y ago
Sagi
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
Modular
Join
This server is the home of the MAX and Mojo community! Join us to chat about all things Modular.
20,311
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
No replies yet
Be the first to reply to this message
Join
Similar Threads
PyObject support
M
Modular / questions
3y ago
Error:cannot construct 'Array' from 'ListLiteral[Int, Int, Int, Int, Int]' value in 'var' initialize
M
Modular / questions
3y ago
Efficient Mojo Tensor To Numpy Array Conversion
M
Modular / questions
2y ago
What is the size of the Int type in bits?
M
Modular / questions
2y ago