Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions backends/vulkan/test/custom_ops/choose_qparams_per_row.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
7 changes: 0 additions & 7 deletions backends/vulkan/test/custom_ops/q4gsw_linear.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Loading