We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 911d7c8 commit afaa003Copy full SHA for afaa003
examples/cifar10.cpp
@@ -96,7 +96,7 @@ void testCIFAR10() {
96
auto *FCL1 = bb.createFullyConnectedOp(*MP2, 10);
97
auto *RL3 = bb.createRELUOp(*FCL1);
98
auto *SM = bb.createSoftMaxOp(*RL3, E);
99
- result = bb.createReturnOp(SM);
+ result = bb.createReturnOp(*SM);
100
}
101
102
IP.optimize();
examples/mnist.cpp
@@ -89,7 +89,7 @@ void testMNIST() {
89
auto *RL2 = bb.createRELUOp(*FCL1);
90
selected = bb.createWeightVar(ElemKind::IndexTy, {minibatchSize, 1});
91
auto *SM = bb.createSoftMaxOp(*RL2, selected);
92
93
94
95
0 commit comments