Skip to content

Commit

Permalink
remove greta::: we don't seem to need it
Browse files Browse the repository at this point in the history
  • Loading branch information
hrlai committed Aug 1, 2022
1 parent 048f22e commit e2ae5b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/tf_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
tf_safe_cdf <- function(x, distribution) {

# prepare to handle values outside the supported range
too_low <- tf$less(x, greta:::fl(0))
too_high <- tf$equal(x, greta:::fl(Inf))
too_low <- tf$less(x, fl(0))
too_high <- tf$equal(x, fl(Inf))
supported <- !too_low & !too_high
ones <- tf$ones_like(x)
zeros <- tf$zeros_like(x)
Expand Down

0 comments on commit e2ae5b6

Please sign in to comment.