Function caffe2_math::maximum
source · pub fn maximum<T, Context>(
n: i32,
alpha: f32,
x: *const T,
y: *mut T,
context: *mut Context
)
Expand description
| Elemwise maximum of vector x and scalar | alpha. y[i] = max(x[i], alpha) |