MLBazaar / MLPrimitives

Primitives for machine learning and data science.
https://mlbazaar.github.io/MLPrimitives
MIT License
70 stars 38 forks source link

Add numpy.reshape and numpy.ravel primitives #197

Closed AlexanderGeiger closed 4 years ago

AlexanderGeiger commented 4 years ago

Description

Add numpy.reshape and numpy.ravel primitives to allow matrix reshaping.

Approach

We can use JSON-only primitives (similar to the numpy.argmax primitive).