Is this mask right?
They should be zeros under the diagonal,right?
and the boolean version should be create_tensor([[True,False],[[True,True]], right?
and the boolean version should be create_tensor([[True,False],[[True,True]], right?
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]])
Thank you so much for your answer!