CookedRecipe
in the python sourcecode)Constructor for an Execution Plan (CookedRecipe
in the python sourcecode)
EinopsExecutionPlan(
init_shapes,
axes_reordering,
reduced_axes,
added_axes,
final_shapes,
n_axes_w_added
)
An object of class EinopsExecutionPlan
, which is a list containing
the execution plan for transforming tensors according to the specified
recipe.
integer vector specifying initial tensor shapes for reshaping. Length 0 signifies nullness.
integer vector specifying the order for transposing tensor axes. Length 0 signifies nullness.
List of integers specifying which axes to reduce during operations. Length 0 signifies nullness.
r2r::hashmap()
mapping axis positions (int) to their
lengths (int) for axes to be added.
list of integers specifying final tensor shapes for reshaping. Length 0 signifies nullness.
Integer specifying the total number of axes after adding new axes.