Description
Users should be able to customize the name of each layer and the name of the generated PyTorch module class.
Tasks
- Implement UI input to rename layers.
- Update underlying
node.data whenever the user edits a layer name.
- Provide a front-end input or heading to allow changing the module name (default:
GeneratedModule)
- Update generator pipeline to use user-provided module class name.
- Create a verifier which checks naming conflicts with other layers, ensures special characters and spaces are not used in naming and confirms that the name follows python language's constraints.
Expected Outcomes
- Editing is reflected immediately in node.data and in generated forward/ init code.
- Module export (once implemented) uses the custom module name.
- The code generator pipeline is tweaked to adapt to this change.
- incorrect or conflicting names are flagged.
Description
Users should be able to customize the name of each layer and the name of the generated PyTorch module class.
Tasks
node.datawhenever the user edits a layer name.GeneratedModule)Expected Outcomes