vand
Description
Performs the bitwise AND operation on the elements of two tensors.
Prototype
vand(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 = "int16" data1 = tvm.placeholder(shape, name="data1", dtype=input_dtype) data2 = tvm.placeholder(shape, name="data2", dtype=input_dtype) res = dsl.vand(data1, data2)
Parent topic: Math Compute APIs