(self, tx)
| 131 | return variables.ConstantVariable.create(result) |
| 132 | |
| 133 | def is_training(self, tx): |
| 134 | mod = tx.output.get_submodule(self.module_key) |
| 135 | return getattr(mod, "training", False) |
| 136 | |
| 137 | def convert_to_unspecialized(self, tx): |
| 138 | """Restart analysis treating this module as an UnspecializedNNModuleVariable""" |