
Last chance! 50% off unlimited learning
Sale ends in
Applies the hardswish function, element-wise, as described in the paper: Searching for MobileNetV3
nn_hardswish()
Input: *
means, any number of additional
dimensions
Output:
if (torch_is_installed()) {
if (FALSE) {
m <- nn_hardswish()
input <- torch_randn(2)
output <- m(input)
}
}
Run the code above in your browser using DataLab