Intermediate Representation¶ Graph Graph Graph.register() Graph.node_ids() Graph.subgraphs() Graph.cleanup() Graph.toposort() Graph.tensors() Graph.fold_constants() Graph.layer() Graph.copy() Node Node Node.AttributeRef Node.i() Node.o() Node.subgraphs() Node.copy() Tensor Tensor Tensor Tensor.is_empty() Tensor.to_constant() Tensor.to_variable() Tensor.i() Tensor.o() Variable Variable Variable.to_constant() Variable.copy() Constant Constant Constant.to_variable() Constant.copy()