Lyken17 commented on pull request #10459:
URL: https://github.com/apache/tvm/pull/10459#issuecomment-1057639428


   Thanks for the quick fix. How about also adding the type infer in python 
side?
   
   
https://github.com/apache/tvm/blob/8f6fa8f2c41406cb54d01647ba8731e4ceb8f4ab/python/tvm/relay/op/_tensor_grad.py#L417-L440
   
   ```
       if attrs.out_dtype == "":
           out_dtype = data.checked_type.dtype
       backward_data = _nn.conv2d_transpose(
           grad,
           weight,
           strides=attrs.strides,
           padding=attrs.padding,
           dilation=attrs.dilation,
           groups=attrs.groups,
           output_padding=output_padding,
           out_dtype=out_dtype,
       )
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

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


Reply via email to