[PYTHON] Introduction to TensorFlow --Hello World Edition

Build TensorFlow environment using Docker

docker run -it -p 8888:8888 --name tensorflow gcr.io/tensorflow/tensorflow

Connect to container

docker exec -it tensorflow /bin/bash

Required package installation

apt-get update
apt-get install -y vim wget

Hello World output with reference to Tutorial

#python
>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
>>> print(sess.run(hello))
Hello, TensorFlow!
>>> a = tf.constant(10)
>>> b = tf.constant(32)
>>> print(sess.run(a + b))
42
>>> quit

Recommended Posts

Introduction to TensorFlow --Hello World Edition
Introduction to Ansible Part 1'Hello World !!'
Introduction to python-Environmental preparation (mac edition)
Hello world
Introduction to Deep Learning ~ Dropout Edition ~
Introduction to Python Django (2) Mac Edition
Hello World with Raspberry Pi + Minecraft Pi Edition
How to build Hello, World on #Nix
Probably the most straightforward introduction to TensorFlow
Beginners read "Introduction to TensorFlow 2.0 for Experts"
Flask tutorial (from installation to hello world)
Introduction to Machine Learning-Hard Margin SVM Edition-
How to display Hello world in python
Introduction to MQTT (Introduction)
Introduction to Scrapy (1)
Introduction to Scrapy (3)
Introduction to Supervisor
Introduction to Tkinter 1: Introduction
Pymacs hello world
Introduction to PyQt
Introduction to Scrapy (2)
[Linux] Introduction to Linux
Introduction to Scrapy (4)
Introduction to discord.py (2)
cython hello world
Introduction to discord.py
From Kivy environment construction to displaying Hello World
Say hello to the world with Python with IntelliJ
[Introduction to TensorBoard] Visualize TensorFlow processing to deepen understanding
To myself as a Django beginner (3)-Hello world! ---
Introduction to Lightning pytorch
Introduction to Web Scraping
hello world with ctypes
Introduction to Nonparametric Bayes
Introduction to EV3 / MicroPython
RabbitMQ Tutorial 1 ("Hello World!")
Introduction to Python language
Introduction to TensorFlow-Image Recognition
RaspberryPi3 (STRETCH) setup from OS installation to Hello World
Introduction to OpenCV (python)-(2)
Introduction to PyQt4 Part 1
Hello, World with Docker
From running MINST on TensorFlow 2.0 to visualization on TensorBoard (2019 edition)
Hello World on Django
Introduction to Dependency Injection
Introduction to Private Chainer
[Introduction to RasPi4] Environment construction; OpenCV / Tensorflow, Japanese input ♪
Django's first Hello World
Hello world with flask
Introduction to machine learning
[Introduction to TensorBoard: image] TensorFlow Visualize image processing to deepen understanding
[Explanation for beginners] Introduction to convolution processing (explained in TensorFlow)
[Explanation for beginners] Introduction to pooling processing (explained in TensorFlow)
20200329_Introduction to Data Analysis with Python Second Edition Personal Summary
From setting up a Rust environment to running Hello World
RabbitMQ Tutorial (1) -From Installation to Hello World (Official Site Translation)
[Introduction to Tensorflow] Understand Tensorflow properly and try to make a model
Introduction to Socket API Learned in C Part 2 Client Edition
python / tensorflow beginners build jupyter + tensorflow environment and do Hello World
AOJ Introduction to Programming Topic # 1, Topic # 2, Topic # 3, Topic # 4
Introduction to electronic paper modules