pytorch/caffe2/perfkernels
Bugra Akyildiz 27c7158166 Remove __future__ imports for legacy Python2 supports (#45033)
Summary:
There is a module called `2to3` which you can target for future specifically to remove these, the directory of `caffe2` has the most redundant imports:

```2to3 -f future -w caffe2```

Pull Request resolved: https://github.com/pytorch/pytorch/pull/45033

Reviewed By: seemethere

Differential Revision: D23808648

Pulled By: bugra

fbshipit-source-id: 38971900f0fe43ab44a9168e57f2307580d36a38
2020-09-23 17:57:02 -07:00
..
__init__.py remediation of S205607 2020-07-17 17:19:47 -07:00
adagrad_avx2.cc implement L2 regularization for Adagrad in caffe2 and dper (#37705) 2020-05-03 10:42:49 -07:00
adagrad.cc implement L2 regularization for Adagrad in caffe2 and dper (#37705) 2020-05-03 10:42:49 -07:00
adagrad.h implement L2 regularization for Adagrad in caffe2 and dper (#37705) 2020-05-03 10:42:49 -07:00
CMakeLists.txt Fix AVX detection with clang-cl (#35653) 2020-03-30 07:53:37 -07:00
common_avx.cc Remove Apache headers from source. 2018-03-27 13:10:18 -07:00
common_avx2.cc Remove Apache headers from source. 2018-03-27 13:10:18 -07:00
common_avx512.cc include avx512vl to avx512 code path (#14733) 2018-12-05 00:50:51 -08:00
common.h [caffe2] Use cpuinfo in perfkernels to simplify build dependency (#36371) 2020-04-10 13:26:34 -07:00
cvtsh_ss_bugfix.h Avoid MSVC _cvtsh_ss() workaround with clang-cl (#29726) 2019-11-13 12:49:13 -08:00
embedding_lookup_avx2.cc change the epilogue of SLS to match the simd section (#21439) 2019-06-05 18:41:55 -07:00
embedding_lookup_fused_8bit_rowwise_avx2.cc change the epilogue of SLS to match the simd section (#21439) 2019-06-05 18:41:55 -07:00
embedding_lookup_fused_8bit_rowwise_idx_avx2.cc [pytorch][embeddingbag_8bit] Add include_last_offset option to Fused 8bit EmbeddingBag and parallelize the op (#32683) 2020-01-29 16:04:56 -08:00
embedding_lookup_idx_avx2.cc [pytorch][embeddingbag] Parallelize the EmbeddingBag operator (#4049) 2020-01-23 21:29:44 -08:00
embedding_lookup_idx.cc [pytorch][embeddingbag] Parallelize the EmbeddingBag operator (#4049) 2020-01-23 21:29:44 -08:00
embedding_lookup_idx.h [pytorch][embeddingbag] Parallelize the EmbeddingBag operator (#4049) 2020-01-23 21:29:44 -08:00
embedding_lookup.cc remove dependency to caffe2::math and eigen (#21169) 2019-05-31 11:55:16 -07:00
embedding_lookup.h minor comment fix (#22140) 2019-08-08 21:08:47 -07:00
fused_8bit_rowwise_embedding_lookup_idx.cc [pytorch][embeddingbag_8bit] Add include_last_offset option to Fused 8bit EmbeddingBag and parallelize the op (#32683) 2020-01-29 16:04:56 -08:00
fused_8bit_rowwise_embedding_lookup_idx.h fix comment index_size->output_size (#29831) 2019-11-16 01:49:02 -08:00
fused_8bit_rowwise_embedding_lookup.cc remove dependency to caffe2::math and eigen (#21169) 2019-05-31 11:55:16 -07:00
fused_8bit_rowwise_embedding_lookup.h fix comment index_size->output_size (#29831) 2019-11-16 01:49:02 -08:00
fused_nbit_rowwise_conversion.cc [caffe2] Replace embedding conversion ops with fbgemm functions (#44843) 2020-09-22 11:57:01 -07:00
fused_nbit_rowwise_conversion.h [caffe2] optimize 2/4-bit row-wise quantization (#387) 2020-06-19 21:28:31 -07:00
hp_emblookup_codegen.py Remove __future__ imports for legacy Python2 supports (#45033) 2020-09-23 17:57:02 -07:00
lstm_unit_cpu_avx2.cc [caffe2] Explicit vectorization of LSTM operator (#35556) 2020-04-01 17:19:56 -07:00
lstm_unit_cpu_common.cc [caffe2] Explicit vectorization of LSTM operator (#35556) 2020-04-01 17:19:56 -07:00
lstm_unit_cpu_common.h [caffe2] Explicit vectorization of LSTM operator (#35556) 2020-04-01 17:19:56 -07:00
lstm_unit_cpu-impl.h [caffe2] Explicit vectorization of LSTM operator (#35556) 2020-04-01 17:19:56 -07:00
lstm_unit_cpu.h [caffe2] Explicit vectorization of LSTM operator (#35556) 2020-04-01 17:19:56 -07:00
math_cpu_avx2.cc more careful use of inline/template function in perfkernels (#15388) 2019-01-30 22:49:37 -08:00
math_cpu_base.cc Resolve errors in perfkernel for Windows (#16031) 2019-01-16 21:51:00 -08:00
math.h Resolve errors in perfkernel for Windows (#16031) 2019-01-16 21:51:00 -08:00
typed_axpy_avx.cc remove dependency to caffe2::math and eigen (#21169) 2019-05-31 11:55:16 -07:00
typed_axpy_avx2.cc remove dependency to caffe2::math and eigen (#21169) 2019-05-31 11:55:16 -07:00
typed_axpy.cc remove dependency to caffe2::math and eigen (#21169) 2019-05-31 11:55:16 -07:00
typed_axpy.h Remove Apache headers from source. 2018-03-27 13:10:18 -07:00