from_distfun_to_dist_torch: Function to define output distribution based on dist_fun
Description
Function to define output distribution based on dist_fun
Usage
from_distfun_to_dist_torch(dist_fun, preds)
Value
a symbolic torch distribution
Arguments
- dist_fun
a distribution function as defined by make_torch_dist
- preds
tensors with predictions