File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 33
33
#from .qtools.settings import cfg
34
34
from .qconv2d_batchnorm import QConv2DBatchnorm
35
35
from .qdepthwiseconv2d_batchnorm import QDepthwiseConv2DBatchnorm
36
+ from .qdense_batchnorm import QDenseBatchnorm
36
37
37
38
assert tf .executing_eagerly (), "QKeras requires TF with eager execution mode on"
38
39
Original file line number Diff line number Diff line change 42
42
from .qlayers import Clip
43
43
from .qconv2d_batchnorm import QConv2DBatchnorm
44
44
from .qdepthwiseconv2d_batchnorm import QDepthwiseConv2DBatchnorm
45
+ from .qdense_batchnorm import QDenseBatchnorm
45
46
from .qlayers import QActivation
46
47
from .qlayers import QAdaptiveActivation
47
48
from .qpooling import QAveragePooling2D
97
98
"QDepthwiseConv2DBatchnorm" ,
98
99
"QAveragePooling2D" ,
99
100
"QGlobalAveragePooling2D" ,
101
+ "QDenseBatchnorm" ,
100
102
]
101
103
102
104
@@ -854,6 +856,8 @@ def _add_supported_quantized_objects(custom_objects):
854
856
custom_objects ["QConv2DBatchnorm" ] = QConv2DBatchnorm
855
857
custom_objects ["QDepthwiseConv2DBatchnorm" ] = QDepthwiseConv2DBatchnorm
856
858
859
+ custom_objects ["QDenseBatchnorm" ] = QDenseBatchnorm
860
+
857
861
custom_objects ["QAveragePooling2D" ] = QAveragePooling2D
858
862
custom_objects ["QGlobalAveragePooling2D" ] = QGlobalAveragePooling2D
859
863
You can’t perform that action at this time.
0 commit comments