Revision 4074c0d58c91ba23d188526cf4281123ab47a7c0 authored by Joannes Vermorel on 30 October 2017, 12:53:36 UTC, committed by Joannes Vermorel on 30 October 2017, 12:53:36 UTC
When a specific axis is specified, the Softmax() function did
fallback on a simple fraction which is stable numerically. The
revised implementation leverages the ReduceLogSum() which was
already hinted for future implementation.

Microsoft/CNTK#2565
1 parent 24dc5f2
Raw File
.clang-format
---
# Requires clang-format version 3.7.1 or later
Language: Cpp
AlignConsecutiveAssignments: false
AlignEscapedNewlinesLeft: true
AlignTrailingComments: true 
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: true
AccessModifierOffset: -4
BreakBeforeBraces: Allman
BreakConstructorInitializersBeforeComma: false
ColumnLimit: 0
ConstructorInitializerAllOnOneLineOrOnePerLine: true
DerivePointerAlignment: true
ForEachMacros: [ BOOST_FOREACH, foreach_column, foreach_coord, foreach_index, foreach_row, foreach_row_in_submat ]
IndentWidth: 4
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
PointerAlignment: Left
SpaceAfterCStyleCast: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
Standard: Cpp11
TabWidth: 4
UseTab: Never
...

back to top