Skip to content

Commit

Permalink
Disable .numpy() and .tolist() for tensor subclasses subclasses and f… (
Browse files Browse the repository at this point in the history
#66642)

* Disable .numpy() and .tolist() for tensor subclasses subclasses and fix .tolist() for conjugated and negated tensors (#66082)

Summary:
Pull Request resolved: #66082

Fixes #66024 #65779

cc ezyang anjali411 dylanbespalko mruberry Lezcano nikitaved albanD

Test Plan: Imported from OSS

Reviewed By: Gamrix, albanD

Differential Revision: D31615588

Pulled By: anjali411

fbshipit-source-id: c3e65ef0fe301630eb76732ccd7819683c09aa19

* Apply suggestions from code review

Co-authored-by: Nikita Shulga <nikita.shulga@gmail.com>
Co-authored-by: Nikita Shulga <nshulga@fb.com>
  • Loading branch information
3 people committed Oct 14, 2021
1 parent cc360fa commit ddf3092
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit ddf3092

Please sign in to comment.