Skip to content

Commit

Permalink
#4702: Change layout for the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
umadevimcw committed Oct 29, 2024
1 parent 3789586 commit 92ed31f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,23 @@ def run_eltwise_add_tests(input_shape, dtype, dlayout, in_mem_config, output_mem
(
[(150, 72), (150, 72)],
[ttnn.bfloat16, ttnn.bfloat16],
[ttnn.ROW_MAJOR_LAYOUT, ttnn.ROW_MAJOR_LAYOUT],
[ttnn.TILE_LAYOUT, ttnn.TILE_LAYOUT],
(ttnn.DRAM_MEMORY_CONFIG),
(ttnn.DRAM_MEMORY_CONFIG),
17799073,
),
(
[(3, 201, 228), (3, 201, 228)],
[ttnn.bfloat16, ttnn.bfloat16],
[ttnn.ROW_MAJOR_LAYOUT, ttnn.ROW_MAJOR_LAYOUT],
[ttnn.TILE_LAYOUT, ttnn.TILE_LAYOUT],
(ttnn.DRAM_MEMORY_CONFIG),
(ttnn.DRAM_MEMORY_CONFIG),
3121221,
),
(
[(6, 6, 230, 138), (6, 6, 230, 138)],
[ttnn.bfloat16, ttnn.bfloat16],
[ttnn.ROW_MAJOR_LAYOUT, ttnn.ROW_MAJOR_LAYOUT],
[ttnn.TILE_LAYOUT, ttnn.TILE_LAYOUT],
(ttnn.DRAM_MEMORY_CONFIG),
(ttnn.DRAM_MEMORY_CONFIG),
10286194,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@ def run_eltwise_exp_tests(input_shape, dtype, dlayout, in_mem_config, output_mem
(
[(150, 72)],
[ttnn.bfloat16],
[ttnn.ROW_MAJOR_LAYOUT],
[ttnn.TILE_LAYOUT],
(ttnn.DRAM_MEMORY_CONFIG),
(ttnn.DRAM_MEMORY_CONFIG),
17799073,
),
(
[(3, 201, 228)],
[ttnn.bfloat16],
[ttnn.ROW_MAJOR_LAYOUT],
[ttnn.TILE_LAYOUT],
(ttnn.DRAM_MEMORY_CONFIG),
(ttnn.DRAM_MEMORY_CONFIG),
3121221,
),
(
[(6, 6, 230, 138)],
[ttnn.bfloat16],
[ttnn.ROW_MAJOR_LAYOUT],
[ttnn.TILE_LAYOUT],
(ttnn.DRAM_MEMORY_CONFIG),
(ttnn.DRAM_MEMORY_CONFIG),
10286194,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,23 @@ def run_eltwise_sub_tests(input_shape, dtype, dlayout, in_mem_config, output_mem
(
[(150, 72), (150, 72)],
[ttnn.bfloat16, ttnn.bfloat16],
[ttnn.ROW_MAJOR_LAYOUT, ttnn.ROW_MAJOR_LAYOUT],
[ttnn.TILE_LAYOUT, ttnn.TILE_LAYOUT],
(ttnn.DRAM_MEMORY_CONFIG),
(ttnn.DRAM_MEMORY_CONFIG),
17799073,
),
(
[(3, 201, 228), (3, 201, 228)],
[ttnn.bfloat16, ttnn.bfloat16],
[ttnn.ROW_MAJOR_LAYOUT, ttnn.ROW_MAJOR_LAYOUT],
[ttnn.TILE_LAYOUT, ttnn.TILE_LAYOUT],
(ttnn.DRAM_MEMORY_CONFIG),
(ttnn.DRAM_MEMORY_CONFIG),
3121221,
),
(
[(6, 6, 230, 138), (6, 6, 230, 138)],
[ttnn.bfloat16, ttnn.bfloat16],
[ttnn.ROW_MAJOR_LAYOUT, ttnn.ROW_MAJOR_LAYOUT],
[ttnn.TILE_LAYOUT, ttnn.TILE_LAYOUT],
(ttnn.DRAM_MEMORY_CONFIG),
(ttnn.DRAM_MEMORY_CONFIG),
10286194,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@ def run_eltwise_tanh_tests(input_shape, dtype, dlayout, in_mem_config, output_me
(
[(150, 72)],
[ttnn.bfloat16],
[ttnn.ROW_MAJOR_LAYOUT],
[ttnn.TILE_LAYOUT],
(ttnn.DRAM_MEMORY_CONFIG),
(ttnn.DRAM_MEMORY_CONFIG),
17799073,
),
(
[(3, 201, 228)],
[ttnn.bfloat16],
[ttnn.ROW_MAJOR_LAYOUT],
[ttnn.ttnn.TILE_LAYOUT],
(ttnn.DRAM_MEMORY_CONFIG),
(ttnn.DRAM_MEMORY_CONFIG),
3121221,
),
(
[(6, 6, 230, 138)],
[ttnn.bfloat16],
[ttnn.ROW_MAJOR_LAYOUT],
[ttnn.ttnn.TILE_LAYOUT],
(ttnn.DRAM_MEMORY_CONFIG),
(ttnn.DRAM_MEMORY_CONFIG),
10286194,
Expand Down

0 comments on commit 92ed31f

Please sign in to comment.