hawk.raw_device#
- hawk.raw_device(text, *, access=None, reads=(), writes=(), returns=TensorType(shape=(), dtype='f64', tag=None), language='aether')[source]#
Declare a raw device block (the escape hatch for code the vocabulary cannot spell):
textspliced verbatim, withaccess=required (the walk can’t see inside text),reads/writesnaming the touched slots,returnsthe value type andlanguagethe languagetextis written in (a writer refuses one it cannot write).- Return type:
- Parameters:
text (str)
access (str | None)
reads (Sequence[str])
writes (Sequence[str])
returns (TensorType)
language (str)