INNER CODE UNIT · Python
expected_output
nfmcclure/tensorflow_cookbook · 01_Introduction/05_Declaring_Operations/05_operations.py:42
expected_output = [3*x*x-x+10 for x in test_nums]
print(expected_output)
# TensorFlow custom function output
for num in test_nums:
print(sess.run(custom_polynomial(num)))