linear

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

Apply the linear transformation to input.

\[\text{out} = \text{input} \times \text{weight}^{T} + \text{bias} \]
Parameters:
Returns:

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