【文件属性】:
文件名称:interpolate-tensoriterator:使用TensorIterator进行原型火炬插值
文件大小:158KB
文件格式:ZIP
更新时间:2021-02-18 03:43:20
C++
使用TensorIterator进行原型火炬插值
FMassa的代码: :
目标
使用TensorIterator进行ND下采样/上采样,模式:线性,最近,三次
基准实现与原始pytorch的实现
改进以前的算法
第6步:回到基础知识(Francisco排名第5)
使用较旧的编译器(如gcc 5.4)测试代码
检查汇编代码
专业化技巧: :
探索C10_RESTRICT: ://en.wikipedia.org/wiki/Restrict
发展
点击这里了解详情docker run --rm -it \
--name=tv-interpolate \
-v $PWD :/interpolate-tensoriterator \
-v $PWD /../:/workspace \
-w /interpolate-tensoriterato
【文件预览】:
interpolate-tensoriterator-master
----.gitignore(2KB)
----README.md(2KB)
----step_six()
--------main.cpp(4KB)
--------CMakeLists.txt(2KB)
--------pth_vs_PR_results.log.save(7KB)
--------PR_vs_this_full_results.log.save(12KB)
--------interpolate.h(15KB)
--------make_results_table.py(7KB)
--------output.md(6KB)
--------results_gcc93.log.save(2KB)
--------results_gcc54.log.save(4KB)
--------run_pr_bench.sh(779B)
--------bench_helper.h(27KB)
--------pth_vs_this_full_results.log.save(12KB)
----playground()
--------inspect_assembly_code()
--------avx_examples()
--------check_vec256()
--------README.md(32KB)
--------step_two_profile()
--------asan()
--------strides_cases.md(13KB)
--------step_five()
--------step_one()
--------step_three()
--------step_two_dot_one()
--------step_two()
--------check_parallel_blocks()
--------step_four_1d_2d_3d()