Solved. Solution link:

  
      github.com/pytorch/pytorch
  
  
    



Issue: RuntimeError: Expected tensor's dynamic type to be Variable, not Tensor 306


	
	opened by back2yes
	on 2018-03-29
	
	
	closed by back2yes
	on 2018-03-30
	


I am writing an cpp extension, where I need to create a new variable within the cpp function.
This is my code...


 	cpp-extensions