<jupyter_start><jupyter_text><jupyter_code>import numpy as np

import tensorflow as tf

arr = np.array([1, 5.5, 3, 1.5, 20])

sess = tf.Session()
tensor = tf.convert_to_tensor(arr,tf.float64)

print("Tensor 1")
print(tensor)
print(sess.run(tensor))
print(type(tensor))
print()

arr2 = np.array([8, 9.5, 5, 14.5, 5])
tensor2 = tf.convert_to_tensor(arr,tf.float64)

print("Tensor 2")
print(tensor2)
print(sess.run(tensor))
print(type(tensor2))
try:
    print(var1)
except NameError:
    var1 = 4<jupyter_output>4
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.058823529411764705, 'mean_word_length': 5.723684210526316, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '369197', 'license': 'MIT', 'n_tokens_mistral': 233, 'n_tokens_neox': 217, 'n_words': 43, 'path': 'CNN/Working_with_Tensors.ipynb', 'repo_name': 'Serbeld/TensorflowKeras', 'size': '510'}