📅  最后修改于: 2021-01-11 10:59:57             🧑  作者: Mango
深度学习领域的研究人员使用TensorFlow和Theano,并且经常将它们的受欢迎程度,技术优势,易用性等进行比较。
TensorFlow是由Google Brain团队的工程师和研究人员开发的,而Theano是由蒙特利尔大学MILA的Yoshua Bengio开发的,自2007年以来一直存在。
两者都是服务于几乎相同目的的库。以下是一些重要差异,如下所述:
Theano | TensorFlow |
---|---|
It is a python based library Theano is a fully python based library, which means it has to be used with the only python. This library will work with the python language and depends on python programming to be implemented. |
It is C++ and python based library TensorFlow is a C++ and python based library that means it can be used in both the C++ and python programming. Being able to deliver in two languages, it is considered more by the developers. |
It uses Single CPU It uses a single CPU for processing or performing the computations. It makes efficient use of a single CPU and generates the outcome, which is based on the processing power of the CPU. |
Uses one or more CPUs TensorFlow is capable of using one or more CPUs based on how it has been performing. Using a multiple CPU over single has a preference as it leads to reduce the time it may take to complete computations. |
Moderate compile speed Theano is keen to perform complex computations, but sometimes it is not able to meet the requirement due to its low compilation speed. The compile-time is too high but leads to taking time if the program complexity of the program is more elevated. |
Fast compile speed TensorFlow is considered for taking less compilation time as compared to Theano. The fact is that it could make use of multiple CPUs makes it the one that can do complex computations in some time than what is taken by Theano. |
Moderate popularity As compared to TensorFlow, it is considered less popular due to limitations in its feature. It can be used in the python programming and limited to use a single CPU hence only preferred where regular computations are required. |
Higher popular The TensorFlow library has been developed with python and C++. It is capable of working with many CPUs. Due to these popular and preferred at the place that needs complex computations. |