I made my layer but I get a weird error:
  File "/Users/pinocchio/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 488, in __call__
    for hook in self._forward_pre_hooks.values():
  File "/Users/pinocchio/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 539, in __getattr__
    type(self).__name__, name))
AttributeError: 'View' object has no attribute '_forward_pre_hooks'

you know why?