Skip to content

Commit

Permalink
fix celu's input
Browse files Browse the repository at this point in the history
  • Loading branch information
hejunchao committed Aug 25, 2023
1 parent b8c8fea commit e7cdc86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/kernels/test_celu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ class CeluTest : public KernelTest,

alpha = hrt::create(typecode, {1}, host_runtime_tensor::pool_cpu_only)
.expect("create tensor failed");
init_tensor(alpha);
init_tensor_alpha(alpha);
}

void TearDown() override {}

virtual void init_tensor(runtime::runtime_tensor &tensor) override {
virtual void init_tensor_alpha(runtime::runtime_tensor &tensor) {
auto dtype = tensor.datatype();
switch (dtype) {
case dt_float16: {
Expand Down

0 comments on commit e7cdc86

Please sign in to comment.