# Codeblock 8 class YOLOv1(nn.Module): def __init__(self): super().__init__() self.backbone = Backbone() self.fc = FullyConnected() def forward(self, x): x = self.backbone(x) x = torch.flatten(x, start_dim=1) #(1) x = self.fc(x) return x