tensor
Examples
//Creates a 1-dimensional tensor of size
%tensor = tensor.create %shape : (i32) -> tensor<[n]>
// Performs element-wise addition on two 4x4 tensors.
%result = tensor.add %t1, %t2 : (tensor<[4]x[4]>, tensor<[4]x[4]>) -> tensor<[4]x[4]>Last updated