Skip to main content
Log in

Mojo module

layout_tensor

Aliases

  • binary_op_type = fn[DType, Int](lhs: SIMD[$0, $1], rhs: SIMD[$0, $1]) -> SIMD[$0, $1]:

Structs

  • LayoutTensor: This is a Tensor type that has a specified memory layout and rank. The following example demonstrate a LayoutTensor of float32 with a row major layout of shape (5, 4).
  • LayoutTensorIter: Iterate through a memory buffer and construct layout tensor.

Functions