下列_______方法可以将张量x和y逐元素相乘。
A.tf.add(x, y)
B.tf.sub(x, y)
C.tf.multiply(x, y)
D.tf.divide(x,y)
- · 有4位网友选择 D,占比44.44%
- · 有3位网友选择 C,占比33.33%
- · 有1位网友选择 A,占比11.11%
- · 有1位网友选择 B,占比11.11%
A.tf.add(x, y)
B.tf.sub(x, y)
C.tf.multiply(x, y)
D.tf.divide(x,y)
A、tf.square(x):对x逐元素计算平方根
B、tf.pow(x, y):对x求y的幂次方
C、tf.math.log(x):计算以10为底,x的对数
D、tf.exp(x):计算x的e次方
A、import tensorflow as tf tf.exp(3)
B、import tensorflow as tf tf.exp(3.)
C、import tensorflow as tf x = tf.constant(256.) tf.log(x)
D、import tensorflow as tf x = tf.constant(78.) tf.pow(x)
A、c:[[2 3][6 11]] d:[[2 3][6 11]]
B、c:[[0 1][4 9]] d:[[2 3][6 11]]
C、c:[[0 1][4 9]] d:[[0 1][4 9]]
D、c:[[2 3][6 11]] d:[[0 1][4 9]]
A、执行语句tf.reduce_sum(a, axis=1)后,输出张量的值为[3, 12]
B、执行语句tf.reduce_mean(a)后,输出张量的值为2.5
C、执行语句tf.reduce_max(a, axis=0)后,输出张量的值为[3, 4, 5]
D、执行语句tf.reduce_min(a)后,输出张量的值为为0
A、[1 2]
B、[1 0 1]
C、[3 5 6]
D、[5 6]
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!