Skip to content

DnnOptimizer

DnnOptimizer

softneuro.core.DnnOptimizer(prof=None)

DnnOptimizer class which searches for the optimal routines and parameters from the profiling data (DnnProf), and creates DnnPlan.

Attributes

  • prof: DnnProf object required for optimization.
  • plan: DnnPlan object created by optimization.

optimize

DnnOptimizer.optimize()

Optimizes the Dnn and creats the DnnPlan.