thanks for your reply,
i tried but another error comes it is said that
temp=nd.torch.log(0.9)
log():argument ‘input’(position 1) must be Tensor, not float
i guess the calculation can not be done because i use 0.0 number as float?