diff --git a/train/1-multiply.py b/train/1-multiply.py index 33c9844..335a9a3 100644 --- a/train/1-multiply.py +++ b/train/1-multiply.py @@ -4,7 +4,7 @@ def run_training(): x = tf.placeholder("float") # Create a placeholder 'x' w = tf.Variable(5.0, name="weights") - y = tf.mul(w, x) + y = tf.multiply(w, x) with tf.Session() as sess: # Add the variable initializer Op. @@ -18,4 +18,4 @@ def main(_): run_training() if __name__ == '__main__': - tf.app.run() \ No newline at end of file + tf.app.run() diff --git a/train/2-input.py b/train/2-input.py index 43e87ba..9502018 100644 --- a/train/2-input.py +++ b/train/2-input.py @@ -15,7 +15,7 @@ def run_training(): x = tf.placeholder("float") # Create a placeholder 'x' w = tf.Variable(5.0, name="weights") - y = tf.mul(w, x) + y = tf.multiply(w, x) with tf.Session() as sess: # Add the variable initializer Op. @@ -38,4 +38,4 @@ def main(_): run_training() if __name__ == '__main__': - tf.app.run() \ No newline at end of file + tf.app.run() diff --git a/train/3-output.py b/train/3-output.py index a277197..dc52ca3 100644 --- a/train/3-output.py +++ b/train/3-output.py @@ -10,7 +10,7 @@ def run_training(): x = tf.placeholder("float") # Create a placeholder 'x' w = tf.Variable(5.0, name="weights") - y = tf.mul(w, x) + y = tf.multiply(w, x) with tf.Session() as sess: # Add the variable initializer Op. @@ -29,4 +29,4 @@ def main(_): run_training() if __name__ == '__main__': - tf.app.run() \ No newline at end of file + tf.app.run()