The intention of this API is to allow things similar to that of the vector_x_value API of operations, where instead of needing to allocate a new array in order to select either the element in the vector or a separate single value, we simply take the provided value and broadcast it for desired operations.
This in particular can help for things like ReLu activation which zeroes any element < 0.
The intention of this API is to allow things similar to that of the
vector_x_value
API of operations, where instead of needing to allocate a new array in order to select either the element in the vector or a separate single value, we simply take the provided value and broadcast it for desired operations.This in particular can help for things like ReLu activation which zeroes any element < 0.
Likely operation API naming: