EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Free Courses
  • Certification Courses
  • 360+ Courses All in One Bundle
  • Login
Home Data Science Data Science Tutorials TensorFlow Tutorial Introduction to Tensorflow
Secondary Sidebar
TensorFlow Tutorial
  • Basics
    • Introduction to Tensorflow
    • What is TensorFlow?
    • Tensorflow Basics
    • TensorFlow Architecture
    • TensorFlow Versions
    • How to Install TensorFlow
    • Caffe TensorFlow
    • Tensorflow Image Classification
    • TensorFlow Playground
    • TensorFlow RNN
    • TensorFlow Models
    • TensorBoard
    • TensorFlow Debugging
    • TensorFlow vs Keras
    • Tensorflow LSTM
    • TensorFlow Probability
    • TensorFlow Session
    • TensorFlow Dataset
    • TensorFlow Reshape
    • TensorFlow estimator
    • TensorFlow Keras Model
    • TensorFlow Load Model
    • tensorflow transformer
    • tensorflow extended
    • tensorflow flatten
    • TensorFlow OpenCL
    • TensorFlow APIs
    • Tensorflow concatenate
    • Tensorflow variable
    • TensorFlow normalize
    • TensorFlow save model
    • TensorFlow placeholder
    • TensorFlow shape
    • TensorFlow Adam optimizer
    • TensorFlow dense
    • Tensorflow Quantum
    • TensorFlow Layers
    • TensorFlow Distributed
    • TensorFlow Profiler
    • TensorFlow Metrics
    • TensorFlow Transpose
    • TensorFlow Tensor To Numpy
    • TensorFlow Quantization
    • TensorFlow Regression
    • TensorFlow argmax
    • TensorFlow Federated
    • TensorFlow gather
    • TensorFlow Random Forest
    • Tensorflow sequential
    • TensorFlow expand_dims

Related Courses

TensorFlow Training Course

Machine Learning Courses

Artificial Intelligence Training Course

Introduction to Tensorflow

By Priya PedamkarPriya Pedamkar

Introduction to Tensorflow

Introduction to Tensorflow

TensorFlow is one of the most popularly used open-source libraries originally developed by Google, which performs numerical computation using data flow graphs. In the era of Artificial Intelligence, TensorFlow comes with strong support for both machine and deep learning. Python-based can run deep neural networks for image recognition, word embedding, handwritten digit classification, and creation of various sequence models. Its flexible architecture allows easy deployment of computation across various platforms like CPUs, GPUs(Graphics Processing Unit), and clusters of servers. TensorFlow can be used to create algorithms to visualize objects and train a machine to recognize the object. It can also use the data to understand the patterns and behavior from large datasets and deploy sentiment analysis models. As Machine Learning has wide use nowadays, many organizations are using Tensorflow.

df1

Start Your Free Data Science Course

Hadoop, Data Science, Statistics & others

Main Components of Tensorflow

In the above section, we have studied Introduction to TensorFlow; Now, we are going ahead with TensorFlow’s main components. Tensors are the main components in TensorFlow. They are defined as a multidimensional array or list, which are the TensorFlow language’s basic data structures. The connecting edges in any flow diagram, called the Data Flow Graph, are Tensors. These are multi-linear maps which can be anything from vector spaces to real numbers. So a tensor can be a scalar or vector, or matrix.TensorFlow programs are usually structured into a construction phase that assembles a graph and an execution phase that uses a session to execute.

The following three parameters identify tensors:

All in One Data Science Bundle(360+ Courses, 50+ projects)
Python TutorialMachine LearningAWSArtificial Intelligence
TableauR ProgrammingPowerBIDeep Learning
Price
View Courses
360+ Online Courses | 50+ projects | 1500+ Hours | Verifiable Certificates | Lifetime Access
4.7 (86,171 ratings)

1. Rank

The unit of dimensionality described within the tensor is called a rank. It identifies the number of dimensions of the tensor.

2. Shape

The number of rows and columns together define the shape of the Tensor.

3. Type

The type describes the data type assigned to Tensor’s elements.

For building a Tensor, we need to consider building an n-dimensional array and converting the n-dimensional array. The various dimensions in the introduction to TensorFlow are as follows.

  • One Dimensional Tensor:

It is a normal array structure that includes one set of values of the same data type.

  • Two Dimensional Tensor:

For creating a two-dimensional Tensor, the sequence of arrays is used.

It is important to understand that the graph and sessions get created, managing the Tensors and generating the appropriate output. With the help of the graph, we have the output specifying the mathematical calculations between Tensors. Graphs save computation by only fetching the values we require by running the specific subgraphs, facilitate distributed computation, dividing the work across multiple devices. Also, many common machine learning models are visualized as graphs.

Characteristics of Tensorflow

As we discussed the introduction to Tensorflow, Now we are going to learn about the characteristics of Tensorflow, which are as below:

  • With TensorFlow, the visualization of the graph becomes easier as compared to other libraries like Numpy etc.
  • TensorFlow is an open-source library that offers flexibility in terms of modularity in operation.
  • Easily trainable on CPU as well as GPU for distributed computing.
  • TensorFlow provides Parallel Neural Network Training, which makes the models efficient on large-scale systems.
  • It has a feature column that helps in bridging input data with the model.
  • Provides an extensive suite of functions and classes that allow users to define models from scratch.
  • With TensorBoard, a different representation of a model can be evaluated, and the changes necessary can be made while debugging it.
  • TensorFlow separates the definition of computations from their execution.

Applications of Tensorflow

TensorFlow can build any type of Deep Learning algorithms like CNN, RNN, DBN, FeedForward Neural Network, Natural Language Processing, etc. There are several programming elements in introducing TensorFlow like Constants, Variables, Placeholders, Sessions, etc. It has a wide range of applications, some of which are mentioned below.

  • Speech Recognition Systems
  • Image/Video Recognition
  • Self Driving Cars
  • Text Summarization
  • Sentiment Analysis
  • Deep neural network for search ranking
  • Mobile image and video processing
  • Massive multitask networks for drug discovery.
  • Optical character recognition for real-time translation

Advantages And Disadvantages of Tensorflow

As we have studied the characteristics and introduction to TensorFlow now we are going to understand the advantages and disadvantages of TensorFlow are as follows :

Advantages of Tensorflow

  • The TensorFlow library comes with a suite of visualization tools – TensorBoard, for better computational graph visualizations.
  • Open-source library for complex analysis.
  • TensorFlow supports multiple client languages: JavaScript, Python,  C++, Go, Java, and Swift.
  • The advantage of seamless performance, quick updates, and frequent new releases with new features.
  • Provides a good debugging method as it executes subparts of a graph that facilitates introducing and retrieving discrete data onto an edge.
  • Libraries can be deployed on a range of hardware (cellular devices, computers with complex setups)
  • Highly parallel neural network which ensembles large distributed systems.
  • TensorFlow allows sharing a trained model easily.

Disadvantages of Tensorflow

  • TensorFlow does not offer symbolic loops, but there is a workaround using finite unfolding (bucketing).
  • Windows users need to install TensorFlow using python package library, pip, as it is more suitable for Linux users.
  • Lacks in both speed and usage when compared to its competitors.
  • Currently, the only supported GPUs are of NVIDIA.
  • The only full language support is of Python, which is a drawback as there is an increase in other languages’ number in deep learning.
  • Though TensorFlow is more powerful and better for Deep Learning but is not suitable for simpler tasks.

Recommended Articles

This has been a guide on Introduction to Tensorflow. Here we have discussed Introduction to Tensorflow with the main components, characteristics, advantages, and disadvantages of Tensorflow. You may also look at the following articles to learn more –

  1. TensorFlow vs Caffe
  2. Tensorflow vs Pytorch
  3. Python vs Groovy
  4. JavaScript vs VBScript
Popular Course in this category
TensorFlow Training (11 Courses, 3+ Projects)
  11 Online Courses |  3 Hands-on Projects |  55+ Hours |  Verifiable Certificate of Completion
4.5
Price

View Course

Related Courses

Machine Learning Training (20 Courses, 29+ Projects)4.9
Artificial Intelligence AI Training (5 Courses, 2 Project)4.8
0 Shares
Share
Tweet
Share
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Database Management
  • Machine Learning
  • All Tutorials
Certification Courses
  • All Courses
  • Data Science Course - All in One Bundle
  • Machine Learning Course
  • Hadoop Certification Training
  • Cloud Computing Training Course
  • R Programming Course
  • AWS Training Course
  • SAS Training Course

ISO 10004:2018 & ISO 9001:2015 Certified

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Data Science Course

SPSS, Data visualization with Python, Matplotlib Library, Seaborn Package

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Data Science Course

Hadoop, Data Science, Statistics & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more