[composite compliance] backward, forward: nn.linear (#77151)
Reference : https://github.com/pytorch/pytorch/issues/69991
Pull Request resolved: https://github.com/pytorch/pytorch/pull/77151
Approved by: https://github.com/Lezcano, https://github.com/soulitzer