Open
Description
neuralSPOT/tools/ns_tflite_analyze.py
Line 189 in 26a212f
if groups of conv2d is considered, macs should be like this for generalization
macs = (
filter["shape"][1]
* filter["shape"][2]
* filter["shape"][3]
* outputs["shape"][1]
* outputs["shape"][2]
* outputs["shape"][3]
)
The total # of MACs will be sizeof(filter) * sizeof(output)
Metadata
Metadata
Assignees
Labels
No labels