pytorch
9d2b9241 - [LTC] Refactor LTCTensorImpl (#68409)

Commit
3 years ago
[LTC] Refactor LTCTensorImpl (#68409) Summary: This commit refactors LTCTensorImpl: 1) Adds both const& and && ctors for readability. 2) Removes unused APIs. 3) Keeps coding style to be consistent on the snake case. 4) Adds comments to some unconventional implementations, and consolidates some. Test Plan: lazy_tensor_core/test/cpp/build/test_ptltc
Author
Parents
  • lazy_tensor_core/lazy_tensor_core/csrc
    • File
      tensor.cpp
    • File
      tensor.h
    • File
      tensor_impl.cpp
    • File
      tensor_impl.h