SymbolicContext¶
- class torch.fx.experimental.symbolic_shapes.SymbolicContext[source][source]¶
Data structure specifying how we should create symbols in
create_symbolic_sizes_strides_storage_offset
; e.g., should they be static or dynamic.This is an abstract base class because we are probably going to add another version of this that says “use exactly these SymInts, don’t allocate fresh symbols.”