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

Function plot_topk_histogram

slowfast/visualization/utils.py:92–155  ·  view source on GitHub ↗

Plot histogram of top-k value from the given array. Args: tag (str): histogram title. array (tensor): a tensor to draw top k value from. k (int): number of top values to draw from array. Defaut to 10. class_names (list of strings, optional):

(tag, array, k=10, class_names=None, figsize=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected