tests/testthat/test-shape.R

test_that("shape() works", {

  expect_identical(shape(NULL, 28),
                   structure(list(NULL, 28L), class = "keras_shape"))

})
rstudio/keras documentation built on May 17, 2024, 9:23 p.m.