[go: up one dir, main page]

0% found this document useful (0 votes)
6 views3 pages

TF Basics

Uploaded by

vikas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views3 pages

TF Basics

Uploaded by

vikas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

TF:

1. TensorFlow is the second machine learning framework that Google created and used
to design, build, and train deep learning models. You can use the TensorFlow
library do to numerical computations, which in itself doesn’t seem all too special,
but these computations are done with data flow graphs. In these graphs, nodes
represent mathematical operations,
while the edges represent the data, which usually are multidimensional data arrays
or tensors.

2. Tensors are similar to arrays in programming languages, but here, they are of
higher dimensions. It can be considered as a generalization of matrices that form
an n-dimensional array.

3. TensorBoard is a Graphical User Interface (GUI) that is provided by TensorFlow


to help users visualize graphs, plots, and other metrics easily without having to
write a lot of code.

4.There are three main types of tensors:

Constant tensors
Variable tensors
Placeholder tensors

5. Data load into memory: Here, the data is loaded into the memory as a single
array unit. It is the easiest way to load the data.

6.There are three methods, which can be used to easily handle the condition of
overfitting when using TensorFlow:

Batch normalization
Regularization technique
Dropouts

7. Placeholder tensors are entities that provide an advantage over a regular


variable. It is used to assign data at a later point in time.

Placeholders can be used to build graphs without any prior data being present.

8. Loaders are used in TensorFlow to load, unload, and work with servable objects.
The loaders are primarily used to add algorithms and data into TensorFlow for
working.

9. tf.variable tf.placeholder
Defines values for variables that change with time Defines inputs that do not
change with time
Requires initialization when defined Does not require
initialization during defining

10. The lifetime of a variable is automatically tracked after its initialization,


using the tf.Variable.initializer operation.

11. TensorFlow PyTorch


Developed by Google Developed by Facebook
No support for runtime graph operations Provides computational graph
operations at runtime

12. Type 1 errors ---- false positive


Type 2 errors ---- false negative
13. Deep Speech is a speech-to-text engine that is open-source and uses TensorFlow

14. There are two ways a NumPy array can be converted into a tensor when working
with Python. The first one is as follows:
train.shuffle_batch()
And the second way is:
convert_to_tensor(tensor1d, dtype = tf.float64)

15. Limitations of TensorFlow:

Windows users can only access a specific set of its functionalities. This isn’t the
case with Linux users
Support for Open Computing Language (OpenCL) is not available yet.
TensorFlow receives regular updates. Hence, a user needs to periodically
uninstall/reinstall it to keep up with

16. Tensors are multi-dimensional arrays with a uniform datatype and are immutable

1. Scalar: A scalar is a rank-0 tensor that holds a single value and has no
axes.
2. Vector: Vector is a rank-1 tensor, more like a list of values, and has one
axis.
3. Matrix: A matrix is a “rank-2” tensor with two axes.

You might also like