Searched refs:get_activation (Results 1 – 10 of 10) sorted by relevance
21 from .activation import get_activation, LeakyReLU138 … self.activation = get_activation(activation) if isinstance(activation, str) else activation229 … self.activation = get_activation(activation) if isinstance(activation, str) else activation
879 def get_activation(name, prim_name=None): function
33 from .activation import get_activation313 self.activation = get_activation(activation) if isinstance(activation, str) else activation
27 from mindspore.nn.layer.activation import get_activation117 self.activation = get_activation(activation)
30 from .activation import get_activation1448 self.activation = get_activation(activation) if isinstance(activation, str) else activation
32 relu = nn.get_activation('relu')41 relu = nn.get_activation('relu')
19 from ...layer.activation import get_activation62 self.activation = get_activation(activation)
21 from mindspore.nn.layer.activation import get_activation165 self.activation = get_activation(activation)
30 from mindspore.nn.layer.activation import get_activation368 self.activation = get_activation(activation) if isinstance(activation, str) else activation
26 from mindspore.nn.layer.activation import get_activation731 self.activation = get_activation(activation) if isinstance(activation, str) else activation