<jupyter_start><jupyter_text>First Graph<jupyter_code>import numpy as np
import tensorflow as tf<jupyter_output><empty_output><jupyter_text>Simple Arithmatic<jupyter_code>x1 = tf.placeholder(tf.float32)
x2 = tf.placeholder(tf.float32)

sum_op = tf.add(x1,x2)
product_op = tf.multiply(x1,x2)
with tf.Session() as session:
    sum_result = session.run(sum_op,feed_dict={x1:2.0,x2:0.5})
    product_result = session.run(product_op,feed_dict={x1:2.0,x2:0.5})
sum_result
product_result<jupyter_output><empty_output><jupyter_text>Simple Array Arithmatic<jupyter_code>with tf.Session() as session:
    sum_result = session.run(sum_op,feed_dict={x1:[2.0,2.0,2.0],x2:[0.5,1,2]})
    product_result = session.run(product_op,feed_dict={x1:[2.0,1.2,3.4],x2:0.5})
sum_result
product_result<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1513647642679901, 'fraction_numerical': 0.05459057071960298, 'mean_word_length': 8.275862068965518, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '368981', 'license': 'MIT', 'n_tokens_mistral': 355, 'n_tokens_neox': 349, 'n_words': 38, 'path': 'TFLiveLessons/first tensorflow graph.ipynb', 'repo_name': 'anilkumarpanda/deeplearning', 'size': '806'}