candle_nn
0.5.0
In candle_nn::loss
?
Settings
Function
candle_nn
::
loss
::
mse
Copy item path
source
·
[
−
]
pub fn mse(inp: &
Tensor
, target: &
Tensor
) ->
Result
<
Tensor
>
Expand description
The mean squared error loss.