torch.tx.GraphEdge
export interface GraphEdge {
from: number;
to: number;
/** Edge label (for function arguments, this is the argument position) */
label?: string;
}from(number)to(number)label(string)optional- – Edge label (for function arguments, this is the argument position)
An edge in the computation graph