compare_ptr: Compare two pointers

Description Usage Arguments Examples

View source: R/utils.R

Description

Compare two pointers

Usage

1

Arguments

x

external pointer

y

external pointer

Examples

1
2
3
4
5
6
7
library(aria)
ctx <- get_context()
register_ops(ctx, cars)
register_ops(ctx, data.frame)
x <- cpu_tensor(5, dims = 1)
all_ops <- get_all_ops_ptr(ctx)
compare_ptr(x@pointer, all_ops[[3]])

krzjoa/aria documentation built on Oct. 1, 2020, 12:48 p.m.