StatelessSymbolicContext¶
- class torch.fx.experimental.symbolic_shapes.StatelessSymbolicContext(dynamic_sizes, constraint_sizes=None, view_base_context=None)[source]¶
Create symbols in
create_symbolic_sizes_strides_storage_offset
via a symbolic_context determination as given byDimDynamic
andDimConstraint
. This will cause fresh symbols to be allocated