Problems
HARD
Neural Network Layer Optimizer
+150 ptsLogin to Submit
AI / Machine LearningData Structures & AlgorithmsMachine LearningDynamic ProgrammingOptimization
Problem Description
Design an algorithm to optimize the layer configuration of a neural network given memory constraints and target accuracy.
Input: Available memory, target accuracy, list of possible layer configurations
Output: Optimal layer sequence
Example
Input
memory=1024MB, target_acc=0.95, layers=[{type:'conv',mem:256,acc:0.1},{type:'dense',mem:128,acc:0.05}]Output
layers: [conv,conv,dense,dense], estimated_acc: 0.96
Constraints
Time: 5s
Memory: 512MB