get
latent.losses.get(identifier)
Returns loss function
Parameters:
Name | Type | Description | Default |
---|---|---|---|
identifier |
Union[Callable, str] |
Function or string |
required |
Returns:
Type | Description |
---|---|
Callable |
Function corresponding to the input string or input function. |