Description Usage Arguments Examples
Creat adjacency matrix for all the operations in the context
1 | adjacency_matrix(ctx)
|
ctx |
aria_context object |
1 2 3 4 5 6 7 8 9 10 11 | library(aria)
ctx <- get_context()
register_ops(ctx, cars)
register_ops(ctx, data.frame)
x <- cpu_tensor(5, dims = 1)
y <- x ** 3
y <- (x ** 3) / 2
all.ops <- get_all_ops_ptr(ctx)
adj_mat <- adjacency_matrix(ctx)
print(adj_mat)
plot(adj_mat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.