As far as I know, an setting a tensor as an attribute won’t register it as a buffer, but you would rather need to call self.register_buffer directly.
You can call print(list(model.buffers())) or print(dict(model.named_buffers())) to get all buffers (adapted from the .parameters()/.named_parameters() methods).