SymbolicContext#
- class torch.fx.experimental.symbolic_shapes.SymbolicContext[source]#
Specifies how symbols should be created in
create_symbolic_sizes_strides_storage_offset
; for example, whether they should be static or dynamic.This is an abstract base class because we are likely to add another version that says “use exactly these SymInts, do not allocate fresh symbols.”