Mojo struct
ListType
A type representing a flat list of tensor values.
This isn't an eager list type! It doesn't contain any data, but represents a runtime list that contains tensors.
Fieldsβ
- βeltype (
TensorType
): The tensor type of elements in the list.
Implemented traitsβ
AnyType
,
CollectionElement
,
Copyable
,
Movable
Methodsβ
to_mlir
β
to_mlir(self: Self, ctx: Context) -> Type
Converts to an _mlir.Type instance.
Args:
- βctx (
Context
): The mlir.Context in which to create the type.
Returns:
An _mlir.Type in the specified Context.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
π What went wrong?