towhee.models.utils.create_actΒΆ

Functions

create_act_layer

get_act_fn

Activation Function Factory

get_act_layer

Activation Layer Factory Fetching activation layers by name with this function allows export or torch script friendly functions to be returned dynamically based on current config.