Commit c132b4cf authored by Zimin Li's avatar Zimin Li
Browse files

issue/288: fix spelling error for RearrangeDescriptor in rearrange.py

parent f49235e3
...@@ -116,11 +116,11 @@ NUM_PRERUN = 10 ...@@ -116,11 +116,11 @@ NUM_PRERUN = 10
NUM_ITERATIONS = 1000 NUM_ITERATIONS = 1000
class RerrangeDescriptor(Structure): class RearrangeDescriptor(Structure):
_fields_ = [("device", c_int32)] _fields_ = [("device", c_int32)]
infiniopRearrangeDescriptor_t = POINTER(RerrangeDescriptor) infiniopRearrangeDescriptor_t = POINTER(RearrangeDescriptor)
def rearrange_torch(x, x_shape, y_stride): def rearrange_torch(x, x_shape, y_stride):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment