StatelessSymbolicContext¶
- class torch.fx.experimental.symbolic_shapes.StatelessSymbolicContext(dynamic_sizes, dynamic_strides=None, constraint_sizes=None, constraint_strides=None, view_base_context=None)[source][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