Skip to content

Commit

Permalink
Update conv2d.py (#16262)
Browse files Browse the repository at this point in the history
refactor with chain constant value assignment to make code more Pythonic, concise and efficient.
  • Loading branch information
anonymousdouble authored Dec 20, 2023
1 parent 3a57a40 commit f36a093
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/tvm/topi/intel_graphics/conv2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,8 +591,7 @@ def _schedule_cl_spatialpack(s, op):
OUTPUT_BLOCK_WIDTH = attrs["block_w"]

# schedule conv
z_factor = 1
y_factor = 1
y_factor = z_factor = 1
x_factor = 16
thread_z = te.thread_axis((0, z_factor), "threadIdx.z")
thread_y = te.thread_axis((0, y_factor), "threadIdx.y")
Expand Down

0 comments on commit f36a093

Please sign in to comment.