Files
pytorch/torch
Winston Smith ed9c7e187b Added OpInfo for addmm (#55920)
Summary:
Added an OpInfo for `addmm` & ported its `method_tests`

Skipping `test_variant_consistency_eager` on CPU, as it's blocked by https://github.com/pytorch/pytorch/issues/56233

Pull Request resolved: https://github.com/pytorch/pytorch/pull/55920

Reviewed By: agolynski

Differential Revision: D27800325

Pulled By: heitorschueroff

fbshipit-source-id: 311cd26c6b491b486f652cf64275c6901fea03c5
2021-04-26 06:20:00 -07:00
..
2021-04-25 13:01:55 -07:00
2021-04-25 03:42:24 -07:00
2021-04-26 06:20:00 -07:00
2021-01-13 12:26:17 -08:00
2021-01-13 12:26:17 -08:00
2021-03-30 13:09:52 -07:00
2020-07-17 17:19:47 -07:00

Note [TH abstraction violation]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

TH/THC provide some hpp headers, which are proper C++ headers rather than
C headers.  These headers serve double duty as *internal implementation
detail* headers, whose contents should largely not be used by external
clients.

Ideally, we would not install these headers at all; instead, you should
use public functions (in headers like `THTensor.h`, NOT `THTensor.hpp`)
to manipulate these structs.  However, there are a few places
in torch/csrc where we violate this abstraction.  They are marked with
a pointer to this note.  Each of those sites will have to be refactored
when we refactor the guts of THTensor and related structures.