Skip to content

Files

This branch is 62454 commits behind pytorch/pytorch:main.

torch

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 14, 2020
Dec 3, 2019
Aug 21, 2019
Jan 14, 2020
Dec 3, 2019
Jan 11, 2020
Jan 14, 2020
Oct 23, 2019
Jan 14, 2020
Sep 20, 2018
Jan 13, 2020
Dec 5, 2019
Jan 14, 2020
Jan 14, 2020
Jan 2, 2020
Jan 10, 2020
Aug 23, 2019
Jan 14, 2020
Jan 9, 2020
Jan 14, 2020
Apr 28, 2018
May 7, 2019
Jun 19, 2019
Jan 14, 2020
Oct 27, 2019
Dec 22, 2019
Dec 18, 2019
Dec 12, 2019
Aug 3, 2019
Dec 4, 2019
Oct 12, 2019
Jul 10, 2019
Jan 13, 2020
Dec 12, 2019
Jan 13, 2020
Oct 4, 2019
Jan 9, 2020
Sep 17, 2018
Dec 22, 2019
Dec 12, 2018
Jan 10, 2020
Oct 18, 2019
Apr 1, 2019
Nov 7, 2019
Nov 11, 2019
Dec 16, 2019
Jan 7, 2020
Jul 10, 2019
Dec 11, 2019
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.