-
-
Notifications
You must be signed in to change notification settings - Fork 53
Check dimensions of input tensors before executing plans #167
Copy link
Copy link
Open
Labels
Priority: 3 - Medium 😒Should be fixed soon, but there may be other pressing matters that come firstShould be fixed soon, but there may be other pressing matters that come firstSeverity: 3 - Medium 😒Does not cause a failure, impair usability, or interfere with the systemDoes not cause a failure, impair usability, or interfere with the systemStatus: Available 👋Available for assignment, who wants it?Available for assignment, who wants it?Type: Improvement 📈Performance improvement not introducing a new feature or requiring a major refactorPerformance improvement not introducing a new feature or requiring a major refactor
Milestone
Metadata
Metadata
Assignees
Labels
Priority: 3 - Medium 😒Should be fixed soon, but there may be other pressing matters that come firstShould be fixed soon, but there may be other pressing matters that come firstSeverity: 3 - Medium 😒Does not cause a failure, impair usability, or interfere with the systemDoes not cause a failure, impair usability, or interfere with the systemStatus: Available 👋Available for assignment, who wants it?Available for assignment, who wants it?Type: Improvement 📈Performance improvement not introducing a new feature or requiring a major refactorPerformance improvement not introducing a new feature or requiring a major refactor
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?