Skip to content

Commit

Permalink
Perf test requires one function/file.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmanzoorTT committed Jan 18, 2025
1 parent 61e6b0a commit e579a48
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions test/ttmlir/Silicon/TTNN/perf_unit/test_perf_reduce_min.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,4 @@ module {
%1 = "ttir.min"(%arg0, %0) <{dim_arg = [1: i32], keep_dim = false}> : (tensor<128x10x32x4xf32>, tensor<128x32x4xf32>) -> tensor<128x32x4xf32>
return %1 : tensor<128x32x4xf32>
}

func.func public @reduce_min_keep_dim(%arg0: tensor<128x10x32x4xf32>) -> tensor<128x1x32x4xf32> {
// CHECK-LABEL: func.func public @reduce_min_keep_dim
%0 = tensor.empty() : tensor<128x1x32x4xf32>
// CHECK-NOT: "ttnn.reshape"
// CHECK: "ttnn.min"
// CHECK-SAME: dim_arg = [1 : i32]
// CHECK-SAME: keep_dim = true
// CHECK-SAME: tensor<128x10x32x4xf32,
// CHECK-SAME: -> tensor<128x1x32x4xf32,
%1 = "ttir.min"(%arg0, %0) <{dim_arg = [1 : i32], keep_dim = true}> : (tensor<128x10x32x4xf32>, tensor<128x1x32x4xf32>) -> tensor<128x1x32x4xf32>
return %1 : tensor<128x1x32x4xf32>
}
}

0 comments on commit e579a48

Please sign in to comment.