TensorFlow ---A machine learning library, Summaries of Machine Learning

An overview of TensorFlow, an open-source platform for creating Machine Learning applications. It explains how TensorFlow works, its architecture, components, and graphs. It also introduces TensorBoard's Graphs dashboard, a tool for examining TensorFlow models. useful for students and learners interested in Machine Learning and TensorFlow.

Typology: Summaries

2022/2023

Available from 02/10/2023

AnushkaSur
AnushkaSur 🇮🇳

3 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
What is TensorFlow?
TensorFlowis an open-source end-to-end platform for creating
Machine Learning applications. It is a symbolic math library that
uses dataflow and differentiable programming to perform various
tasks focused on training and inference of deep neural networks.
It allows developers to create machine learning applications using
various tools, libraries, and community resources.
How TensorFlow Works
TensorFlow enables you to build dataflow graphs and structures
to define how data moves through a graph by taking inputs as a
multi-dimensional array called Tensor. It allows you to construct a
flowchart of operations that can be performed on these inputs,
which goes at one end and comes at the other end as output.
TensorFlow Architecture
Tensorflow architecture works in three parts:
Preprocessing the data
Build the model
Train and estimate the model
It is called Tensorflow because it takes input as a multi-
dimensional array, also known astensors. You can construct a
sort offlowchartof operations (called a Graph) that you want to
perform on that input. The input goes in at one end, and then it
flows through this system of multiple operations and comes out
the other end as output.
This is why it is called TensorFlow because the tensor goes in it
flows through a list of operations, and then it comes out the other
side.
TensorFlow Components
pf3

Partial preview of the text

Download TensorFlow ---A machine learning library and more Summaries Machine Learning in PDF only on Docsity!

What is TensorFlow?

TensorFlow is an open-source end-to-end platform for creating Machine Learning applications. It is a symbolic math library that uses dataflow and differentiable programming to perform various tasks focused on training and inference of deep neural networks. It allows developers to create machine learning applications using various tools, libraries, and community resources.

How TensorFlow Works

TensorFlow enables you to build dataflow graphs and structures to define how data moves through a graph by taking inputs as a multi-dimensional array called Tensor. It allows you to construct a flowchart of operations that can be performed on these inputs, which goes at one end and comes at the other end as output.

TensorFlow Architecture

Tensorflow architecture works in three parts:  Preprocessing the data  Build the model  Train and estimate the model It is called Tensorflow because it takes input as a multi- dimensional array, also known as tensors. You can construct a sort of flowchart of operations (called a Graph) that you want to perform on that input. The input goes in at one end, and then it flows through this system of multiple operations and comes out the other end as output. This is why it is called TensorFlow because the tensor goes in it flows through a list of operations, and then it comes out the other side.

TensorFlow Components

Tensor

Tensorflow’s name is directly derived from its core framework: Tensor. In Tensorflow, all the computations involve tensors. A tensor is a vector or matrix of n-dimensions that represents all types of data. All values in a tensor hold identical data type with a known (or partially known) shape. The shape of the data is the dimensionality of the matrix or array. A tensor can be originated from the input data or the result of a computation. In TensorFlow, all the operations are conducted inside a graph. The graph is a set of computation that takes place successively. Each operation is called an op node and are connected to each other.

Graphs

TensorFlow makes use of a graph framework. The graph gathers and describes all the series computations done during the training. The graph has lots of advantages:  It was done to run on multiple CPUs or GPUs and even mobile operating system  The portability of the graph allows to preserve the computations for immediate or later use. The graph can be saved to be executed in the future.  All the computations in the graph are done by connecting tensors together

Examining the TensorFlow Graph

TensorBoard’s Graphs dashboard is a powerful tool for examining your TensorFlow model. You can quickly view a conceptual graph of your model’s structure and ensure it matches your intended design. You can also view a op- level graph to understand how TensorFlow understands your program. Examining the op-level graph can give you insight as to how to change your model. For example, you can redesign your model if training is progressing slower than expected. Link to check example of creation of graph : https://www.tensorflow.org/tensorboard/graphs