Tensor(size) <- Create tensor of certain size t = torch.zeros(3,2) ... Tensor( 3,4 ) t.normal_() t.sum() # Tensor.sum( dim=-1 ) <- Compute sum t.sum(0) ...
確定! 回上一頁