experimental_experiment.torch_interpreter.export_options¶
- experimental_experiment.torch_interpreter.export_options.insert_contiguous_between_transpose_and_view(exported_program: torch.export.ExportedProgram) torch.export.ExportedProgram [source]¶
Modifies the module inplace to insert a node ‘contiguous’ between a node ‘transpose’ followed by a node ‘view’. The modification takes place inplace. See issue https://github.com/pytorch/pytorch/issues/136543.