How to specify a built-in target when creating new node

I want to insert a new node into the graph which slices a tensor. By checking the existing nodes, I find that this should be a node with call_function op and <built-in function getitem> target. My question is how to specify the target parameter as built-in get item function when creating the new node?

new_node = traced.graph.call_function(???, args=(slice(…)))

import operator
# ...
new_node = traced.graph.call_function(operator.getitem, args=(slice(…)))
2 Likes