np.any()
& np.all()
An isolated commit has now been created to extend gen_for_callback
.
np.any()
& np.all()
After some thoughts, I will not use folds to implement any/all. The short-circuiting logic was slightly awkward to implement. But more importantly it could not provide the necessary control to…
np.any()
& np.all()
The function requires codegen::builtin_fns::unsupported_type
, which is private. Should I move it too?
Could we instead make a squash commit? Because I think the history of this branch does not matter too much and might pollute the master branch. The branch also contains commits that revert parts…
np.any()
& np.all()
I would also like to take time to extend this to a general fold - to also refactor np.max()
and np.min()
.
Revised.
About the macro comments, I have taken the liberty to make changes to the suggested update.
np.any()
& np.all()