Compiling The Model Loss Optimizer Metrics