tinyengine icon indicating copy to clipboard operation
tinyengine copied to clipboard

some api used in "GeneralMemoryScheduler.py"

Open waquey opened this issue 2 years ago • 1 comments

Excuse me, I cannot trace the exact definition of the following api which are related to op

layermem["MAC"] = op.get_macs() layermem["activation"] = op.get_activation_size() layermem["scale"] = op.get_scale_size() layermem["runtime"] = op.get_sbuf_size() layermem["kernel"] = op.get_kbuf_size()

Where can we find the definition of get_macs()/get_activation_size()/get_scale_size()/get_sbuf_size()/get_kbuf_size() ? Could you please help comment that? Thanks

waquey avatar Sep 08 '22 08:09 waquey

Hi @waquey, thanks for your interest in our work! Please refer to the implementation of operators in code_generator/operators. The abstraction of these APIs is in code_generator/operators/basic_utils.py.

meenchen avatar Sep 08 '22 14:09 meenchen

Close due to inactivity. Feel free to reopen.

meenchen avatar Dec 08 '22 17:12 meenchen