xnn.common.deploy.step_graph.plan_core#

xnn.common.deploy.step_graph.plan_core(model)[source]#

The submodule of model that records step plans, or None.

Parameters:

model (torch.nn.Module) – A model, possibly wrapped.

Returns:

The first submodule with a plan_step method.

Return type:

torch.nn.Module or None