will not be a part of this module's "state_dict".
  Buffers can be accessed as attributes using given names.

  Parameters:
     * **name** (*str*) -- name of the buffer. The buffer can be
       accessed from this module using the given name

     * **tensor** (*Tensor** or **None*) -- buffer to be
       registered. If "None", then operations that run on buffers,
       such as "cuda", are ignored. If "None", the buffer is
       **not** included in the module's "state_dict".

     * **persistent** (*bool*) -- whether the buffer is part of
       this module's "state_dict".

  Example:

     >>> self.register_buffer('running_mean', torch.zeros(num_features))

register_forward_hook(hook, *, prepend=False, with_kwargs=False)
  Registers a forward hook on the module.

  The hook will be called every time after "forward()" has
  computed an output.

  If "with_kwargs" is "False" or not specified, the input contains
