Rate this Page

torch.fx.experimental.symbolic_shapes.is_accessor_node#

torch.fx.experimental.symbolic_shapes.is_accessor_node(node)[source]#

Helper function to determine if a node is trying to access a symbolic integer such as size, stride, offset or item. Currently primarily only used in a DCE pass to figure out purity.

Return type

bool