Check dimensions of input tensors before executing plans #167
Labels
Priority: 3 - Medium 😒
Should be fixed soon, but there may be other pressing matters that come first
Severity: 3 - Medium 😒
Does not cause a failure, impair usability, or interfere with the system
Status: Available 👋
Available for assignment, who wants it?
Type: Improvement 📈
Performance improvement not introducing a new feature or requiring a major refactor
Milestone
Description
If the dimensions of the input tensors in the above code snippet are wrong, then syft.js throws the following error
Error: We cannot find function mul in TensorFlow.js, performing a manual lookup.
.This error message is not very intuitive.
Instead, we can check for the dimensions of the input tensors, and throw error warning the user regarding the wrong dimension.
Are you interested in working on this improvement yourself?
The text was updated successfully, but these errors were encountered: