mars.tensor.special.
entr
Elementwise function for computing entropy.
x (Tensor) – Input tensor.
res – The value of the elementwise entropy function at the given points x.
Tensor
See also
kl_div, rel_entr
kl_div
rel_entr
Notes
This function is concave.