diff --git a/backends/vulkan/test/custom_ops/choose_qparams_per_row.cpp b/backends/vulkan/test/custom_ops/choose_qparams_per_row.cpp index f984b2b2b40..bc7bb555782 100644 --- a/backends/vulkan/test/custom_ops/choose_qparams_per_row.cpp +++ b/backends/vulkan/test/custom_ops/choose_qparams_per_row.cpp @@ -255,10 +255,6 @@ void choose_qparams_per_channel_reference_impl(TestCase& test_case) { const ValueSpec& input_spec = test_case.inputs()[idx++]; const ValueSpec& quant_min_spec = test_case.inputs()[idx++]; const ValueSpec& quant_max_spec = test_case.inputs()[idx++]; - const ValueSpec& eps_spec = test_case.inputs()[idx++]; - const ValueSpec& dtype_spec = test_case.inputs()[idx++]; - (void)eps_spec; // Unused in reference implementation - (void)dtype_spec; // Unused in reference implementation // Extract output specifications ValueSpec& scale_out_spec = test_case.outputs()[0]; diff --git a/backends/vulkan/test/custom_ops/q4gsw_linear.cpp b/backends/vulkan/test/custom_ops/q4gsw_linear.cpp index 2af1488541d..1d1d48615e9 100644 --- a/backends/vulkan/test/custom_ops/q4gsw_linear.cpp +++ b/backends/vulkan/test/custom_ops/q4gsw_linear.cpp @@ -499,13 +499,6 @@ void reference_impl(TestCase& test_case) { } int64_t quantized_linear_flop_calculator(const TestCase& test_case) { - int input_idx = 0; - int weight_idx = 1; - if (test_case.operator_name().find("dq8ca") != std::string::npos) { - input_idx = 0; - weight_idx = 3; // Weight comes after input, input_scale, input_zero_point - } - // Get input and weight dimensions const auto& input_sizes = test_case.inputs()[0].get_tensor_sizes(); const auto& output_sizes = test_case.outputs()[0].get_tensor_sizes();