This C++ API example demonstrates how to create and execute a Logsoftmax primitive in forward training propagation mode.
Key optimizations included in this example: