torch.from_numpy() requires a numpy array as an argument , but what you are giving it is a float value.
First you need to convert your float value to an numpy array , which can be done like this :
A = 0.85210
A = numpy.array([A])

B = torch.autograd.Variable(torch.from_numpy(A))

This should work.