Chapter 5: Programming methods

Abstract

This chapter focuses on Ascend AI processor programming. Firstly, the general programming ideas of deep learning applications and the principles of the deep learning Inference Engine are introduced. Then, for the programming on Ascend AI processor, three steps are proposed: model generation phase, application compilation phase, and application deployment phase. The rest of the chapter focuses on the development methods for the customized operator and the customized application. For customized operator development, there are two cases: AI CPU operator development and AI core operator development, depending on where the operator runs. For customized application development, the motivation and typical ...

Get Ascend AI Processor Architecture and Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.