pytorch
1855b149 - [TensorExpr] Delet `DimArg` class. (#72390)

Commit
3 years ago
[TensorExpr] Delet `DimArg` class. (#72390) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/72390 This class didn't add much value and only caused more boilerplate code. This change removes the class and updates all the use cases with uses of `ExprHandle`. A side effect of this change is different names in loop variables, which caused massive mechanical changes in our tests. Test Plan: Imported from OSS Reviewed By: navahgar Differential Revision: D34030296 Pulled By: ZolotukhinM fbshipit-source-id: 2ba4e313506a43ab129a10d99e72b638b7d40108 (cherry picked from commit c2ec46a0587cafd4e915c5bf1e0dc0b5d244e8d5)
Author
Mikhail Zolotukhin
Committer
Parents
  • benchmarks/cpp/tensorexpr
    • File
      bench_batchnorm.cpp
    • File
      bench_compile.cpp
    • File
      bench_concat.cpp
    • File
      bench_gemm.cpp
    • File
      bench_parallel.cpp
    • File
      bench_reduce.cpp
    • File
      bench_signed_log1p.cpp
  • test
    • cpp/tensorexpr
      • File
        test_boundsinference.cpp
      • File
        test_conv.cpp
      • File
        test_cuda.cpp
      • File
        test_external_calls.cpp
      • File
        test_ir_printer.cpp
      • File
        test_kernel.cpp
      • File
        test_llvm.cpp
      • File
        test_loopnest.cpp
      • File
        test_memdependency.cpp
      • File
        test_memplanning.cpp
      • File
        test_reductions.cpp
      • File
        test_simplify.cpp
      • File
        tutorial.cpp
    • File
      test_tensorexpr_pybind.py
  • torch/csrc/jit/tensorexpr
    • File
      dim_arg.h
    • File
      ir_printer.cpp
    • File
      kernel.cpp
    • File
      kernel.h
    • File
      loopnest.cpp
    • File
      lowerings.cpp
    • operators
      • File
        conv2d.cpp
      • File
        matmul.cpp
      • File
        misc.cpp
      • File
        norm.cpp
      • File
        pointwise.cpp
      • File
        quantization.cpp
      • File
        reduction.cpp
      • File
        softmax.cpp
    • File
      reduction.h
    • File
      tensor.cpp
    • File
      tensor.h
    • File
      tensorexpr_init.cpp