Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ std::vector<float> conv2d_ref_xnnpack(
out_min,
out_max,
/*flags=*/0,
/*code_cache=*/nullptr,
/*weights_cache=*/nullptr,
&op);
if (create_status != xnn_status_success || op == nullptr) {
Expand All @@ -258,7 +257,7 @@ std::vector<float> conv2d_ref_xnnpack(
}

size_t workspace_size = 0;
size_t workspace_alignment = 0;
const size_t workspace_alignment = 128;
size_t out_h = 0;
size_t out_w = 0;
const xnn_status reshape_status = xnn_reshape_convolution2d_nhwc_f32(
Expand All @@ -267,7 +266,6 @@ std::vector<float> conv2d_ref_xnnpack(
static_cast<size_t>(H_in),
static_cast<size_t>(W_in),
&workspace_size,
&workspace_alignment,
&out_h,
&out_w,
/*threadpool=*/nullptr);
Expand Down
Loading