diff --git a/benchmarks/static_runtime/test_static_runtime.cc b/benchmarks/static_runtime/test_static_runtime.cc index 55585193d94..41c7dfd9e73 100644 --- a/benchmarks/static_runtime/test_static_runtime.cc +++ b/benchmarks/static_runtime/test_static_runtime.cc @@ -2133,7 +2133,7 @@ TEST(StaticRuntime, QuantizedLinearDynamicFp16) { %packed_params = quantized::linear_prepack_fp16(%weights, %bias) %output = quantized::linear_dynamic_fp16(%input, %packed_params) %ret = aten::clone(%output, %bias) - return (%output) + return (%ret) )IR"; at::Tensor weight = torch::randn({3, 2}, torch::kFloat); at::Tensor input = torch::randn({3, 2}, torch::kFloat); @@ -2154,7 +2154,7 @@ TEST(StaticRuntime, QuantizedLinearReluDynamicFp16) { %packed_params = quantized::linear_prepack_fp16(%weights, %bias) %output = quantized::linear_relu_dynamic_fp16(%input, %packed_params) %ret = aten::clone(%output, %bias) - return (%output) + return (%ret) )IR"; at::Tensor weight = torch::randn({3, 2}, torch::kFloat); at::Tensor input = torch::randn({3, 2}, torch::kFloat);