ModularM
Modular2y ago
6 replies
Leandro Lacerda

DTypePointer to StaticTuple array

Suppose I have defined a static tuple
x
as follows: var x = StaticTuple[4, Float32](1.0, 2.0, 3.0, 4.0). Is it possible to create an instance of DTypePointer[DType.float32] from the address of
x
's underlying storage?
Was this page helpful?