masahi commented on pull request #10439: URL: https://github.com/apache/tvm/pull/10439#issuecomment-1056691758
We can update https://github.com/apache/tvm/blob/be176974a03b6f7e69fee2186f3847d9c092c546/src/relay/op/nn/convolution.cc#L1803 to ``` const auto dw_dtype = (param->out_dtype == DataType() or param->out_dtype.is_void()) ? grad->dtype : param->out_dtype; ``` I don't know why the default out dtype is `void`... but this should do the job. Welcome to send a PR. -- 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]
