torch.nn.Module.register_buffer
Register a buffer (non-parameter tensor) with the module. Buffers are not included in parameters() but are part of the module state.
Parameters
namestringtensorTensor | null
Register a buffer (non-parameter tensor) with the module. Buffers are not included in parameters() but are part of the module state.
namestringtensorTensor | null