(self, image)
| 34 | "(mode={}, depth={}) not implemented!".format(mode, depth) |
| 35 | |
| 36 | def get_logits(self, image): |
| 37 | with argscope([Conv2D, MaxPooling, GlobalAvgPooling, BatchNorm], data_format=self.data_format): |
| 38 | return resnet_backbone( |
| 39 | image, self.num_blocks, |
| 40 | preact_group if self.mode == 'preact' else resnet_group, self.block_func) |
| 41 | |
| 42 | |
| 43 | def get_config(model): |
nothing calls this directly
no test coverage detected