MindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios.
4.3k
stars
711
forks
source link
Mindspore.nn.Conv2d lacks checks on convolutional kernel shapes #291
Open
PhyllisJi opened 5 months ago
Software Environment:
Describe the current behavior
This layer works fine even with incorrect parameter settings in model-implemented code, and crashes if run on its own.
Describe the expected behavior
The convolution kernel size needs to be checked and inappropriate parameter settings need to be thrown as an exception in advance.
Steps to reproduce the issue
Related log / screenshot
Special notes for this issue