Safemotion Lib
Loading...
Searching...
No Matches
Namespaces | Functions
focal_loss.py File Reference

Go to the source code of this file.

Namespaces

namespace  fastreid
 
namespace  fastreid.modeling
 
namespace  fastreid.modeling.losses
 
namespace  fastreid.modeling.losses.focal_loss
 

Functions

torch.Tensor fastreid.modeling.losses.focal_loss.focal_loss (torch.Tensor input, torch.Tensor target, float alpha, float gamma=2.0, str reduction='mean')