Skip to content

DnnPlan

DnnPlan

softneuro.core.DnnPlan(*args, **kwargs)

DnnPlan class created by DnnOptimizer. DnnPlan composes DnnRecipe.

This is a private class of softneuro, instance can not be constructed directly.

Attributes

  • usec: Processing time (usec).

find_layer_plan

DnnPlan.find_layer_plan(layer)

Finds the layer plan.

Arguments

  • layer: DnnLayer object to be planned.

Returns

Type : DnnLayerPlan,if found else NULL.


find_net_plan

DnnPlan.find_net_plan(net)

Finds the net plan.

Arguments

  • net: DnnNet object to be planned.

Returns

Type : DnnNetPlan,if found else NULL.