1. 10 Apr, 2023 1 commit
  2. 20 Mar, 2023 1 commit
  3. 09 Mar, 2023 1 commit
  4. 17 Feb, 2023 2 commits
  5. 10 Oct, 2022 1 commit
  6. 07 Sep, 2022 1 commit
    • ndickson-nvidia's avatar
      [Feature] Added exclude_self and output_batch to knn graph construction... · 684f66b7
      ndickson-nvidia authored
      
      [Feature] Added exclude_self and output_batch to knn graph construction (Issues #4323 #4316) (#4389)
      
      * * Added "exclude_self" and "output_batch" options to knn_graph and segmented_knn_graph
      * Updated out-of-date comments on remove_edges and remove_self_loop, since they now preserve batch information
      
      * * Changed defaults on new knn_graph and segmented_knn_graph function parameters, for compatibility; pytorch/test_geometry.py was failing
      
      * * Added test to ensure dgl.remove_self_loop function correctly updates batch information
      
      * * Added new knn_graph and segmented_knn_graph parameters to dgl.nn.KNNGraph and dgl.nn.SegmentedKNNGraph
      
      * * Formatting
      
      * * Oops, I missed the one in segmented_knn_graph when I fixed the similar thing in knn_graph
      
      * * Fixed edge case handling when invalid k specified, since it still needs to be handled consistently for tests to pass
      * Fixed context of batch info, since it must match the context of the input position data for remove_self_loop to succeed
      
      * * Fixed batch info resulting from knn_graph when output_batch is true, for case of 3D input tensor, representing multiple segments
      
      * * Added testing of new exclude_self and output_batch parameters on knn_graph and segmented_knn_graph, and their wrappers, KNNGraph and SegmentedKNNGraph, into the test_knn_cuda test
      
      * * Added doc comments for new parameters
      
      * * Added correct handling for uncommon case of k or more coincident points when excluding self edges in knn_graph and segmented_knn_graph
      * Added test cases for more than k coincident points
      
      * * Updated doc comments for output_batch parameters for clarity
      
      * * Linter formatting fixes
      
      * * Extracted out common function for test_knn_cpu and test_knn_cuda, to add the new test cases to test_knn_cpu
      
      * * Rewording in doc comments
      
      * * Removed output_batch parameter from knn_graph and segmented_knn_graph, in favour of always setting the batch information, except in knn_graph if x is a 2D tensor
      Co-authored-by: default avatarMinjie Wang <wmjlyjemaine@gmail.com>
      684f66b7
  7. 23 May, 2022 1 commit
  8. 10 Sep, 2021 1 commit
  9. 07 Jun, 2021 1 commit
  10. 19 May, 2021 1 commit
  11. 09 Apr, 2021 1 commit
  12. 09 Mar, 2021 1 commit
  13. 28 Jun, 2020 1 commit
  14. 21 Jun, 2020 1 commit
    • Tong He's avatar
      [Op] Farthest Point Sampler in Cpp and CUDA (#1630) · 3d47693b
      Tong He authored
      * working framework without actual algorithm logic
      
      * rename
      
      * fix
      
      * fps passes compilation
      
      * correct algorithm
      
      * add cuda implementation
      
      * update random start
      
      * before refactor
      
      * pass compilation but cuda not working
      
      * working
      
      * code working, will add docstring
      
      * add mxnet support
      
      * update docstring
      
      * update doc and test
      
      * cpplint
      
      * cpcplint
      
      * pylint
      
      * temporary fix
      
      * fix for win64
      
      * fix unitetest
      
      * fix
      
      * fix
      
      * remove comment
      
      * move to geometry package
      
      * remove redundant include
      
      * add docstrings and comments
      
      * add proof
      
      * add validity check
      3d47693b