Skip to content

Commit f5a2862

Browse files
committed
started documenting at::Torch and underlying classes
1 parent df5f147 commit f5a2862

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

doxygen/doxygen.config

100755100644
File mode changed.

libtorch/1_libtorch_classes.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
# The origin of PyTorch methods
3+
4+
At the top of high-level libtorch C++ API is the `at::Tensor` class. It provides a comprehensive set
5+
of methods for tensor storage management, data initialization, auto-differentiation, as well as all
6+
basic tensor operations. It is defined at
7+
[ATen/core/Tensor.h](https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/core/Tensor.h)
8+
9+
All actual work is delegated from `Tensor` to the classes `TensorImpl` and `Type`.
10+
11+
12+
Here's how the `Type` hierarchy looks like for CUDA:
13+
14+
![libtorch Type hierarchy](structat_1_1Type__inherit__graph.png)
164 KB
Loading

th/1_trace_blas.md

-7
This file was deleted.

0 commit comments

Comments
 (0)