[INTERNAL] Check layer input
[INTERNAL] Checks if the data used to create a network layer is valid and has the right format
check_layer(layer)
layer
: [list] Named list of layer to check. Created by make_layer
Character string vector containing error messages.
Useful links