Skip to content

Files

Latest commit

9f67176 · Sep 21, 2020

History

History

torch

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 19, 2020
Sep 21, 2020
Sep 17, 2020
Sep 1, 2020
Sep 21, 2020
Sep 14, 2020
Sep 18, 2020
Sep 16, 2020
Sep 20, 2020
Oct 23, 2019
Jul 24, 2020
Sep 19, 2020
Sep 16, 2020
Sep 20, 2018
Sep 16, 2020
Aug 29, 2020
Sep 16, 2020
Sep 18, 2020
Sep 18, 2020
Sep 16, 2020
Sep 19, 2020
Aug 17, 2020
Sep 21, 2020
Sep 19, 2020
Sep 18, 2020
Apr 28, 2018
Aug 25, 2020
May 7, 2019
Jun 19, 2019
Sep 4, 2020
Jun 15, 2020
Sep 4, 2020
Sep 16, 2020
Aug 1, 2020
Aug 6, 2020
Aug 6, 2020
Apr 22, 2020
Jul 13, 2020
Sep 1, 2020
May 1, 2020
Sep 19, 2020
Aug 13, 2020
Sep 19, 2020
Aug 28, 2020
Sep 16, 2020
Sep 18, 2020
Sep 17, 2018
Aug 28, 2020
May 16, 2020
Dec 12, 2018
Sep 18, 2020
Sep 16, 2020
Sep 16, 2020
Sep 19, 2020
Jul 18, 2020
Sep 4, 2020
Aug 12, 2020
Feb 27, 2020
Sep 4, 2020
Sep 4, 2020
Sep 18, 2020
Aug 15, 2020
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.