We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1148073 + 7a044b2 commit 97bbe73Copy full SHA for 97bbe73
1 file changed
doc/release/upcoming_changes/26908.c_api.rst
@@ -0,0 +1,8 @@
1
+New ``PyUFuncObject`` field ``process_core_dims_func``
2
+------------------------------------------------------
3
+The field ``process_core_dims_func`` was added to the structure
4
+``PyUFuncObject``. For generalized ufuncs, this field can be set to a
5
+function of type ``PyUFunc_ProcessCoreDimsFunc`` that will be called when the
6
+ufunc is called. It allows the ufunc author to check that core dimensions
7
+satisfy additional constraints, and to set output core dimension sizes if they
8
+have not been provided.
0 commit comments