Skip to contents

Element-wise cube root.

Usage

nv_cbrt(operand)

Arguments

operand

(tensorish)
Operand.

Value

tensorish
Has the same shape and data type as the input.

See also

nvl_cbrt() for the underlying primitive.

Examples

jit_eval({
  x <- nv_tensor(c(1, 8, 27))
  nv_cbrt(x)
})
#> AnvilTensor
#>  1
#>  2
#>  3
#> [ CPUf32{3} ]