Skip to content

Commit dbd4f74

Browse files
committed
switch gammaFromLattice and gammaFromLatticeTeacher
1 parent 81a3a88 commit dbd4f74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/ComputationNetworkLib/SpecialPurposeNodes.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -580,8 +580,8 @@ class SequenceWithSoftmaxNode : public ComputationNodeNonLooping<ElemType>, publ
580580
#endif
581581
//gammaFromLatticeTeacher.Print("teacher gamma");
582582
//gammaFromLattice.Print("student gamma");
583-
inputGradientValues.AssignScaledDifference(gradientValues.Get00Element(), gammaFromLattice, gammaFromLatticeTeacher, inputGradientValues);
584-
583+
//inputGradientValues.AssignScaledDifference(gradientValues.Get00Element(), gammaFromLattice, gammaFromLatticeTeacher, inputGradientValues);
584+
inputGradientValues.AssignScaledDifference(gradientValues.Get00Element(), gammaFromLatticeTeacher, gammaFromLattice, inputGradientValues);
585585
//inputGradientValues.DropFrame(inputFunctionValues, gammaFromLattice, (ElemType) frameDropThresh);
586586
#if DUMPOUTPUT
587587
inputGradientValues.Print("SequenceWithSoftmaxNode Partial-Right");

0 commit comments

Comments
 (0)