Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How can I transform any Pyobject in form of Numpy array, int etc, into its type in mojo - Modular
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,199
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
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