Tensorflow Quickstart

Vishal Thakur
Dec 13, 2022

--

TensorFlow is an end-to-end open source platform for machine learning.

In this post, we look at how to quickly get started with Tensorflow.

  1. Install Tensorflow

This quickstart is based on MacOS but should work on any OS.

Before you start, you need to have Python3 installed. Once you have that covered, you can start with the command below:

$ pip3 install tensorflow

The command above will start the process of downloading and installing Tensorflow:

Once installed, you should see something like this:

2. Confirm installation

To confirm the installation, create a test python script as below and run it.

import tensorflow as tf
print("TensorFlow version:", tf.__version__)

If your installation was successful, you should see a result similar to the one below:

3. Build an application

This step will be covered in a future post.

--

--

Vishal Thakur
Vishal Thakur

Written by Vishal Thakur

DFIR enthusiast. Founder of HCKSYD. Founder of Security BSides Sydney Australia. Malware Analyst.