[{"data":1,"prerenderedAt":819},["ShallowReactive",2],{"content-query-DgQAyCH1Hx":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"cover":11,"type":12,"category":13,"body":14,"_type":813,"_id":814,"_source":815,"_file":816,"_stem":817,"_extension":818},"/technology-blogs/zh/1584","zh",false,"","MindSpore，易用性提升的思考与实践","一款成功的开源软件，往往在构筑代码/核心能力时，也需要考虑软件的易用性，从而获得开发者的青睐。","2022-06-29","https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2022/06/30/7a00be1ec01c47dc84ec6a790f846aec.png","technology-blogs","开发者分享",{"type":15,"children":16,"toc":797},"root",[17,25,39,45,50,58,63,70,91,96,101,106,180,291,298,310,315,344,349,366,373,392,397,403,428,435,467,473,478,485,490,497,502,516,521,528,534,539,553,571,577,582,587,594,600,605,617,622,630,640,648,656,662,682,693,703,713,723,736,741,753,765,776,786],{"type":18,"tag":19,"props":20,"children":22},"element","h1",{"id":21},"mindspore易用性提升的思考与实践",[23],{"type":24,"value":8},"text",{"type":18,"tag":26,"props":27,"children":28},"p",{},[29,31,37],{"type":24,"value":30},"随着科技不断创新发展，开源技术的重要价值日渐凸显，拥抱开源已成为行业趋势。当前，不仅在 IT 和互联网企业，银行电信等不少企业级客户也在不少技术领域开始引入开源技术，开源已经成为推动企业核心技术创新和数字化转型的新动力。 AI 框架作为发展人工智能所必需的基础设施之一，承担着 AI 技术生态中操作系统的角色，是 AI学术创新与产业商业化的重要载体。",{"type":18,"tag":32,"props":33,"children":34},"strong",{},[35],{"type":24,"value":36},"AI框架开源",{"type":24,"value":38},"，能够依靠开源社区，聚合人才和智慧，助推AI框架的快速升级，对AI框架的发展至关重要。随着AI框架的快速发展，也将极大的助力人工智能由理论走入实践， 快速进入了场景化应用得时代。 而一款成功的开源软件，往往在构筑代码/核心能力时，也需要考虑软件的易用性，从而获得开发者的青睐。",{"type":18,"tag":40,"props":41,"children":43},"h2",{"id":42},"概述",[44],{"type":24,"value":42},{"type":18,"tag":26,"props":46,"children":47},{},[48],{"type":24,"value":49},"在使用开源软件的过程中，大家可能或多或少都遇到过一些问题，比如安装过程复杂、找不到案例、缺少示例、问题定位难等，我把这些问题称之为开源软件的“摩擦力”。",{"type":18,"tag":26,"props":51,"children":52},{},[53],{"type":18,"tag":54,"props":55,"children":57},"img",{"alt":7,"src":56},"https://pic3.zhimg.com/80/v2-da2fd69ccae05e1324ba3e00f61a419e_720w.jpg",[],{"type":18,"tag":26,"props":59,"children":60},{},[61],{"type":24,"value":62},"一个成功的开源软件，想要赢得开发者的青睐，代码/核心能力的开放实际上只是冰山一角，如何构建开发者体验，持续提升软件易用性，从而消除开源软件的“摩擦力”，也是我们需要思考的工作。",{"type":18,"tag":26,"props":64,"children":65},{},[66],{"type":18,"tag":54,"props":67,"children":69},{"alt":7,"src":68},"https://pic4.zhimg.com/80/v2-74adc28f486d017cf36c5683ac5bda3f_720w.jpg",[],{"type":18,"tag":26,"props":71,"children":72},{},[73,82,84,89],{"type":18,"tag":74,"props":75,"children":79},"a",{"href":76,"rel":77},"https://link.zhihu.com/?target=https%3A//www.mindspore.cn/",[78],"nofollow",[80],{"type":24,"value":81},"MindSpore",{"type":24,"value":83},"是华为公司2020年3月",{"type":18,"tag":32,"props":85,"children":86},{},[87],{"type":24,"value":88},"开源的全场景AI计算框架",{"type":24,"value":90},"，源于全产业的最佳实践，旨在实现易开发、高效执行、全场景覆盖三大目标。其具有自动并行、动静态图结合、全场景部署协同、全栈协同加速等特点。",{"type":18,"tag":26,"props":92,"children":93},{},[94],{"type":24,"value":95},"2020年3月正式开源至今，从最初的0.1版本快速迭代到1.7版本，获得国内众多高校、科研机构、企业和开发者的支持。MindSpore的下载量突破145万+；内外部核心贡献者超过1300个；在100+高校开课，覆盖学生5万+。",{"type":18,"tag":26,"props":97,"children":98},{},[99],{"type":24,"value":100},"对于MindSpore，我们如何进一步提升其易用性呢？",{"type":18,"tag":40,"props":102,"children":104},{"id":103},"什么是易用性",[105],{"type":24,"value":103},{"type":18,"tag":26,"props":107,"children":108},{},[109,111,116,118,123,125,130,132,136,138,143,145,157,159,164,166,171,173,178],{"type":24,"value":110},"说起易用性，咱先聊聊什么是开发者体验。开发者体验（DX，",{"type":18,"tag":32,"props":112,"children":113},{},[114],{"type":24,"value":115},"D",{"type":24,"value":117},"eveloper e",{"type":18,"tag":32,"props":119,"children":120},{},[121],{"type":24,"value":122},"X",{"type":24,"value":124},"perience）来源于用户体验（UX，",{"type":18,"tag":32,"props":126,"children":127},{},[128],{"type":24,"value":129},"U",{"type":24,"value":131},"ser e",{"type":18,"tag":32,"props":133,"children":134},{},[135],{"type":24,"value":122},{"type":24,"value":137},"perience）。",{"type":18,"tag":32,"props":139,"children":140},{},[141],{"type":24,"value":142},"用户体验",{"type":24,"value":144},"指",{"type":18,"tag":32,"props":146,"children":147},{},[148,150,155],{"type":24,"value":149},"人们对于使用的产品、系统或者服务的认知印象和回应用户。",{"type":18,"tag":32,"props":151,"children":152},{},[153],{"type":24,"value":154},"通俗来讲就是",{"type":24,"value":156},"“这个东西好不好用，用起来方不方便”",{"type":24,"value":158},"。而",{"type":18,"tag":32,"props":160,"children":161},{},[162],{"type":24,"value":163},"开发者体验",{"type":24,"value":165},"，",{"type":18,"tag":32,"props":167,"children":168},{},[169],{"type":24,"value":170},"与用户体验类似，面向的对象",{"type":24,"value":172},"主要是",{"type":18,"tag":32,"props":174,"children":175},{},[176],{"type":24,"value":177},"开发者",{"type":24,"value":179},"，关注的内容变为库、API、文档、相关工具等。如下先简单介绍用户体验和开发者体验的发展历程。",{"type":18,"tag":181,"props":182,"children":183},"ul",{},[184,217,249,274],{"type":18,"tag":185,"props":186,"children":187},"li",{},[188,190,194,196,201,203,208,210,215],{"type":24,"value":189},"1995年，美国认知心理学家Donald Norman提出“",{"type":18,"tag":32,"props":191,"children":192},{},[193],{"type":24,"value":142},{"type":24,"value":195},"”概念，他将用户体验设计定义为三层，",{"type":18,"tag":32,"props":197,"children":198},{},[199],{"type":24,"value":200},"本能层",{"type":24,"value":202},"、",{"type":18,"tag":32,"props":204,"children":205},{},[206],{"type":24,"value":207},"行为层",{"type":24,"value":209},"和",{"type":18,"tag":32,"props":211,"children":212},{},[213],{"type":24,"value":214},"反思层",{"type":24,"value":216},"。首先是如何通过第一印象去吸引用户；然后在用户使用产品时，又如何通过产品的交互体验去吸引用户；最后上升到产品的意义，以及使用者对产品产生的情感升华。",{"type":18,"tag":185,"props":218,"children":219},{},[220,222,227,229,234,235,240,242,247],{"type":24,"value":221},"2007年，挪威用户体验设计师Magnus Revang提出“",{"type":18,"tag":32,"props":223,"children":224},{},[225],{"type":24,"value":226},"用户体验轮",{"type":24,"value":228},"” 研究模型。在该模型中，通过围绕核心价值周边的因素，比如可",{"type":18,"tag":32,"props":230,"children":231},{},[232],{"type":24,"value":233},"获取性、可靠性、易得性",{"type":24,"value":209},{"type":18,"tag":32,"props":236,"children":237},{},[238],{"type":24,"value":239},"易用性",{"type":24,"value":241},"等，共同去实现中间的核心-",{"type":18,"tag":32,"props":243,"children":244},{},[245],{"type":24,"value":246},"价值",{"type":24,"value":248},"。",{"type":18,"tag":185,"props":250,"children":251},{},[252,254,259,261,266,267,272],{"type":24,"value":253},"2010年，Google提出了",{"type":18,"tag":32,"props":255,"children":256},{},[257],{"type":24,"value":258},"HEART模型",{"type":24,"value":260},"，主要用来衡量Web应用的用户体验，主要衡量因素包含",{"type":18,"tag":32,"props":262,"children":263},{},[264],{"type":24,"value":265},"愉悦感、参与度、接受度",{"type":24,"value":209},{"type":18,"tag":32,"props":268,"children":269},{},[270],{"type":24,"value":271},"留存率",{"type":24,"value":273},"等。",{"type":18,"tag":185,"props":275,"children":276},{},[277,279,284,285,290],{"type":24,"value":278},"2017年，ThoughtWorks 提出开发者体验的一些关键因素，比如",{"type":18,"tag":32,"props":280,"children":281},{},[282],{"type":24,"value":283},"文档、错误呈现、易用、交互",{"type":24,"value":209},{"type":18,"tag":32,"props":286,"children":287},{},[288],{"type":24,"value":289},"触点",{"type":24,"value":273},{"type":18,"tag":26,"props":292,"children":293},{},[294],{"type":18,"tag":54,"props":295,"children":297},{"alt":7,"src":296},"https://pic3.zhimg.com/80/v2-d52a665e7e7991dacf3e507f7e248362_720w.jpg",[],{"type":18,"tag":26,"props":299,"children":300},{},[301,303,308],{"type":24,"value":302},"那么，开发者体验和易用性又有什么关系呢？开发者体验的覆盖范围要比易用性更大。从开源软件使用角度看，开发者体验包含三个层次：能用/可用->",{"type":18,"tag":32,"props":304,"children":305},{},[306],{"type":24,"value":307},"易用/好用",{"type":24,"value":309},"->享用/爱用。",{"type":18,"tag":26,"props":311,"children":312},{},[313],{"type":24,"value":314},"第一阶段，能用/好用。关注点是软件功能本身的完备可用、质量稳定可靠。在该阶段，开发者能够借助该软件完成特定目标，但是可能会存在一些瑕疵或者阻塞点。",{"type":18,"tag":26,"props":316,"children":317},{},[318,323,325,330,332,337,339],{"type":18,"tag":32,"props":319,"children":320},{},[321],{"type":24,"value":322},"第二阶段",{"type":24,"value":324},"，易用/好用。关注点是",{"type":18,"tag":32,"props":326,"children":327},{},[328],{"type":24,"value":329},"易学习低门槛、易使用高效率",{"type":24,"value":331},"。在该阶段，用户能够借助软件",{"type":18,"tag":32,"props":333,"children":334},{},[335],{"type":24,"value":336},"高效完成",{"type":24,"value":338},"特定目标，它体现的是",{"type":18,"tag":32,"props":340,"children":341},{},[342],{"type":24,"value":343},"易用性和好用性。",{"type":18,"tag":26,"props":345,"children":346},{},[347],{"type":24,"value":348},"第三阶段，享用/爱用。关注点是软件具备的独到之处、愉悦感。在该阶段，软件已经比较成熟，而且用户经过前期的使用之后，能够感受到软件的一些独到之处，用户开始满意、喜欢并且爱用。",{"type":18,"tag":26,"props":350,"children":351},{},[352,354,358,360,364],{"type":24,"value":353},"当前主要关注",{"type":18,"tag":32,"props":355,"children":356},{},[357],{"type":24,"value":322},{"type":24,"value":359},"，即",{"type":18,"tag":32,"props":361,"children":362},{},[363],{"type":24,"value":307},{"type":24,"value":365},"，同时也会涉及第三阶段。",{"type":18,"tag":26,"props":367,"children":368},{},[369],{"type":18,"tag":54,"props":370,"children":372},{"alt":7,"src":371},"https://pic3.zhimg.com/80/v2-640da4aafee210948db556fa9e8e1c1e_720w.jpg",[],{"type":18,"tag":26,"props":374,"children":375},{},[376,378,383,385,390],{"type":24,"value":377},"易用，通俗的讲就是好用、容易上手。那么，在一款软件产品中，我们怎么定义其易用性？在《GB/T 29836-2013 系统与软件易用性》中，将其定义为：",{"type":18,"tag":32,"props":379,"children":380},{},[381],{"type":24,"value":382},"产品在特定使用环境下为了特定目标可以为特定用户使用的程度",{"type":24,"value":384},"。对于其细化的指标体系，又细分为",{"type":18,"tag":32,"props":386,"children":387},{},[388],{"type":24,"value":389},"易理解性、易学性、易操作性、和吸引性",{"type":24,"value":391},"。即易用性是指产品被用户使用时，能够被用户理解、学习、使用和吸引用户的能力。易用性是产品的基本自然属性，标志着最终产品的可用性和成熟度。",{"type":18,"tag":26,"props":393,"children":394},{},[395],{"type":24,"value":396},"那么，针对MindSpore，我们该如何提升它的易用性？",{"type":18,"tag":40,"props":398,"children":400},{"id":399},"提升易用性我们准备怎么做",[401],{"type":24,"value":402},"提升易用性，我们准备怎么做",{"type":18,"tag":26,"props":404,"children":405},{},[406,408,413,415,420,422,427],{"type":24,"value":407},"对于MindSpore，从用户群体来看，主要分为",{"type":18,"tag":32,"props":409,"children":410},{},[411],{"type":24,"value":412},"学习型用户、科研型用户、生产部署型用户",{"type":24,"value":414},"。针对这些用户群体，我们从",{"type":18,"tag":32,"props":416,"children":417},{},[418],{"type":24,"value":419},"易学习低门槛、易开发高效率、问题快速闭环",{"type":24,"value":421},"三方面，",{"type":18,"tag":32,"props":423,"children":424},{},[425],{"type":24,"value":426},"提升用户易用性",{"type":24,"value":248},{"type":18,"tag":26,"props":429,"children":430},{},[431],{"type":18,"tag":54,"props":432,"children":434},{"alt":7,"src":433},"https://pic3.zhimg.com/80/v2-0eff3729c1c529f863558c2434f530ee_720w.jpg",[],{"type":18,"tag":181,"props":436,"children":437},{},[438,457,462],{"type":18,"tag":185,"props":439,"children":440},{},[441,446,448,455],{"type":18,"tag":32,"props":442,"children":443},{},[444],{"type":24,"value":445},"易学习低门槛",{"type":24,"value":447},"：提供丰富的学习资料，帮助用户快速上手和学习，包含文档教程、应用案例、以及AI工程&实践（AI开发过程中的工程实践）。Gartner发布的一篇文章中提到一种创新技术-AI工程，认为随着AI的普惠化，如何通过如设计模式、MLOps流水线等帮助开发者更好的去使用AI，将会变得越来越重要。",{"type":18,"tag":74,"props":449,"children":452},{"href":450,"rel":451},"https://www.zhihu.com/column/c_1488835248573706240",[78],[453],{"type":24,"value":454},"AI工程",{"type":24,"value":456},"是一系列方法、工具和实践的集合，确保AI模型/软件的高效交付，具备可信、健壮性及可解释性，并持续地为用户创造价值。相信随着AI工程技术的成熟&普及，将会对AI的广泛应用产生巨大的推动。",{"type":18,"tag":185,"props":458,"children":459},{},[460],{"type":24,"value":461},"**易开发高效率：**基于AI软件开发流程，提供各项开发能力，兼顾极简易用与灵活高效，包含环境准备、数据处理、模型开发、调试调优和部署推理等。整个流程就是AI开发的端到端流程，其更多体现如何帮助开发者提高开发效率。",{"type":18,"tag":185,"props":463,"children":464},{},[465],{"type":24,"value":466},"**问题及时闭环：**专门团队和专有接口人，及时处理线上线下问题，提升MindSpore开发者的满意度。",{"type":18,"tag":40,"props":468,"children":470},{"id":469},"提升易用性我们最近做了什么",[471],{"type":24,"value":472},"提升易用性，我们最近做了什么",{"type":18,"tag":26,"props":474,"children":475},{},[476],{"type":24,"value":477},"在相继发布的MindSpore 1.6和1.7版本，我们围绕着易学习低门槛、易开发高效率和问题快速闭环等目标，在MindSpore易用性上做了大量工作。",{"type":18,"tag":26,"props":479,"children":480},{},[481],{"type":18,"tag":54,"props":482,"children":484},{"alt":7,"src":483},"https://pic2.zhimg.com/80/v2-ed0b3b79b8a80e63af3faf32f88257d1_720w.jpg",[],{"type":18,"tag":26,"props":486,"children":487},{},[488],{"type":24,"value":489},"下面我们重点讲几个关键的特性。",{"type":18,"tag":491,"props":492,"children":494},"h3",{"id":493},"_1支持数据处理自适应调优充分发挥数据处理性能",[495],{"type":24,"value":496},"1.支持数据处理自适应调优，充分发挥数据处理性能",{"type":18,"tag":26,"props":498,"children":499},{},[500],{"type":24,"value":501},"在模型训练时，数据处理的并行度是初始时确定的，过程中无法调整。并行度设置过小（处理能力差）或者过大（资源切换开销高）都会影响整体的数据处理效率。",{"type":18,"tag":26,"props":503,"children":504},{},[505,507,514],{"type":24,"value":506},"为解决上述问题，MindSpore在1.7版本提供了一种数据处理自动调优的工具——",{"type":18,"tag":74,"props":508,"children":511},{"href":509,"rel":510},"https://link.zhihu.com/?target=https%3A//www.mindspore.cn/tutorials/experts/zh-CN/r1.7/debug/dataset_autotune.html",[78],[512],{"type":24,"value":513},"Dataset AutoTune",{"type":24,"value":515},"。在训练过程中，该工具可以帮助用户根据系统环境资源的情况自动调整MindSpore Data数据处理管道的并行度和内存使用度，利用当前系统资源加快数据处理管道的处理速度。",{"type":18,"tag":26,"props":517,"children":518},{},[519],{"type":24,"value":520},"在整个网络训练的过程中，Dataset AutoTune工具会持续检测当前训练性能的瓶颈处于数据处理侧还是模型运算侧。如果检测到瓶颈在数据处理侧，则将进一步对数据处理管道中各个操作（如GeneratorDataset、map、batch等）的参数进行调整，以加快该操作的计算速度。我们以一个例子来说明：",{"type":18,"tag":26,"props":522,"children":523},{},[524],{"type":18,"tag":54,"props":525,"children":527},{"alt":7,"src":526},"https://pic1.zhimg.com/80/v2-66ef053aa4cb2f382957e3c342810934_720w.jpg",[],{"type":18,"tag":491,"props":529,"children":531},{"id":530},"_2一站式智能开发环境mindspore-dev-toolkit",[532],{"type":24,"value":533},"2.一站式智能开发环境MindSpore Dev Toolkit",{"type":18,"tag":26,"props":535,"children":536},{},[537],{"type":24,"value":538},"新用户使用MindSpore时，在熟悉环境配置时，或者业务开发需要键入大量代码，亦或查找MindSpore知识，都会花费较多时间，从而无法聚焦在核心业务。",{"type":18,"tag":26,"props":540,"children":541},{},[542,544,551],{"type":24,"value":543},"针对上述场景，MindSpore提供了一站式智能开发环境",{"type":18,"tag":74,"props":545,"children":548},{"href":546,"rel":547},"https://link.zhihu.com/?target=https%3A//gitee.com/mindspore/ide-plugin",[78],[549],{"type":24,"value":550},"MindSpore Dev ToolKit",{"type":24,"value":552},"。其能够使能用户及时体验MindSpore框架，并提供运行管理、智能知识搜索、智能代码补全和算子互搜等能力，致力于让所有用户丝滑地摆脱环境干扰学习人工智能，让人工智能回归算法本身。MindSpore Dev ToolKit具备以下特点：",{"type":18,"tag":181,"props":554,"children":555},{},[556,561,566],{"type":18,"tag":185,"props":557,"children":558},{},[559],{"type":24,"value":560},"基于Conda提供的MindSpore环境管理方式，实现一键环境管理，5分钟快速将MindSpore全场景AI框架及依赖安装在独立环境中并部署最佳实践。",{"type":18,"tag":185,"props":562,"children":563},{},[564],{"type":24,"value":565},"基于语义搜索等能力，在Dev Toolkit内提供全面的MindSpore知识内容检索，在IDE中快速获取详细的文档支持。",{"type":18,"tag":185,"props":567,"children":568},{},[569],{"type":24,"value":570},"基于MindSpore ModelZoo等最佳实践数据集实现智能代码补全功能，让用户在编写相关代码时获取实时提示，补全达80%的高准确性，有效的帮助用户快速获取需要的信息，提升编码效率。",{"type":18,"tag":491,"props":572,"children":574},{"id":573},"_3提供断点续训能力训练任务中断可原地恢复",[575],{"type":24,"value":576},"3.提供断点续训能力，训练任务中断可原地恢复",{"type":18,"tag":26,"props":578,"children":579},{},[580],{"type":24,"value":581},"在超大模型训练，为保证训练效率，保存间隔较长（如5-6小时/次）。一旦系统出现异常时，最坏情况丢失前N小时的训练结果，再次重头开始训练时，会造成较大的时间损失。",{"type":18,"tag":26,"props":583,"children":584},{},[585],{"type":24,"value":586},"为解决上述问题，MindSpore提供了断点续训能力，自动保存异常点模型状态，当任务中断后，从中断的检查点处恢复并继续训练。",{"type":18,"tag":26,"props":588,"children":589},{},[590],{"type":18,"tag":54,"props":591,"children":593},{"alt":7,"src":592},"https://pic1.zhimg.com/80/v2-d7a032facbdf64bc716b20b104bf5558_720w.jpg",[],{"type":18,"tag":491,"props":595,"children":597},{"id":596},"_4mindspore-vision易用易理解的主流工具库",[598],{"type":24,"value":599},"4.MindSpore Vision—易用易理解的主流工具库",{"type":18,"tag":26,"props":601,"children":602},{},[603],{"type":24,"value":604},"在手动处理数据、构建网络、调试，往往会耗费大量时间。这时，需要套件提供开箱即用能力，来提升开发效率。",{"type":18,"tag":26,"props":606,"children":607},{},[608,615],{"type":18,"tag":74,"props":609,"children":612},{"href":610,"rel":611},"https://link.zhihu.com/?target=https%3A//www.mindspore.cn/vision/docs/zh-CN/r0.1/index.html",[78],[613],{"type":24,"value":614},"MindSpore Vision",{"type":24,"value":616},"是基于MindSpore的开源计算机视觉研究工具库，支持主流计算机视觉网络，重点提供图像分类能力；支持50+预训练模型（ViT，EfficientNet等），常用数据集接口（cifar10）。可以实现开箱即用、大幅提升开发效率。我们以一个例子来说明：",{"type":18,"tag":26,"props":618,"children":619},{},[620],{"type":24,"value":621},"从如下示例，可以看出开发效率显著提升，如官网（Lenet样例）代码整体减少90%",{"type":18,"tag":181,"props":623,"children":624},{},[625],{"type":18,"tag":185,"props":626,"children":627},{},[628],{"type":24,"value":629},"使用MindSpore Vision前：",{"type":18,"tag":631,"props":632,"children":634},"pre",{"code":633},"# 总计200+\n//构建网络\ndef construct(self, x):\n        x = self.conv1(x)\n        x = self.relu(x)\n        x = self.max_pool2d(x)\n        x = self.conv2(x)\n        x = self.relu(x)\n        x = self.max_pool2d(x)\n        x = self.flatten(x)\n        x = self.fc1(x)\n        x = self.relu(x)\n        x = self.fc2(x)\n        x = self.relu(x)\n        x = self.fc3(x)\n//数据处理\n…\n",[635],{"type":18,"tag":636,"props":637,"children":638},"code",{"__ignoreMap":7},[639],{"type":24,"value":633},{"type":18,"tag":181,"props":641,"children":642},{},[643],{"type":18,"tag":185,"props":644,"children":645},{},[646],{"type":24,"value":647},"使用MindSpore Vision后：",{"type":18,"tag":631,"props":649,"children":651},{"code":650},"# 总计20行\n…\n#网络定义（1行）\nnetwork = lenet(num_classes=10, pretrained=False)\n…\n",[652],{"type":18,"tag":636,"props":653,"children":654},{"__ignoreMap":7},[655],{"type":24,"value":650},{"type":18,"tag":40,"props":657,"children":659},{"id":658},"为什么成立易用性sig",[660],{"type":24,"value":661},"为什么成立易用性SIG",{"type":18,"tag":26,"props":663,"children":664},{},[665,667,672,674,681],{"type":24,"value":666},"未来，MindSpore团队将会不断推出易用性新特性、持续做好开发者体验。同时，MindSpore团队",{"type":18,"tag":32,"props":668,"children":669},{},[670],{"type":24,"value":671},"更希望广大开发者们能够加入进来",{"type":24,"value":673},"，一起打造易学易用、灵活高效的AI框架。为此，我们成立了",{"type":18,"tag":74,"props":675,"children":678},{"href":676,"rel":677},"https://zhuanlan.zhihu.com/p/490275689",[78],[679],{"type":24,"value":680},"易用性SIG",{"type":24,"value":248},{"type":18,"tag":26,"props":683,"children":684},{},[685,687,692],{"type":24,"value":686},"易用性SIG作为连接开发者的桥梁，其目标是",{"type":18,"tag":32,"props":688,"children":689},{},[690],{"type":24,"value":691},"和开发者共同打造易学易用、灵活高效的AI框架，持续提升MindSpore易用性，助力开发者成功",{"type":24,"value":248},{"type":18,"tag":26,"props":694,"children":695},{},[696,701],{"type":18,"tag":32,"props":697,"children":698},{},[699],{"type":24,"value":700},"易用性SIG是一个倾听开发者声音的渠道",{"type":24,"value":702},"，在这里，你可以直接提出对MindSpore易用性的改进需求，需求将及时反馈给MindSpore社区进行评估。",{"type":18,"tag":26,"props":704,"children":705},{},[706,711],{"type":18,"tag":32,"props":707,"children":708},{},[709],{"type":24,"value":710},"易用性SIG也是一个为开发者提供帮助的渠道",{"type":24,"value":712},"，在你学习和使用MindSpore的过程中，对于文档信息体验、安装、API使用、语法/算子/模型支持、报错信息等方面有任何疑问，都可以在这里发问，SIG会通过社区互助的形式帮你答疑解惑。",{"type":18,"tag":26,"props":714,"children":715},{},[716,721],{"type":18,"tag":32,"props":717,"children":718},{},[719],{"type":24,"value":720},"易用性SIG更是一个开发者共同交流和学习的平台",{"type":24,"value":722},"，这里有丰富的技术活动，不仅有易用性相关特性讲解和演示，还有业界专家对AI工程方法和最佳实践进行分享，更有学术界大牛进行前沿技术分享，以及开发者现身说法，分享他们的故事与经验。我们还可以一起来开发知识问答机器人，让AI普惠每一位开发者，让开发者学好、用好MindSpore是我们最大的心愿！",{"type":18,"tag":26,"props":724,"children":725},{},[726,728,734],{"type":24,"value":727},"更多详细的易用性SIG介绍请参见",{"type":18,"tag":74,"props":729,"children":731},{"href":676,"rel":730},[78],[732],{"type":24,"value":733},"易用性SIG介绍",{"type":24,"value":735},"。同时，欢迎各位开发者踊跃参与，不断壮大这个技术圈子。添加小助手的微信（vx: msusig），小助手拉你进群，大家一起交流更多易用性相关话题！",{"type":18,"tag":40,"props":737,"children":739},{"id":738},"参考资料",[740],{"type":24,"value":738},{"type":18,"tag":26,"props":742,"children":743},{},[744,746],{"type":24,"value":745},"[1]",{"type":18,"tag":74,"props":747,"children":750},{"href":748,"rel":749},"https://link.zhihu.com/?target=http%3A//std.samr.gov.cn/gb/search/gbDetailed%3Fid%3D71F772D8072BD3A7E05397BE0A0AB82A",[78],[751],{"type":24,"value":752},"《GB/T 29836-2013 系统与软件易用性》",{"type":18,"tag":26,"props":754,"children":755},{},[756,758],{"type":24,"value":757},"[2]",{"type":18,"tag":74,"props":759,"children":762},{"href":760,"rel":761},"https://link.zhihu.com/?target=http%3A//www.caict.ac.cn/kxyj/qwfb/bps/202202/t20220225_397170.htm",[78],[763],{"type":24,"value":764},"中国信通院《AI 框架发展白皮书（2022年）》",{"type":18,"tag":26,"props":766,"children":767},{},[768,770],{"type":24,"value":769},"[3] MindSpore官网：",{"type":18,"tag":74,"props":771,"children":773},{"href":76,"rel":772},[78],[774],{"type":24,"value":775},"https://www.mindspore.cn/",{"type":18,"tag":26,"props":777,"children":778},{},[779,781],{"type":24,"value":780},"[4]易用性SIG介绍：",{"type":18,"tag":74,"props":782,"children":784},{"href":676,"rel":783},[78],[785],{"type":24,"value":676},{"type":18,"tag":26,"props":787,"children":788},{},[789,791],{"type":24,"value":790},"[5]MindSpore Dev ToolKit：",{"type":18,"tag":74,"props":792,"children":795},{"href":793,"rel":794},"https://gitee.com/mindspore/ide-plugin",[78],[796],{"type":24,"value":793},{"title":7,"searchDepth":798,"depth":798,"links":799},4,[800,802,803,804,811,812],{"id":42,"depth":801,"text":42},2,{"id":103,"depth":801,"text":103},{"id":399,"depth":801,"text":402},{"id":469,"depth":801,"text":472,"children":805},[806,808,809,810],{"id":493,"depth":807,"text":496},3,{"id":530,"depth":807,"text":533},{"id":573,"depth":807,"text":576},{"id":596,"depth":807,"text":599},{"id":658,"depth":801,"text":661},{"id":738,"depth":801,"text":738},"markdown","content:technology-blogs:zh:1584.md","content","technology-blogs/zh/1584.md","technology-blogs/zh/1584","md",1776506113644]