forked from jiuyuan/InfiniTensor
update test
This commit is contained in:
parent
c774c9182d
commit
ee6dd3deac
|
@ -56,7 +56,7 @@ TEST(BANG_Codegen, run) {
|
|||
auto temp3 = sqrt->getOutput();
|
||||
auto mul = g->addOp<MulObj>(d, temp3, nullptr);
|
||||
auto temp4 = mul->getOutput();
|
||||
auto softmax = g->addOp<SigmoidObj>(temp4, nullptr, 0);
|
||||
auto softmax = g->addOp<SigmoidObj>(temp4, nullptr);
|
||||
|
||||
// allocate BANG memory
|
||||
g->dataMalloc();
|
||||
|
|
|
@ -57,7 +57,7 @@ TEST(CUDA_Codegen, run) {
|
|||
auto temp3 = sqrt->getOutput();
|
||||
auto mul = g->addOp<MulObj>(d, temp3, nullptr);
|
||||
auto temp4 = mul->getOutput();
|
||||
auto softmax = g->addOp<SigmoidObj>(temp4, nullptr, 0);
|
||||
auto softmax = g->addOp<SigmoidObj>(temp4, nullptr);
|
||||
|
||||
// allocate CUDA memory
|
||||
g->dataMalloc();
|
||||
|
|
Loading…
Reference in New Issue