Some of the flags in NumPy are modifiable, e.g., "writeable." It doesn't seem like dpctl.tensor._flags.Flags allows writeable to be changed.
Activity
oleksandr-pavlyk commentedon Mar 27, 2023
@DrTodd13 I just implemented the feature. Use
x.flags.writable = Falseto make the array read-only.DrTodd13 commentedon Mar 27, 2023
@oleksandr-pavlyk Thanks!