bias_add

dragon.nn.bias_add(
  inputs,
  data_format='NCHW',
  **kwargs
)[source]

Add the bias across channels to input.

Parameters:
  • inputs (Sequence[dragon.Tensor]) – The tensor input and bias.
  • data_format ({'NCHW', 'NHWC'}, optional) – The optional data format.
Returns:

dragon.Tensor – The output tensor.