It was developed by the Google Brain team for Google's internal use in research and production.[5][6][7] The initial version was released under the Apache License 2.0 in 2015.[1][8] Google released an updated version, TensorFlow 2.0, in September 2019.[9]
TensorFlow can be used in a wide variety of programming languages, including Python, JavaScript, C++, and Java,[10] facilitating its use in a range of applications in many sectors.
History
DistBelief
Starting in 2011, Google Brain built DistBelief as a proprietarymachine learning system based on deep learningneural networks. Its use grew rapidly across diverse Alphabet companies in both research and commercial applications.[11][12] Google assigned multiple computer scientists, including Jeff Dean, to simplify and refactor the codebase of DistBelief into a faster, more robust application-grade library, which became TensorFlow.[13] In 2009, the team, led by Geoffrey Hinton, had implemented generalized backpropagation and other improvements, which allowed generation of neural networks with substantially higher accuracy, for instance a 25% reduction in errors in speech recognition.[14]
Its flexible architecture allows for the easy deployment of computation across a variety of platforms (CPUs, GPUs, TPUs), and from desktops to clusters of servers to mobile and edge devices.
TensorFlow computations are expressed as statefuldataflowgraphs. The name TensorFlow derives from the operations that such neural networks perform on multidimensional data arrays, which are referred to as tensors.[17] During the Google I/O Conference in June 2016, Jeff Dean stated that 1,500 repositories on GitHub mentioned TensorFlow, of which only 5 were from Google.[18]
In March 2018, Google announced TensorFlow.js version 1.0 for machine learning in JavaScript.[19]
In Jan 2019, Google announced TensorFlow 2.0.[20] It became officially available in September 2019.[9]
In May 2019, Google announced TensorFlow Graphics for deep learning in computer graphics.[21]
In May 2017, Google announced the second-generation, as well as the availability of the TPUs in Google Compute Engine.[23] The second-generation TPUs deliver up to 180 teraflops of performance, and when organized into clusters of 64 TPUs, provide up to 11.5 petaflops.[citation needed]
In May 2018, Google announced the third-generation TPUs delivering up to 420 teraflops of performance and 128 GB high bandwidth memory (HBM). Cloud TPU v3 Pods offer 100+ petaflops of performance and 32 TB HBM.[24]
In February 2018, Google announced that they were making TPUs available in beta on the Google Cloud Platform.[25]
Edge TPU
In July 2018, the Edge TPU was announced. Edge TPU is Google's purpose-built ASIC chip designed to run TensorFlow Lite machine learning (ML) models on small client computing devices such as smartphones[26] known as edge computing.
TensorFlow Lite
In May 2017, Google announced a software stack specifically for mobile development, TensorFlow Lite.[27] In January 2019, the TensorFlow team released a developer preview of the mobile GPU inference engine with OpenGL ES 3.1 Compute Shaders on Android devices and Metal Compute Shaders on iOS devices.[28] In May 2019, Google announced that their TensorFlow Lite Micro (also known as TensorFlow Lite for Microcontrollers) and ARM's uTensor would be merging.[29]
TensorFlow 2.0
As TensorFlow's market share among research papers was declining to the advantage of PyTorch,[30] the TensorFlow Team announced a release of a new major version of the library in September 2019. TensorFlow 2.0 introduced many changes, the most significant being TensorFlow eager, which changed the automatic differentiation scheme from the static computational graph to the "Define-by-Run" scheme originally made popular by Chainer and later PyTorch.[30] Other major changes included removal of old libraries, cross-compatibility between trained models on different versions of TensorFlow, and significant improvements to the performance on GPU.[31][non-primary source needed]
Features
AutoDifferentiation
AutoDifferentiation is the process of automatically calculating the gradient vector of a model with respect to each of its parameters. With this feature, TensorFlow can automatically compute the gradients for the parameters in a model, which is useful to algorithms such as backpropagation which require gradients to optimize performance.[32] To do so, the framework must keep track of the order of operations done to the input Tensors in a model, and then compute the gradients with respect to the appropriate parameters.[32]
Eager execution
TensorFlow includes an “eager execution” mode, which means that operations are evaluated immediately as opposed to being added to a computational graph which is executed later.[33] Code executed eagerly can be examined step-by step-through a debugger, since data is augmented at each line of code rather than later in a computational graph.[33] This execution paradigm is considered to be easier to debug because of its step by step transparency.[33]
Distribute
In both eager and graph executions, TensorFlow provides an API for distributing computation across multiple devices with various distribution strategies.[34] This distributed computing can often speed up the execution of training and evaluating of TensorFlow models and is a common practice in the field of AI.[34][35]
In order to assess the performance of machine learning models, TensorFlow gives API access to commonly used metrics. Examples include various accuracy metrics (binary, categorical, sparse categorical) along with other metrics such as Precision, Recall, and Intersection-over-Union (IoU).[37]
TensorFlow offers a set of optimizers for training neural networks, including ADAM, ADAGRAD, and Stochastic Gradient Descent (SGD).[39] When training a model, different optimizers offer different modes of parameter tuning, often affecting a model's convergence and performance.[40]
Usage and extensions
TensorFlow
TensorFlow serves as a core platform and library for machine learning. TensorFlow's APIs use Keras to allow users to make their own machine-learning models.[41] In addition to building and training their model, TensorFlow can also help load the data to train the model, and deploy it using TensorFlow Serving.[42]
TensorFlow also has a library for machine learning in JavaScript. Using the provided JavaScript APIs, TensorFlow.js allows users to use either Tensorflow.js models or converted models from TensorFlow or TFLite, retrain the given models, and run on the web.[42][60]
TFLite
TensorFlow Lite has APIs for mobile apps or embedded devices to generate and deploy TensorFlow models.[61] These models are compressed and optimized in order to be more efficient and have a higher performance on smaller capacity devices.[62]
TensorFlow Lite uses FlatBuffers as the data serialization format for network models, eschewing the Protocol Buffers format used by standard TensorFlow models.[62]
TFX
TensorFlow Extended (abbrev. TFX) provides numerous components to perform all the operations needed for end-to-end production.[63] Components include loading, validating, and transforming data, tuning, training, and evaluating the machine learning model, and pushing the model itself into production.[42][63]
Integrations
Numpy
Numpy is one of the most popular Python data libraries, and TensorFlow offers integration and compatibility with its data structures.[64] Numpy NDarrays, the library's native datatype, are automatically converted to TensorFlow Tensors in TF operations; the same is also true vice versa.[64] This allows for the two libraries to work in unison without requiring the user to write explicit data conversions. Moreover, the integration extends to memory optimization by having TF Tensors share the underlying memory representations of Numpy NDarrays whenever possible.[64]
Extensions
TensorFlow also offers a variety of libraries and extensions to advance and extend the models and methods used.[65] For example, TensorFlow Recommenders and TensorFlow Graphics are libraries for their respective functionalities in recommendation systems and graphics, TensorFlow Federated provides a framework for decentralized data, and TensorFlow Cloud allows users to directly interact with Google Cloud to integrate their local code to Google Cloud.[66] Other add-ons, libraries, and frameworks include TensorFlow Model Optimization, TensorFlow Probability, TensorFlow Quantum, and TensorFlow Decision Forests.[65][66]
Google Colab
Google also released Colaboratory, a TensorFlow Jupyter notebook environment that does not require any setup.[67] It runs on Google Cloud and allows users free access to GPUs and the ability to store and share notebooks on Google Drive.[68]
Google JAX is a machine learning framework for transforming numerical functions.[69][70][71] It is described as bringing together a modified version of autograd (automatic obtaining of the gradient function through differentiation of a function) and TensorFlow's XLA (Accelerated Linear Algebra). It is designed to follow the structure and workflow of NumPy as closely as possible and works with TensorFlow as well as other frameworks such as PyTorch. The primary functions of JAX are:[69]
grad: automatic differentiation
jit: compilation
vmap: auto-vectorization
pmap: SPMD programming
Applications
Medical
GE Healthcare used TensorFlow to increase the speed and accuracy of MRIs in identifying specific body parts.[72] Google used TensorFlow to create DermAssist, a free mobile application that allows users to take pictures of their skin and identify potential health complications.[73]Sinovation Ventures used TensorFlow to identify and classify eye diseases from optical coherence tomography (OCT) scans.[73]
Social media
Twitter implemented TensorFlow to rank tweets by importance for a given user, and changed their platform to show tweets in order of this ranking.[74] Previously, tweets were simply shown in reverse chronological order.[74] The photo sharing app VSCO used TensorFlow to help suggest custom filters for photos.[73]
Search Engine
Google officially released RankBrain on October 26, 2015, backed by TensorFlow.[75]
Education
InSpace, a virtual learning platform, used TensorFlow to filter out toxic chat messages in classrooms.[76] Liulishuo, an online English learning platform, utilized TensorFlow to create an adaptive curriculum for each student.[77] TensorFlow was used to accurately assess a student's current abilities, and also helped decide the best future content to show based on those capabilities.[77]
Retail
The e-commerce platform Carousell used TensorFlow to provide personalized recommendations for customers.[73] The cosmetics company ModiFace used TensorFlow to create an augmented reality experience for customers to test various shades of make-up on their face.[78]
2016 comparison of original photo (left) and with TensorFlow neural style applied (right)
^Abadi, Martín; Barham, Paul; Chen, Jianmin; Chen, Zhifeng; Davis, Andy; Dean, Jeffrey; Devin, Matthieu; Ghemawat, Sanjay; Irving, Geoffrey; Isard, Michael; Kudlur, Manjunath; Levenberg, Josh; Monga, Rajat; Moore, Sherry; Murray, Derek G.; Steiner, Benoit; Tucker, Paul; Vasudevan, Vijay; Warden, Pete; Wicke, Martin; Yu, Yuan; Zheng, Xiaoqiang (2016). TensorFlow: A System for Large-Scale Machine Learning(PDF). Proceedings of the 12th USENIX Symposium on Operating Systems Design and Implementation (OSDI ’16). arXiv:1605.08695. Archived(PDF) from the original on December 12, 2020. Retrieved October 26, 2020.
^TensorFlow: Open source machine learning. Google. 2015. Archived from the original on November 11, 2021. "It is machine learning software being used for various kinds of perceptual and language understanding tasks" – Jeffrey Dean, minute 0:47 / 2:17 from YouTube clip
^Malmaud, Jon (August 12, 2019). "A Julia wrapper for TensorFlow". GitHub. Archived from the original on July 24, 2017. Retrieved August 14, 2019. operations like sin, * (matrix multiplication), .* (element-wise multiplication), etc [..]. Compare to Python, which requires learning specialized namespaced functions like tf.matmul.
1937 film by Norman Taurog This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Fifty Roads to Town – news · newspapers · books · scholar · JSTOR (April 2019) (Learn how and when to remove this template message) Fifty Roads to TownDirected byNorman TaurogWritten byWilliam M. Conselman George Marion Jr.Based onFif...
Overview of the economic inequality in South Korea This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Economic inequality in South Korea – news · newspapers · books ...
Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Oktober 2022. Pakande-Kandea adalah tradisi asli budaya Buton berupa pesta adat makan bersama yang bertujuan untuk menyambut tamu. Tradisi yang juga disebut dengan kande-kandea kabolosi ini merupakan sebuah permainan rakyat yang terikat adat serta memiliki norma ter...
Ethnic group in TurkeyThis article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Uzbeks in Turkey – news · newspapers · books · scholar · JSTOR (April 2021) (Learn how and when to remove this template message) Uzbeks in TurkeyTurkiyadagi O'zbeklar (Uzbek)Flag of Uzbekistan, used by the diaspora in Turkey since 1991Tota...
Marlene Engelhorn (2023) Marlene Engelhorn (geboren 1992 in Wien) ist eine deutsch-österreichische Aktivistin und Publizistin. Sie ist Millionenerbin und setzt sich für soziale Gerechtigkeit, eine Reform von Steuerpolitiken und Erbschaftsteuern ein. Sie ist Mitgründerin der Initiative taxmenow. Inhaltsverzeichnis 1 Leben und Familie 2 Aktivitäten und Positionen 3 Rezeption 4 Auszeichnung 5 Veröffentlichungen 6 Weblinks 7 Einzelnachweise Leben und Familie Engelhorn wuchs in Wien auf und b...
Veolia Water Central LimitedTypeSubsidiaryIndustryWater supplyFounded1994 (merger of Colne, Rickmansworth and Lee Valley Water companies)Defunct2012 (merged into Affinity Water)HeadquartersHatfield, EnglandKey peopleRichard Bienfait (Managing Director) Richard Brimble (Director of Organisation Development)ParentVeolia Environnement (through Veolia Water)Websitecentral.veoliawater.co.uk Veolia Water Central (formerly Three Valleys Water) was a privately owned company supplying water to Hertfor...
Copa de Guatemla 1995 Copa Gallo 1995 Fecha 5 de agosto de 1995? de 1995 Cantidad de equipos 12 Podio • Campeón• Subcampeón• Semifinalistas Municipal Xelajú MC Comunicaciones Aurora Partidos 36 Goles anotados 103 (2.86 por partido) El Torneo Copa Gallo 1995 fue la edición del torneo de copa que se realizó en Guatemala. El campeón de esta edición fue el Municipal que enfrentó en la final al club Xelajú M.C. ganándole por un marcador de 2-1. Primera ronda Grupo A Equ...
Indian wrestler Labhanshu SharmaPersonal informationBirth nameLabhanshuFull nameLabhanshu SharmaNicknamePahalwan JeeBornRishikesh, Uttarakhand, IndiaEducationNetaji Subhas National Institute of SportsHeight185.5 cm (6 ft 1.0 in) (2021)Weight97 kg (214 lb) (2021)SportCountryIndia Labhanshu Sharma is an Indian wrestler, world peace activist[1] and winner of gold medals in Asian International Games[2] and Indo Nepal International Wrestling Tournament...
Spanish cyclist Antonio Miguel ParraAntoni Miguel ParraPersonal informationFull nameAntonio Miguel ParraBorn (1982-12-26) 26 December 1982 (age 40)Palafrugell, SpainHeight1.81 m (5 ft 11 in)Weight76 kg (168 lb)Team informationCurrent teamRetiredDisciplineTrackRoleRiderRider typePursuitProfessional teams2005Catalunya–Angel Mir2006Massi Major wins Spanish Track Cycling Championships (Madison) (2004) Antonio Miguel Parra (born 26 December 1982) is a...
Catedral Metropolitana – Außenansicht Kathedrale im Häuserensemble Eingangsbereich Die Catedral Metropolitana Santísima Trinidad de Buenos Aires ist die Hauptkirche der Katholiken und Mutterkirche des Erzbistums in der argentinischen Hauptstadt Buenos Aires. Sie befindet sich im Stadtteil San Nicolás an der Plaza de Mayo, an der Straßenecke San Martín und Rivadavia. Die Catedral Metropolitana, der hl. Dreifaltigkeit geweiht, hatte ihren ersten Vorgängerbau im 16. Jahrhunder...
1971 Canadian comedy film Foxy LadyFilm posterDirected byIvan ReitmanWritten byRobert SandlerMatt SiegelProduced byIvan ReitmanStarringAlan GordonSylvia FeigelCinematographyKen LambertEdited byIvan ReitmanMusic byDoug RileyIvan ReitmanDistributed byCineplex of CanadaRelease dateSeptember 27, 1971Running time85 minutesCountryCanadaLanguageEnglish Foxy Lady is a 1971 Canadian comedy film directed by Ivan Reitman.[1] It was Reitman's debut feature film and was also the first film appeara...
يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (ديسمبر 2018) تسرد هذه الصفحة مقالات حول سلالة حاكمة في مصر القديمة. انظر أيضًا: قائمة الفراعنة - التسلسل الزمني لمصر - ا...
Suburb of Glasgow, Scotland Human settlement in ScotlandCrookstonScottish Gaelic: Baile CruicScots: CruixtounCrookston Bowling ClubCrookstonLocation within GlasgowOS grid referenceNS518636Council areaGlasgow City CouncilLieutenancy areaGlasgowCountryScotlandSovereign stateUnited KingdomPost townGLASGOWPostcode districtG52 3 / G53 7Dialling code0141PoliceScotlandFireScottishAmbulanceScottish UK ParliamentGlasgow South WestScottish ParliamentGlasgow ...
Ancient and contemporary legal tradition of China For the current legal system in force in China, see Law of Taiwan and Law of the People's Republic of China. This article has an unclear citation style. The references used may be made clearer with a different or consistent style of citation and footnoting. (September 2009) (Learn how and when to remove this template message) Court room in the People's Republic of China Politics of China Leadership Leadership generations Succession of power Hu...
The Church of Jesus Christ of Latter-day Saints in AngolaAreaAfrica SouthMembers4,760 (2022)[1]Stakes1Districts1Wards8Branches11Total Congregations[2]19Missions1Family History Centers1[3] The Church of Jesus Christ of Latter-day Saints in Angola refers to the Church of Jesus Christ of Latter-day Saints and its members in Angola. The first branch (small congregation) was organized in 1996 with fewer than 100 members. As of 2022, there were 4,760 members in 19 congregati...
Japanese light novel series Demon King DaimaoCover of the first volume of Ichiban Ushiro no Dai Maō by Hobby Japanいちばんうしろの大魔王(Ichiban Ushiro no Dai Maō)GenreScience Fantasy, harem Light novelWritten byShōtarō MizukiIllustrated bySouichi ItōPublished byHobby JapanEnglish publisherJ-Novel ClubImprintHJ BunkoDemographicMaleOriginal runFebruary 1, 2008 – March 29, 2014Volumes13 MangaWritten byShōtarō MizukiIllustrated bySouichi ItōPublished...
Hong Kong TV series or program Family ManPromo poster絕世好爸GenreModern Drama, Romance, ComedyCreated byHong Kong Television Broadcasts LimitedStarringPaul ChunFlora ChanMoses ChanSonija Kwok Michael Tong Jay Lau Edmond So Myolie WuOpening themeWarmth 暖流 by Flora Chan & William SoEnding themeClay Figure 泥公仔 by Flora Chan Fated Person 有緣人 by Flora ChanCountry of originHong KongOriginal languageCantoneseNo. of episodes20ProductionProducerMui Siu-chingRunning time45...
New Mexico stadium Aggie Memorial StadiumView from southeast corner in 2015Las CrucesLocation in the United StatesShow map of the United StatesLas CrucesLocation in New MexicoShow map of New MexicoAddressStewart St & Payne StLocationNew Mexico State UniversityLas Cruces, New Mexico, U.S.Coordinates32°16′47″N 106°44′28″W / 32.27972°N 106.74111°W / 32.27972; -106.74111OwnerNew Mexico State UniversityOperatorNew Mexico State UniversityC...