2
$\begingroup$

Reading this answer about CrossEntropyLossLayer, I find the following.


enter image description here


But when I evaluate the same code, I get errors.

CrossEntropyLossLayer[][<|"Input" -> {1}, "Target" -> 1|>]
CrossEntropyLossLayer[][<|"Input" -> {2}, "Target" -> 1|>]
CrossEntropyLossLayer[][<|"Input" -> {20}, "Target" -> 1|>]
CrossEntropyLossLayer[][<|"Input" -> {200}, "Target" -> 1|>]

enter image description here

So has the usage of CrossEntropyLossLayer changed?

I am using Version 11.1.0 for Microsoft Windows (64-bit) (March 13, 2017)

$\endgroup$
  • $\begingroup$ The Wolfram documentation article for CrossEntropyLossLayer clearly states that there were changes made in V11.1.0 $\endgroup$ – m_goldberg Jun 8 '17 at 14:16

Browse other questions tagged or ask your own question.