OpaqueGraphModule¶
- class OpaqueGraphModule¶
OpaqueGraphModule is a subclass of
GraphModuleconstructed from aModulewithout usingtorch.compile(). This results in a graph that can only be patched at submodule inputs, outputs, buffers, parameters, and attributes. An OpaqueGraphModule may have instances ofCompiledGraphModuleas submodules, which can be patched normally.