Binary cross entropy

  Kiến thức lập trình

I have a question about how write a function cross entropy binary in vhdl the last is
L= -(y*log (ypred)+(1-y)*log(1-ypred) the problem is how can write a log in VHDL , sorry about my English thanks

I am trying to write but I can’t do that

New contributor

Wahid Abdelwahed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.