(self, layer_type, batch_norm=False, end_with='outputs', name=None)
| 91 | class VGG(Model): |
| 92 | |
| 93 | def __init__(self, layer_type, batch_norm=False, end_with='outputs', name=None): |
| 94 | super(VGG, self).__init__(name=name) |
| 95 | self.end_with = end_with |
| 96 | |
| 97 | config = cfg[mapped_cfg[layer_type]] |
| 98 | self.layers = make_layers(config, batch_norm, end_with) |
| 99 | |
| 100 | def forward(self, inputs): |
| 101 | """ |
nothing calls this directly
no test coverage detected