def cnn_factory(name):
    cnn_factories = {'simple_cnn': create_simple_cnn, 'simple_cnn_ln': create_simple_cnn_ln, 'dilated_cnn_receptive_field_25': create_dilated_cnn_receptive_field_25, 'dilated_cnn_receptive_field_25_with_tanh': create_dilated_cnn_receptive_field_25_with_tanh, 'hartmann_cnn': create_hartmann_cnn}
    return cnn_factories[name]
def cnn_factory(name):
    cnn_factories = {'simple_cnn': create_simple_cnn, 'simple_cnn_ln': create_simple_cnn_ln, 'dilated_cnn_receptive_field_25': create_dilated_cnn_receptive_field_25, 'dilated_cnn_receptive_field_25_with_tanh': create_dilated_cnn_receptive_field_25_with_tanh, 'hartmann_cnn': create_hartmann_cnn}
    return cnn_factories[name]