We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2e8ec9 commit 8267e80Copy full SHA for 8267e80
R/build_and_compile_model.R
@@ -302,7 +302,8 @@ build_and_compile_functional_model <- function(
302
# This is primarily for output layers that might need num_classes
303
if ("num_classes" %in% block_fml_names) {
304
# Check if this block is an output block and if it's a classification task
305
- if (is.list(y_processed$y_proc) && !is.null(names(y_processed$y_proc))) { # Multi-output case
+ if (is.list(y_processed$y_proc) && !is.null(names(y_processed$y_proc))) {
306
+ # Multi-output case
307
# Find the corresponding output in y_processed based on block_name
308
y_names <- names(y_processed$y_proc)
309
# If there is only one output, and this block is named 'output',
0 commit comments