Skip to content

Commit a97ec1c

Browse files
Update tests/testthat/test_e2e_func_regression.R
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent ca4a878 commit a97ec1c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/testthat/test_e2e_func_regression.R

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,12 @@ test_that("E2E: Multi-input, multi-output functional regression works", {
121121
tensor |> layer_dense(units = units, activation = "relu")
122122
}
123123
concat_block <- function(in_1, in_2) layer_concatenate(list(in_1, in_2))
124-
output_block_1 <- function(tensor) layer_dense(tensor, units = 1, name = "output_1")
125-
output_block_2 <- function(tensor) layer_dense(tensor, units = 1, name = "output_2")
124+
output_block_1 <- function(tensor) {
125+
layer_dense(tensor, units = 1, name = "output_1")
126+
}
127+
output_block_2 <- function(tensor) {
128+
layer_dense(tensor, units = 1, name = "output_2")
129+
}
126130

127131
model_name <- "multi_in_out_reg"
128132
on.exit(suppressMessages(remove_keras_spec(model_name)), add = TRUE)

0 commit comments

Comments
 (0)