25#include <gtest/gtest.h>
34TEST(OptPass, fuseConvBiasScaleScaleBias)
62 ASSERT_TRUE(
"i_0.const_25.const_23.conv_26.b_24." == ss.str() ||
63 "i_0.const_23.const_25.conv_26.b_24." == ss.str() ||
64 "const_25.i_0.const_23.conv_26.b_24." == ss.str() ||
65 "const_23.i_0.const_25.conv_26.b_24." == ss.str() ||
66 "const_25.const_23.i_0.conv_26.b_24." == ss.str() ||
67 "const_23.const_25.i_0.conv_26.b_24." == ss.str());
Output * getOutput(std::size_t index)
Main purpose of this pass - is to fuse 'Conv->BatchNorm' into 'Conv' Currently 'BatchNorm' split by N...
PassData run(PassData data) override
run compiler pass
void conv(const nncc::core::ADT::feature::Shape &out_shape, nncc::core::ADT::feature::Accessor< OutputDType > &out_data, const nncc::core::ADT::feature::Shape &in_shape, const nncc::core::ADT::feature::Reader< InputDType > &in_data, const nncc::core::ADT::kernel::Shape &ker_shape, const nncc::core::ADT::kernel::Reader< KernelDType > &ker_data, const PadInfo &pad_info, const StrideInfo &stride_info)