github.com/pytorch/pytorch
  
  
    
  
	  
  

  
    
      Will the Jit support typehint OPTIONAL or UNION? 16
    

    
      
        opened 
        
          
        
        Jul 26, 2019
      
      

        
          closed 
        
          
        
        Jul 26, 2019
      
        

      
        
          
          NeilWangziyu
        
      
    
  



  ❓ Questions and Help
Will the Jit support typehint OPTIONAL or UNION?
As the title indicates, will jit support we use UNION and...



    jit


  
  
    
    
  
  



  
    
    
    [JIT] [Mobile] Is isinstance() supposed to work with TorchScript jit
  
  
    This returns None but anyway I haven’t looked for that functionality 
  


any workaround?