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

Method __init__

slowfast/models/operators.py:35–51  ·  view source on GitHub ↗

Args: dim_in (int): the channel dimensions of the input. ratio (float): the channel reduction ratio for squeeze. relu_act (bool): whether to use ReLU activation instead of Swish (default). divisor (int): the new width should be

(self, dim_in, ratio, relu_act=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

_round_widthMethod · 0.95

Tested by

no test coverage detected