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 23, 2022, 5:06 p.m.