collect_producer_nodes
- class torch.ao.quantization.fx.utils.collect_producer_nodes(node)
Starting from a target node, trace back until we hit input or getattr node. This is used to extract the chain of operators starting from getattr to the target node, for example:
def forward(self,