API 这个概念应该如何理解
来源:3-1 什么是TensorFlow

慕粉0057121791
2018-04-05
写回答
1回答
-
In computer programming, an application programming interface (API) is a set of subroutine definitions, protocols, and tools for building application software. In general terms, it is a set of clearly defined methods of communication between various software components. A good API makes it easier to develop a computer program by providing all the building blocks, which are then put together by the programmer. An API may be for a web-based system, operating system, database system, computer hardware or software library. An API specification can take many forms, but often includes specifications for routines, data structures, object classes, variables or remote calls. POSIX, Windows API and ASPI are examples of different forms of APIs. Documentation for the API is usually provided to facilitate usage.
维基百科的解释。
你可以把 API 简单地理解为软件的作者们为你封装好的可以直接调用的函数/方法/类 等,你不需要直接去调用源代码。
012018-04-09
相似问题