Comments (6)
I get
c.reshape((1,6))
array([[0.0],
[6.0],
[12.0],
[18.0],
[24.0],
[30.0]], dtype=float64)
which is also wrong.
from micropython-ulab.
I think that is correct: c is looking at the first column, b is looking at the first row. My demo code was running on a nrf52840 in circuitpython
Phil
from micropython-ulab.
Sorry, didn't look at your result properly. I see the issue...
from micropython-ulab.
Just had a look at numpy docs for reshape: "it is not always possible to change the shape of an array without copying the data"
from micropython-ulab.
Yes, that's correct, but your particular example should still be doable without copying. I'll try to sort out the issue.
from micropython-ulab.
Fixed in #660
from micropython-ulab.
Related Issues (20)
- [BUG] crash deleting element of ulab array HOT 5
- [FEATURE REQUEST] add out keyword argument to math functions HOT 1
- [BUG] ESP-32 Installation problem HOT 3
- [FEATURE REQUEST] Is there anyway to load pickle into micropython? HOT 1
- [FEATURE REQUEST] Support for Retrain the model on a device in MicroPython HOT 1
- [BUG] Pico Device Unrecognised on Windows - Latest Development Build HOT 3
- [BUG] Compile error building ports/unix from CircuitPython (8de9d5a52) - uses ulab (6619c20) HOT 1
- [BUG] Not building with latest micropython repo HOT 4
- [BUG] element wise "and logic" & operator doesnt work. HOT 2
- [BUG] numpy.where have a strange behavior when receiving np.bool as its conditions HOT 14
- numpy.load() feature upgrade HOT 11
- [BUG] IndexError: indices must be integers, slices, or Boolean lists HOT 1
- ulab code size of certain functions grew a lot with gcc13, when not used with LTO HOT 1
- [BUG] Operations on uint8 don't respect upcasting rules HOT 1
- [BUG]`np.delete`,if pass the second positional argument empty list `[]`,the program crashed. HOT 3
- [BUG] HOT 2
- [FEATURE REQUEST] implement numpy.take HOT 1
- [BUG] Some type annotations don't include scalars HOT 5
- [BUG] ReadTheDocs link in README.md is years out of date
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from micropython-ulab.