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

Function get_model_stats

slowfast/utils/misc.py:137–169  ·  view source on GitHub ↗

Compute statistics for the current model given the config. Args: model (model): model to perform analysis. cfg (CfgNode): configs. Details can be found in slowfast/config/defaults.py mode (str): Options include `flop` or `activation`. Compute either flop

(model, cfg, mode, use_train_input)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

log_model_infoFunction · 0.85

Calls 1

Tested by

no test coverage detected