From b1455770f571353841e2951707ef69842f9520c2 Mon Sep 17 00:00:00 2001 From: SaeHie Park Date: Wed, 17 Jul 2024 06:36:37 +0900 Subject: [PATCH] [luci/pass] Value test for fuse Add/Mul to FC (#13446) This will enable value tests for fuse Add/Mul to FC bias/weights pass. ONE-DCO-1.0-Signed-off-by: SaeHie Park --- compiler/luci-pass-value-py-test/test.lst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/compiler/luci-pass-value-py-test/test.lst b/compiler/luci-pass-value-py-test/test.lst index 9e0ed5c6615..287ddcb94d3 100644 --- a/compiler/luci-pass-value-py-test/test.lst +++ b/compiler/luci-pass-value-py-test/test.lst @@ -10,6 +10,9 @@ eval(FullyConnected_007 replace_non_const_fc_with_batch_matmul) eval(HardSwish_001 decompose_hardswish) eval(Net_Add_FloorMod_Gather_000 remove_gather_guard) +eval(Net_Add_FullyConnected_000 fuse_add_to_fullyconnected_bias) +eval(Net_Add_FullyConnected_001 fuse_add_to_fullyconnected_bias) +eval(Net_Add_FullyConnected_002 fuse_add_to_fullyconnected_bias) eval(Net_Conv_Add_000 fuse_add_with_conv) eval(Net_Conv_Add_001 fuse_add_with_conv) # eval(Net_Conv_Add_002 fuse_add_with_conv) --> Conv2D w/o bias fails in tflite interpreter @@ -40,6 +43,9 @@ eval(Net_Mul_Add_002 remove_unnecessary_add) eval(Net_Mul_Add_003 remove_unnecessary_add) eval(Net_Mul_Div_000 fuse_mul_with_div) eval(Net_Mul_Div_001 fuse_mul_with_div) +eval(Net_Mul_FullyConnected_000 fuse_mul_to_fullyconnected_weights) +eval(Net_Mul_FullyConnected_001 fuse_mul_to_fullyconnected_weights) +eval(Net_Mul_FullyConnected_002 fuse_mul_to_fullyconnected_weights) eval(Net_Reshape_Mean_000 forward_reshape_to_unaryop) eval(Net_Reshape_Neg_000 forward_reshape_to_unaryop) eval(Net_Reshape_Reshape_000 remove_redundant_reshape)