image/svg+xml
Loopdescriptors
ResolverInput
+
→
+
→
>U5
<U8
set descriptorsfor inner-loop…
<U5
<U8
<U13
User Input
Input/OutputOperands
+
→
DType classesof the ArrayMethod
+
→
Promotion (if necessary)
If provided
+
→
>U5
S8
>U5
<S8
Unicode
Unicode
Unicode
If not provided
Cast descriptorsto Loop DTypes
<U13
Registered
resolve_descriptors
Perform operation with these descriptors(setup, inner-loop function, teardown)
NumPy
Registered or default
ArrayMethod
Casting, Result Allocation and Outer Iterationdone by UFunc Machinery (within ArrayMethod)
Promoter
Inputs
Output
… including correctoutput descriptor
+ ArrayMethod lookup