Rate this Page
โ˜… โ˜… โ˜… โ˜… โ˜…

SymbolicContext#

class torch.fx.experimental.symbolic_shapes.SymbolicContext[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.โ€