DPL302_-_FE_-_SU_2023_466.webp
Q

DPL302_-_FE_-_SU_2023_466.webp

OD
(Choose 1 answer)
Consider the two following random arrays "a" and "b":
a = np.random.randn(2, 3) # a.shape = (2, 3)
b = np.random.randn(2, 1) # b.shape = (2, 1)
c = a + b
What will be the shape of "c"?
A. c.shape = (3, 2)
B. c.shape = (2, 1)
C. The computation cannot happen because the sizes don't match. It's going to be "Error"!
D. c.shape = (2, 3)

Exit 49

Thông tin

Category
DPL302m
Thêm bởi
Quang Thái
Ngày thêm
Lượt xem
755
Lượt bình luận
2
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
DPL302_-_FE_-_SU_2023_466.webp
File size
50 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom