Performs the element-wise division of self by tensor
.
The number of elements must match, but sizes do not matter.
> x = torch.Tensor(2,2):fill(1)
> y = torch.Tensor(4)
> for i=1,4 do y[i] = i end
> x:cdiv(y)
> = x
1.0000 0.3333
0.5000 0.2500
[torch.Tensor of dimension 2x2]