aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/cpu/operators/CpuElementwiseUnary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/cpu/operators/CpuElementwiseUnary.cpp')
-rw-r--r--src/runtime/cpu/operators/CpuElementwiseUnary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/cpu/operators/CpuElementwiseUnary.cpp b/src/runtime/cpu/operators/CpuElementwiseUnary.cpp
index 2140c5cf78..c79e6e9acf 100644
--- a/src/runtime/cpu/operators/CpuElementwiseUnary.cpp
+++ b/src/runtime/cpu/operators/CpuElementwiseUnary.cpp
@@ -52,7 +52,7 @@ void CpuElementwiseUnary::run(ITensorPack &tensors)
}
auto src_info = tensors.get_const_tensor(TensorType::ACL_SRC)->info();
- ICpuOperator::run(tensors, compute_output_shape_and_window(*src_info).second);
+ ICpuOperator::run(tensors, compute_output_shape_and_window(src_info->tensor_shape()).second);
}
} // namespace cpu
} // namespace arm_compute \ No newline at end of file