(inputs)
return Model(inputs, logits)
Generate Darknet-19 model for Imagenet classification.
Generate Darknet-19 model for Imagenet classification.
Generate Darknet - 19 model for Imagenet classification .
def darknet19(inputs):
    """Generate Darknet-19 model for Imagenet classification."""
    body = darknet_body()(inputs)
    logits = DarknetConv2D(1000, (1, 1), activation='softmax')(body)
    return Model(inputs, logits)
def darknet19 ( inputs ) : body = darknet_body ( ) ( inputs ) logits = DarknetConv2D ( 1000 , ( 1 , 1 ) , activation = 'softmax' ) ( body ) return Model ( inputs , logits )