How to clip the outputs of a layer?

11 views
Skip to first unread message

Yi Zhu

unread,
Mar 3, 2017, 6:02:32 PM3/3/17
to Caffe Users
Hi guys,

Maybe this is already answered before, but can I clip the outputs of a layer to a certain range? 

For example, if i want the outputs to be within a range [-5,5]. How do I write a layer to handle the task? 

I know there is a threshold layer, but it outputs binary mask. Is there a better way ?

Thank you very much.

Best regards

Reply all
Reply to author
Forward
0 new messages