torch.tx.GraphNode
export interface GraphNode {
id: number;
type: 'tensor' | 'number' | 'operator' | 'function';
label: string;
/** Original AST node for reference */
ast: ASTNode;
}id(number)type('tensor' | 'number' | 'operator' | 'function')label(string)ast(ASTNode)- – Original AST node for reference
A node in the computation graph