API 这个概念应该如何理解

来源:3-1 什么是TensorFlow

慕粉0057121791

2018-04-05

写回答

1回答

Oscar

2018-04-06

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 简单地理解为软件的作者们为你封装好的可以直接调用的函数/方法/类 等,你不需要直接去调用源代码。

0
1
慕粉0057121791
好的,谢谢老师
2018-04-09
共1条回复

基于Python玩转人工智能最火框架 TensorFlow应用实践

机器学习入门,打牢TensorFlow框架应用是关键!

2214 学习 · 688 问题

查看课程