sahooora commented on pull request #8070:
URL: https://github.com/apache/tvm/pull/8070#issuecomment-843901916


   Thanks @gussmith23 . 
   My error which is related to custom data type has been solved.
   
   Now for the following snippet code, I get an error that is not related to 
custom data type:
   
   
   ```
   r = """
   #[version = "0.0.5"]
   def @main (%input_1: Tensor[(100, 128, 3), custom_float_st128], 
%dense/kernel:0: Tensor[(128, 6), custom_float_st128], %dense/bias:0: 
Tensor[(6), custom_float_st128], %lstm_W: Tensor[(1, 512, 3), 
custom_float_st128], %lstm_R: Tensor[(1, 512, 128), custom_float_st128], 
%lstm_B: Tensor[(1, 1024), custom_float_st128]) {
   ...
   }
   """
   module = tvm.parser.fromtext(source = r)
   ```
   
   Error:
   
   ```
   error: expected a local variable found `/`
    --> from_string:3:75
      |  
    3 |  def @main (%input_1: Tensor[(100, 128, 3), custom_float_st128], 
%dense/kernel:0: Tensor[(128, 6), custom_float_st128], %dense/bias:0: 
Tensor[(6), custom_float_st128], %lstm_W: Tensor[(1, 512, 3), 
custom_float_st128], %lstm_R: Tensor[(1, 512, 128), custom_float_st128], 
%lstm_B: Tensor[(1, 1024), custom_float_st128]) {
      |                                                                         
   ^                                                                            
                                                                                
                                                                                
       
   note: run with `TVM_BACKTRACE=1` environment variable to display a backtrace.
   ```
   
   Any idea?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to