Variables with Type

import tensorflow as tf

import os

# Just disables the warning, doesn't enable AVX/FMA
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
w = tf.Variable([.2], dtype=tf.float32)
b = tf.Variable([0.11], dtype=tf.float32)
x = tf.placeholder(tf.float32)
linear_model = w*x + b
linear_model
<tf.Tensor 'add:0' shape=<unknown> dtype=float32>
# Note: variable is used with capital 'V'. However, constants and placeholders start with small case.