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

// Harness contract for conv2d_depthwise baseline.
// Called by armbench_entry_conv2d_depthwise (binding.cpp); implemented by kernel.cpp.
// num_output (== C, group == C) is encoded in top_blob.c (pre-allocated by binding.cpp).
namespace ncnn {
int conv2d_depthwise_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,
    const Option& opt);
}