Skip to main content

ReLU6

ReLU6()

ReLU capped at 6: clamp(input, 0, 6).

The module form of clika_runtime.nn.functional.relu6: construct it once, then call it like a function.

__init__​

__init__(self) -> 'None'

Initialize self. See help(type(self)) for accurate signature.

forward​

forward(self, input: 'Tensor') -> 'Tensor'

forward(input) -> Tensor

Runs clika_runtime.nn.functional.relu6 on input; returns a new tensor.