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(…)))