taichi.lang.enums

Module Contents

Classes

Layout

Layout of a Taichi field or ndarray.

class taichi.lang.enums.Layout

Bases: enum.Enum

Layout of a Taichi field or ndarray.

Currently, AOS (array of structures) and SOA (structure of arrays) are supported.

AOS = 1
SOA = 2