Use this skill when creating a new class or asking how to model a new class in ShapeCrawler.
37:["$","$L3e",null,{"content":"\n# Create Class\n\n## Rule (Key Design Patterns)\n\nWhen creating a new class:\n\n- The class must represent a real-world entity or concept (noun).\n- The constructor must encapsulate the entity’s coordinates: store the properties or underlying object the class uses to refer to that entity.\n- The class must encapsulate all logic required to produce its result; do not rely on pre-calculated data from callers if it can be derived from dependencies.\n\n## Quick Checks\n\n- Class name is a noun, not “-er/-or/-service/-manager”.\n- Constructor captures the underlying object/properties that identify the entity.\n- Callers pass minimal inputs; the class derives the rest from its dependencies.\n","frontMatter":{"name":"class","description":"Use this skill when creating a new class or asking how to model a new class in ShapeCrawler."}}]
PyTorch深度学习模式与最佳实践,用于构建稳健、高效且可复现的训练流程、模型架构和数据加载。