Convenience function to easily create a config for `create_cnn_model`
cnn_config(
cut = NULL,
pretrained = TRUE,
n_in = 3,
init = nn()$init$kaiming_normal_,
custom_head = NULL,
concat_pool = TRUE,
lin_ftrs = NULL,
ps = 0.5,
bn_final = FALSE,
lin_first = FALSE,
y_range = NULL
)
cut
pre-trained or not
input shape
initializer
custom head
concatenate pooling
linear filters
parameter server
batch normalization final
linear first
y_range
None