PageSourceSearch

https://docsopensource.github.io/assets/js/2e23a850.561a76e6.js

js docsopensource.github.io collected 2026-10-03 09:03:04 UTC 8,570 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkgwoc_open_source=self.webpackChunkgwoc_open_source||[]).push([[2364],{3905:function(e,t,n){n.d(t,{Zo:function(){return u},kt:function(){return h}});var o=n(7294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var l=o.createContext({}),c=function(e){var t=o.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},u=function(e){var t=c(e.components);return o.createElement(l.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},d=o.forwardRef((function(e,t){var n=e.components,r=e.mdxType,a=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),d=c(n),h=r,f=d["".concat(l,".").concat(h)]||d[h]||p[h]||a;return n?o.createElement(f,s(s({ref:t},u),{},{components:n})):o.createElement(f,s({ref:t},u))}));function h(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=n.length,s=new Array(a);s[0]=d;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i.mdxType="string"==typeof e?e:r,s[1]=i;for(var c=2;c<a;c++)s[c]=n[c];return o.createElement.apply(null,s)}return o.createElement.apply(null,n)}d.displayName="MDXCreateElement"},8914:function(e,t,n){n.r(t),n.d(t,{frontMatter:function(){return i},contentTitle:function(){return l},metadata:function(){return c},toc:function(){return u},default:function(){return d}});var o=n(7462),r=n(3366),a=(n(7294),n(3905)),s=["components"],i={sidebar_position:1},l=void 0,c={unversionedId:"Popular_Projects/Tensorflow",id:"Popular_Projects/Tensorflow",isDocsHomePage:!1,title:"Tensorflow",description:"What is Tensorflow",source:"@site/docs/Popular_Projects/6._Tensorflow.md",sourceDirName:"Popular_Projects",slug:"/Popular_Projects/Tensorflow",permalink:"/docs/Popular_Projects/Tensorflow",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"CNCF",permalink:"/docs/CNCF Projects/5.41_CNCF"},next:{title:"About NPM",permalink:"/docs/Popular_Projects/6.1_npm"}},u=[{value:"What is Tensorflow",id:"what-is-tensorflow",children:[],level:2},{value:"How TensorFlow Works",id:"how-tensorflow-works",children:[],level:2},{value:"TensorFlow Architecture",id:"tensorflow-architecture",children:[],level:2},{value:"Where can Tensorflow run?",id:"where-can-tensorflow-run",children:[],level:2},{value:"Advantages of Tensorflow",id:"advantages-of-tensorflow",children:[],level:2},{value:"TensorFlow Components",id:"tensorflow-components",children:[{value:"Tensor",id:"tensor",children:[],level:3},{value:"Graphs",id:"graphs",children:[],level:3}],level:2},{value:"TensorFlow Algorithms",id:"tensorflow-algorithms",children:[],level:2}],p={toc:u};function d(e){var t=e.components,n=(0,r.Z)(e,s);return(0,a.kt)("wrapper",(0,o.Z)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"what-is-tensorflow"},"What is Tensorflow"),(0,a.kt)("p",null,"TensorFlow is an end-to-end open-source platform for machine learning that provides a comprehensive, flexible ecosystem of tools, libraries, and community resources that allows researchers and developers to build and deploy ML-powered a
1pplications easily."),(0,a.kt)("img",{width:"447",alt:"Screenshot 2021-10-04 at 9 34 53 PM",src:"https://user-images.githubusercontent.com/84470487/135885372-c28d3996-f834-4da8-8725-52f072b83e21.png"}),(0,a.kt)("h2",{id:"how-tensorflow-works"},"How TensorFlow Works"),(0,a.kt)("p",null,"It enables you to build dataflow graphs and structures which defines how the data moves through the graph by taking inputs as a multi-dimensional array called as Tensor. It helps you in constructing a flowchart of operations which are performed on the inputs at one end and it comes out from the other end as the output. It is called TensorFlow because the tensor flows through a list of operations, and then it comes out from the other side as the output."),(0,a.kt)("h2",{id:"tensorflow-architecture"},"TensorFlow Architecture"),(0,a.kt)("p",null,"Tensorflow architecture works in three parts:"),(0,a.kt)("p",null,"Preprocessing the data\nBuild the model\nTrain and estimate the model"),(0,a.kt)("h2",{id:"where-can-tensorflow-run"},"Where can Tensorflow run?"),(0,a.kt)("p",null,"Depending on hardware and software requirements tensorflow can be classified into:"),(0,a.kt)("ol",null,(0,a.kt)("li",{parentName:"ol"},(0,a.kt)("p",{parentName:"li"},"Development Phase: In the development phase you train the model and it is done on your laptop or desktop usually.")),(0,a.kt)("li",{parentName:"ol"},(0,a.kt)("p",{parentName:"li"},"Run Phase or Inference Phase: After the training is done it can be run on many different platforms such as Windows, macOS or Linux , cloud as a web service and on iOS and Android mobile devices. It can be trained on multiple machines and can be run on a machine which is different from the one on which you trained the model. It can be trained and used on GPUs as well as CPUs."))),(0,a.kt)("h2",{id:"advantages-of-tensorflow"},"Advantages of Tensorflow"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"Easy model building"),(0,a.kt)("li",{parentName:"ul"},"Robust ML production anywhere"),(0,a.kt)("li",{parentName:"ul"},"Powerful experimentation for research"),(0,a.kt)("li",{parentName:"ul"},"You can also use it for javascript, mobile and IoT devices as well")),(0,a.kt)("h2",{id:"tensorflow-components"},"TensorFlow Components"),(0,a.kt)("h3",{id:"tensor"},"Tensor"),(0,a.kt)("p",null,"In Tensorflow, all the computations use tensors. A tensor is a vector (1-d array )or matrix of n-dimensions which represents all kinds of data. All the values in a tensor have the same data type with a known shape. The dimensionality of the matrix shape of the data.A tensor can also be formed by using input data or the result of a computation."),(0,a.kt)("p",null,"A tensor consists of a node and an edge. The node consists of the mathematical operation and it produces an endpoint outputs. The edges are used for describing the relationship between input/output nodes."),(0,a.kt)("h3",{id:"graphs"},"Graphs"),(0,a.kt)("p",null,"TensorFlow uses a graph framework and it conducts all the operations inside the graph. It is a set of computation which takes place one after another. Here each operation is called as an op node and they are connected to each other. But the graph does not display any values.\nThe graph collects and describes all the series computations which are done during the training."),(0,a.kt)("p",null,"Advantages of graphs:"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"It can run on multiple CPUs or GPUs and even on mobile operating system"),(0,a.kt)("li",{parentName:"ul"},"It is portable,due to which it can be saved and executed in the future."),(0,a.kt)("li",{parentName:"ul"},"We can perform computations in a graph by connecting the tensors.")),(0,a.kt)("h2",{id:"tensorflow-algorithms"},"TensorFlow Algorithms"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"Linear regression: tf.estimator.LinearRegressor"),(0,a.kt)("li",{parentName:"ul"},"Classification:tf.estimator.LinearClassifier"),(0,a.kt)("li",{parentName:"ul"},"Deep learning classification: tf.estimator.DNNClassifier"),(0,a.kt)("li",{parentName:"ul"},"Deep learning wipe and deep: tf.estimator.DNNLinearCombinedClassifier"),(0,a.kt)("li",{parentName:"ul"},"Booster tree regression: tf.estimator.BoostedTreesRegressor"),(0,a.kt)("li",{parentName:"ul"},"Boosted tree classification: tf.estimator.BoostedTreesClassifier")))}d.isMDXComponent=!0}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.