官术网_书友最值得收藏!

Core ML

Core ML helps us to build ML learning applications for iOS platforms.

Core ML uses trained models that make predictions based on new input data. For example, a model that's been trained on a region's historical land prices may be able to predict the price of land when given the details of locality and size.

Core ML acts as a foundation for other frameworks that are domain-specific. The major frameworks that Core ML supports include GamePlayKit to evaluate the learned decision trees, natural language processing (NLP) for text analysis, and vision framework for image-based analysis. 

Core ML is built on top of accelerate, basic neural network subroutines (BNNSs), and Metal Performance Shaders, as shown in the architecture diagram from the Core ML documentation:

  • With the Accelerate Framework, you can do mathematical computations on a large scale as well as calculations based on images. It is optimized for high performance and also contains APIs written in C for vector and matrix calculations, Digital Signal Processing (DSP), and other computations.
  • BNNS help to implement neural networks. From the training data, the subroutine methods and other collections are useful for implementing and running neural network. 
  • With the Metal framework, you can render advanced three-dimensional graphics and run parallel computations using the GPU device. It comes with Metal shading language, the MetalKit framework, and the Metal Performance Shaders framework. With the Metal Performance Shaders framework, it is tuned to work with the hardware features of each GPU family for optimal performance.

Core ML applications are built on top of the three layers of components mentioned, as shown in the following diagram:

Core ML is optimized for on-device performance, which minimizes memory footprint and power consumption. 

主站蜘蛛池模板: 枣阳市| 宜春市| 嘉兴市| 黑河市| 九龙城区| 兴宁市| 盐亭县| 溧水县| 元谋县| 探索| 井冈山市| 松溪县| 庐江县| 泰和县| 沂南县| 永修县| 阜平县| 澄江县| 霞浦县| 尤溪县| 成都市| 特克斯县| 平舆县| 贵定县| 鹤壁市| 赤水市| 霍城县| 凤山市| 潞城市| 郑州市| 巴东县| 江津市| 巨野县| 文安县| 瑞安市| 铜川市| 柞水县| 临清市| 大港区| 湘阴县| 翁牛特旗|