tilus.autotune

Contents

tilus.autotune

tilus.autotune(arg_names, arg_values)[source]

Annotate an autotune subspace for a tilus script.

Parameters:
  • arg_names (str) – The names of the arguments for autotuning, separated by commas.

  • arg_values (Sequence[Any]) – The sequence of the choices for the autotune parameters. Each choice can be a single value or a sequence of values that match the names in arg_names.

Returns:

ret – The decorator that can be applied to a tilus script class for the marking of autotune parameters.

Return type:

Callable[[Type[Script]], Type[Script]]