Skip to content

Commit ca4a878

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 e8b320e commit ca4a878

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
@@ -111,8 +111,12 @@ test_that("E2E: Multi-input, multi-output functional regression works", {
111111
on.exit(options(kerasnip.show_removal_messages = TRUE), add = TRUE)
112112

113113
# Define layer blocks
114-
input_block_1 <- function(input_shape) layer_input(shape = input_shape, name = "input_1")
115-
input_block_2 <- function(input_shape) layer_input(shape = input_shape, name = "input_2")
114+
input_block_1 <- function(input_shape) {
115+
layer_input(shape = input_shape, name = "input_1")
116+
}
117+
input_block_2 <- function(input_shape) {
118+
layer_input(shape = input_shape, name = "input_2")
119+
}
116120
dense_path <- function(tensor, units = 16) {
117121
tensor |> layer_dense(units = units, activation = "relu")
118122
}

0 commit comments

Comments
 (0)