pytorch/benchmarks/static_runtime
Mike Iovine b02b3f25db [SR] Quick hack to eliminate no-op slice (#75774)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/75774

`list[0:]` is a no-op. This should really be eliminated on the modeling side, implement as a graph pass for now until we can get this into prod models.

Test Plan: New unit tests

Reviewed By: navahgar

Differential Revision: D35632947

fbshipit-source-id: 0c564193c35039130e99172e0185e124ea24f62d
(cherry picked from commit e01d5273185e39a563c7acb15662d9c1549d4b58)
2022-05-03 19:29:46 +00:00
..
CMakeLists.txt [Static Runtime] Add auto-generated out variant dispatchers (#72603) 2022-02-28 08:39:10 +00:00
deep_wide_pt.cc [NOOP][clangformat][codemod] Enable CLANGFORMAT for some folders in caffe2/* (#67746) 2021-11-03 12:23:14 -07:00
deep_wide_pt.h [SR] Fix broken unit test build (#76111) 2022-04-20 18:36:31 +00:00
deep_wide_pt_bench.cc [NOOP][clangformat][codemod] Enable CLANGFORMAT for some folders in caffe2/* (#67746) 2021-11-03 12:23:14 -07:00
test_cpu_fusion.cc [Static Runtime] Add test that runs NNC fused kernels in parallel (#73256) 2022-02-28 17:44:45 +00:00
test_generated_ops.cc [Static Runtime] Fix a broken test & Add an out variant wrapper for mse_loss (#73574) 2022-03-02 04:36:31 +00:00
test_static_module.cc [SR] Quick hack to eliminate no-op slice (#75774) 2022-05-03 19:29:46 +00:00
test_static_runtime.cc [SR] Fix quantized linear tests not managing outputs (#75776) 2022-04-27 16:38:54 +00:00
test_utils.cc [SR] Fix StaticRuntime move ctor (#74927) 2022-04-07 02:16:37 +00:00
test_utils.h [SR] Fix StaticRuntime move ctor (#74927) 2022-04-07 02:16:37 +00:00