RunTimeError for dimension specs #1870
              
                
                  
                  
                    Answered
                  
                  by
                    ksivaman
                  
              
          
                  
                    
                      harrismathew
                    
                  
                
                  asked this question in
                Q&A
              
            -
| I'm getting the following error when trying to compile my model with fp32 inputs. What does it mean? My model requires two inputs of the same shape and size. My forward method simply looks something like:  | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            ksivaman
          
      
      
        May 1, 2023 
      
    
    Replies: 1 comment
-
| Even if the sizes are same you'll still have to specify shapes for both inputs, I believe something like this would work  | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        harrismathew
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Even if the sizes are same you'll still have to specify shapes for both inputs, I believe something like this would work