Q9
Single choice
When you use MindSpore to execute the following code, which of the following is the output?
from mindspore import ops
import mindspore
shape = (2, 2)
ones = ops.Ones()
output = ones(shape, dtype=mindspore.float32)
print(output)