clamp

clamp(input, min, max)

将input张量中的每个元素限制在min与max之间

min和max至少给定一个

原文地址:https://www.cnblogs.com/liujianing/p/13374496.html