Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up Tensor and Shape stringification #808

Closed
wants to merge 6 commits into from

Commits on Jan 10, 2022

  1. Add Tensor broadcasting for binary ops

    Differential Revision: D32678121
    
    fbshipit-source-id: f1015b231ade210bb75cba69769f9dfa4850230a
    jacobkahn authored and facebook-github-bot committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    0dd0500 View commit details
    Browse the repository at this point in the history
  2. Add scalar exponentiation by tensor

    Differential Revision: D32902722
    
    fbshipit-source-id: 31c05c3e610f11053ad05e894a1d412cb0bfd18a
    jacobkahn authored and facebook-github-bot committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    861d56c View commit details
    Browse the repository at this point in the history
  3. Add TensorExtension API

    Differential Revision: D32159630
    
    fbshipit-source-id: ed393daf01f81ed109674c89e8f3df555bcb1504
    jacobkahn authored and facebook-github-bot committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    bd02d82 View commit details
    Browse the repository at this point in the history
  4. Add shape indexing protection

    Differential Revision: D33143590
    
    fbshipit-source-id: dc6f3dbf984dec5110ea6b56ed6b7c61310a5597
    jacobkahn authored and facebook-github-bot committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    c45934b View commit details
    Browse the repository at this point in the history
  5. Add sort op that returns both values and indices

    Differential Revision: D33159882
    
    fbshipit-source-id: ede8e8ee99e6f8e0522644a234e0d74e5c0a0bf6
    jacobkahn authored and facebook-github-bot committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    db37c18 View commit details
    Browse the repository at this point in the history
  6. Clean up Tensor and Shape stringification

    Summary: See title. Add `Tensor::toString()` and `Shape::toString()` explicitly and use in `operator<<` for `ArrayFireTensor`.
    
    Reviewed By: benoitsteiner
    
    Differential Revision: D33159894
    
    fbshipit-source-id: 4e9fec4758258382b77538abac8c254a777a7396
    jacobkahn authored and facebook-github-bot committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    67ee0a5 View commit details
    Browse the repository at this point in the history