Skip to content

Commit

Permalink
#0: Rebase fi
Browse files Browse the repository at this point in the history
  • Loading branch information
sankarmanoj-tt committed Feb 13, 2025
1 parent 8a98ae9 commit 687fc72
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,6 @@ std::pair<ttnn::Tensor, std::optional<ttnn::Tensor>> prepare_conv_weights_biases
}
}
weight_tensor_ = ttnn::pad(
0,
weight_tensor_,
weights_channels_padded_shape.to_array_4D(),
tt::tt_metal::Array4D({0, 0, 0, 0}),
Expand Down Expand Up @@ -765,7 +764,6 @@ std::pair<ttnn::Tensor, std::optional<ttnn::Tensor>> prepare_conv_weights_biases
{output_num_cores_channels, out_channels_per_core, in_channels_padded * window_h, window_w}));

weight_tensor_ = ttnn::pad(
0,
weight_tensor_,
tt::tt_metal::Array4D(
{output_num_cores_channels, rounded_weight_block_width, in_channels_padded * window_h, window_w}),
Expand All @@ -787,7 +785,6 @@ std::pair<ttnn::Tensor, std::optional<ttnn::Tensor>> prepare_conv_weights_biases
ttnn::Shape(
{1, input_num_cores_channels, in_channels_per_core * window_h * window_w, final_out_channels_padded}));
weight_tensor_ = ttnn::pad(
0,
weight_tensor_,
tt::tt_metal::Array4D(
{1, input_num_cores_channels, rounded_weight_block_height, final_out_channels_padded}),
Expand All @@ -811,7 +808,6 @@ std::pair<ttnn::Tensor, std::optional<ttnn::Tensor>> prepare_conv_weights_biases
weight_tensor_ = ttnn::reshape(
weight_tensor_, ttnn::Shape({1, window_h, window_w * in_channels_padded, out_channels_padded}));
weight_tensor_ = ttnn::pad(
0,
weight_tensor_,
tt::tt_metal::Array4D({1, window_h, weight_block_h_datums, out_channels_padded}),
tt::tt_metal::Array4D({0, 0, 0, 0}),
Expand Down

0 comments on commit 687fc72

Please sign in to comment.