MCPcopy Create free account
hub / github.com/MTLab/MorphMLP / _get_model_analysis_input

Function _get_model_analysis_input

slowfast/utils/misc.py:78–134  ·  view source on GitHub ↗

Return a dummy input for model analysis with batch size 1. The input is used for analyzing the model (counting flops and activations etc.). Args: cfg (CfgNode): configs. Details can be found in slowfast/config/defaults.py use_train_input (bool): if True,

(cfg, use_train_input)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

get_model_statsFunction · 0.85

Calls 1

pack_pathway_outputFunction · 0.90

Tested by

no test coverage detected