• ricardoV94's avatar
    Revert regression in Reshape C-impl speed · 5dcf6048
    ricardoV94 提交于
    This was caused by 223ee154, which used the generic `PyArray_IntpConverter` to convert the shape numpy vector into a simple C-array for the Reshape operation. There seems to be no need for this change as the strides were correctly used
    
    Profiling suggests the previous changes caused a 7.5x slowdown. The benchmark detects only a 2.3x slowdown due to the PyTensor call overhead.
    5dcf6048
名称
最后提交
最后更新
..
compile 正在载入提交数据...
d3viz 正在载入提交数据...
graph 正在载入提交数据...
link 正在载入提交数据...
misc 正在载入提交数据...
scalar 正在载入提交数据...
scan 正在载入提交数据...
sparse 正在载入提交数据...
tensor 正在载入提交数据...
typed_list 正在载入提交数据...
__init__.py 正在载入提交数据...
test_breakpoint.py 正在载入提交数据...
test_config.py 正在载入提交数据...
test_gradient.py 正在载入提交数据...
test_ifelse.py 正在载入提交数据...
test_printing.py 正在载入提交数据...
test_raise_op.py 正在载入提交数据...
test_rop.py 正在载入提交数据...
test_updates.py 正在载入提交数据...
unittest_tools.py 正在载入提交数据...