I think there is a mistake in the mask creation in the lab and also in the assignment (More in this thread).
The correct mask should be the one in the picture:
m_bool = create_tensor([[True, False], [True, True]])
I think there is a mistake in the mask creation in the lab and also in the assignment (More in this thread).
The correct mask should be the one in the picture:
m_bool = create_tensor([[True, False], [True, True]])