vaddrelu
Description
Computes ReLU on the element-wise sum of tensor_1 and tensor_0: relu(tensor_0 + tensor_1).
Prototype
vaddrelu(lhs, rhs)
Parameters
Returns
res_tensor: a tvm.tensor for the result tensor
Restrictions
None
Applicability
Example
from tbe import tvm from tbe import dsl shape = (1024,1024) input_dtype = "float16" data = tvm.placeholder(shape, name="data", dtype=input_dtype) data1 = tvm.placeholder(shape, name="data1", dtype=input_dtype) res = dsl.vaddrelu(data, data1)
Parent topic: To-Be-Deprecated APIs