linear

dragon.vm.torch.nn.functional.linear(
  input,
  weight,
  bias=None
)[source]

Apply the linear transformation to input.

\[y = Wx + b \]
Parameters:
Returns:

dragon.vm.torch.Tensor – The output tensor.