CauchyLinear#

class torch_uncertainty.layers.distributions.CauchyLinear(base_layer, event_dim, min_scale=1e-06, **layer_args)[source]#

Base Linear layer for any distribution with loc and scale parameters.

Parameters:
  • base_layer (type[Module]) – The base layer class.

  • event_dim (int) – The number of event dimensions.

  • min_scale (float) – The minimal value of the scale parameter.

  • **layer_args – Additional arguments for the base layer.