NyxImportedBuffer#
- class gs_nyx.nyx_external_memory.NyxImportedBuffer[source]#
Bases:
objectA Nyx buffer mapped into the compute API. Create it through
NyxExternalMemoryImporter.import_buffer().Constructors
Initialize self.
Methods
Unmap the buffer and drop the import.
Return a torch tensor of the given shape and dtype aliasing the start of the buffer, zero copy.
Attributes