tests/testthat/helper-skips.R

skip_if_not_tensorflow_version <- function(version) {
  if (tensorflow::tf_version() < version)
    skip(paste0("Needs TensorFlow version >= ", version))
}

Try the keras package in your browser

Any scripts or data that you put into this service are public.

keras documentation built on May 29, 2024, 3:20 a.m.