// File: conv2d_contract.h
#pragma once
#include "mat.h"
#include "option.h"

// Harness contract for conv2d baseline.
// Called by armbench_entry_conv2d (binding.cpp); implemented by kernel.cpp.
// num_output is encoded in top_blob.c (pre-allocated by binding.cpp).
namespace ncnn {
int convolution2d_kernel(
    const Mat& bottom_blob, Mat& top_blob,
    const Mat& weight_data, const Mat& bias_data,
    int kernel_h, int kernel_w,
    int stride_h, int stride_w,
    int dilation_h, int dilation_w,
    int pad_top, int pad_left,
    int activation_type,
    const Option& opt);
}