gunpowder /ˈgʌnpaʊdə/
gunpowder /ˈgʌnpaʊdə/
ndarray对象实例a,代码如下:import numpy as npa = np.array([[0, 1, 2, 3, 4], [9, 8, 7, 6, 5]])a.shape的执行结果是什么?
ndarray对象实例a,代码如下:import numpy as npa = np.array([[0, 1, 2, 3, 4], [9, 8, 7, 6, 5]])a.shape的执行结果是什么?
根据导数的定义,直接求下列函数的导数:[tex=1.5x1.357]npa8WdY/rCVKhyMfyBnoRg==[/tex]
根据导数的定义,直接求下列函数的导数:[tex=1.5x1.357]npa8WdY/rCVKhyMfyBnoRg==[/tex]
有如下语句:import numpy as npA=np.arange(12)可生成数组[1,2,3,4,5,6,7,8,9,10,11,12]
有如下语句:import numpy as npA=np.arange(12)可生成数组[1,2,3,4,5,6,7,8,9,10,11,12]
证明如果[tex=0.571x0.786]c5VsltFnl9nO0qB/vNKOWA==[/tex]是无理数且[tex=2.429x1.143]MyprOvBeXYlYFJSZfLbiTA==[/tex],则[tex=1.5x1.357]npa8WdY/rCVKhyMfyBnoRg==[/tex]是无理数。
证明如果[tex=0.571x0.786]c5VsltFnl9nO0qB/vNKOWA==[/tex]是无理数且[tex=2.429x1.143]MyprOvBeXYlYFJSZfLbiTA==[/tex],则[tex=1.5x1.357]npa8WdY/rCVKhyMfyBnoRg==[/tex]是无理数。
有如下语句:import numpy as npA=np.arange(12) .reshape(3,4)则A[1]的值是[0,1,2,3]
有如下语句:import numpy as npA=np.arange(12) .reshape(3,4)则A[1]的值是[0,1,2,3]
中国大学MOOC: 哪个是下面代码的运行结果?import numpy as npa = np.arange(12).reshape((3,4))print(a.mean())
中国大学MOOC: 哪个是下面代码的运行结果?import numpy as npa = np.arange(12).reshape((3,4))print(a.mean())
有如下语句:import numpy as npA=np.arange(12) .reshape(3,4)则A[:,1]的值是__1__注意答案不要有空格
有如下语句:import numpy as npA=np.arange(12) .reshape(3,4)则A[:,1]的值是__1__注意答案不要有空格
执行下列程序段后,得到的结果是 。import tensorflow as tfimport numpy as npa = tf.constant(np.arange(48).reshape(3,2,4,2))b =tf.random.shuffle(a)c = tf.constant(np.arange(8).reshape(2,4))d =[email protected](d.sh A: (3, 2, 2, 2) B: (3, 2, 4, 4) C: (3, 4, 4, 2) D: (3, 4, 4)
执行下列程序段后,得到的结果是 。import tensorflow as tfimport numpy as npa = tf.constant(np.arange(48).reshape(3,2,4,2))b =tf.random.shuffle(a)c = tf.constant(np.arange(8).reshape(2,4))d =[email protected](d.sh A: (3, 2, 2, 2) B: (3, 2, 4, 4) C: (3, 4, 4, 2) D: (3, 4, 4)
执行下面的程序段后,数组c的形状是:_____。import numpy as npa=np.arange(5).reshape(-1,1)b=a+1c=b.reshape(-1)c.shape A: (5, 1) B: (1, 5) C: (5, ) D: (5,2)
执行下面的程序段后,数组c的形状是:_____。import numpy as npa=np.arange(5).reshape(-1,1)b=a+1c=b.reshape(-1)c.shape A: (5, 1) B: (1, 5) C: (5, ) D: (5,2)