import tensorflow as tf

#(tf.float32,[2,2])
input1 = tf.placeholder(tf.float32)
input2 = tf.placeholder(tf.float32)

output = tf.multiply(input1,input2)

with tf.Session() as sess:
    print(sess.run(output,feed_dict={input1:[7.],input2:[2.]}))



[14.]

  

相关文章:

  • 2021-11-18
  • 2022-12-23
  • 2021-12-15
  • 2021-12-22
  • 2022-01-22
  • 2021-07-12
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-20
  • 2021-09-22
  • 2022-12-23
  • 2022-01-20
  • 2022-12-23
  • 2021-11-13
相关资源
相似解决方案