以下代码的输出结果为()import tensorflow as tf a = tf.constant(2)b = tf.constant(3)c = tf.add(a, b) print(c) with tf.Session() as sess: print(sess.run(c))
- 首页
- 公共卫生执业医师
-
1.以下代码的输出结果为()import tensorflow as tf a = tf.constant(2)b = tf.constant(3)c = tf.add(a, b) print(c)
-
2.import numpy as np a=np.arange(24) b=a.reshape(4,2,3) print(b.ndim) 以上代码输出结果为?
-
3.关于以下代码的说法正确的是()import tensorflow as tfimport sys print(tf.__version__)print(sys.version)
-
4.以下程序运行结果为:____ a=4 if a>3: b=a**2 else: b=a**3 print(b)
-
5.[程序题,5分] 阅读下面的代码,分析其执行结果。
-
6.写出下面代码的执行结果。
-
7.str8='a' print(str8*2)输出结果为
-
8.下面代码的输出结果是?for i in range(3): print(2, end=',')
-
9.如下代码的输出结果是( )import numpy as npn = np.arange(24).reshape(2, -1, 2, 2)print(n.shape)
-
10.import pandas as pd s=pd.Series([1,2,3],index=[2,3,1]) print(s[2]) 上述代码输出结果是( )