The new() method is deprecated.

  
      github.com/pytorch/pytorch
  
  
    



Issue: [docs] Tensor.new is not documented 99


	
	opened by shekhovt
	on 2017-11-28
	
	
	closed by soumith
	on 
	


Docs master has in http://pytorch.org/docs/master/tensors.html:
new(*args, **kwargs)
Constructs a new tensor of the same data type.
Missing documentation of arguments. From some other pages...




  
  
    
    
  
  


What is the new alternative for this use case?