(self)
| 889 | } |
| 890 | |
| 891 | def clear_store(self): |
| 892 | del self.stored_attn |
| 893 | torch.cuda.empty_cache() |
| 894 | gc.collect() |
| 895 | self.stored_attn = self.get_empty_store() |
| 896 | self.disable_intraattn() |
| 897 | |
| 898 | # store attention feature of the input frame for spatial-guided attention |
| 899 | def enable_store(self): |
no test coverage detected