Description Usage Arguments Examples
Check if externaptr object occurs in the given list of externalptrs
1 | is_in_pointer_list(ptr, ptr.list)
|
ptr |
externalptr object |
ptr.list |
list of externalptr objects |
1 2 3 4 5 6 7 8 | library(aria)
ctx <- get_context()
register_ops(ctx, cars)
register_ops(ctx, data.frame)
x <- cpu_tensor(5, dims = 1)
y <- x ** 3
all_ops <- get_all_ops_ptr(ctx)
is_in_pointer_list(aria$xptr, all_ops)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.