bencher.sample_order

Classes

SampleOrder

Controls the sampling traversal order for plot_sweep.

Module Contents

class bencher.sample_order.SampleOrder

Bases: strenum.StrEnum

Controls the sampling traversal order for plot_sweep.

  • INORDER: Traverse inputs in the natural Cartesian product order

    (right-most dimension varies fastest).

  • REVERSED: Traverse the same set of samples in the reverse order.

Note: This only affects sampling order, not plotting or dataset dimension order.

INORDER
REVERSED