For internal spidr use only.
import public Compiler.Xla.Literalinterface LiteralRW : Type -> Type -> Typeset : Literal -> List Nat -> ShapeIndex -> ty -> IO ()get : Literal -> List Nat -> ShapeIndex -> tyset : LiteralRW dtype ty => Literal -> List Nat -> ShapeIndex -> ty -> IO ()get : LiteralRW dtype ty => Literal -> List Nat -> ShapeIndex -> tywrite : HasIO io => LiteralRW dtype a => List Nat -> Literal shape a -> io Literalread : HasIO io => LiteralRW dtype a => List Nat -> Literal -> io (Literal shape a)