Skip to main content
Log in

Mojo module

index

Implements StaticIntTuple which is commonly used to represent N-D indices.

You can import these APIs from the utils package. For example:

from utils import StaticIntTuple
from utils import StaticIntTuple

Structs

Functions

  • Index: Constructs a 1-D Index from the given value.
  • product: Computes a product of values in the tuple up to the given index.

Was this page helpful?