You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove incorrect links to zdevito/ATen (pytorch#50065)
Summary:
Similar to pytorch#49028, this PR removes a few more references to https://github.com/zdevito/ATen.
- The links for Functions.h, Tensor.h, and Type.h are simply broken, probably because they refer to `master` rather than a specific commit (cf. pytorch#47066)
- I'm unsure about the change to the `about` section of `aten/conda/meta.yaml`; can someone comment on whether I am understanding that field correctly?
- The reference to zdevito/ATen#163 remains [in `tools/autograd/derivatives.yaml`](https://github.com/pytorch/pytorch/blob/cd608fe59b70fa7cafb07110096b2e023a8b6e9c/tools/autograd/derivatives.yaml#L91), because the contents of that issue discussion don't seem to be mirrored anywhere else.
Pull Request resolved: pytorch#50065
Reviewed By: ezyang, walterddr
Differential Revision: D25767353
Pulled By: samestep
fbshipit-source-id: 265f46f058bc54ef6d1a77f112cdfa1f115b3247
Copy file name to clipboardExpand all lines: caffe2/contrib/aten/docs/pytorch_to_caffe2.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ operators that haven't been standardized yet, or custom `torch.autograd.Function
6
6
are specific to a network.
7
7
8
8
To bridge this gap, we provide an experimental operator in ONNX that allows you to directly access PyTorch's tensor functions using the ATen library.
9
-
[ATen](https://github.com/zdevito/aten) is the underlying C++ library that PyTorch uses to do tensor operations. Caffe2 has an [ATen operator](https://github.com/caffe2/caffe2/tree/master/caffe2/contrib/aten)
9
+
[ATen](https://github.com/pytorch/pytorch/tree/master/aten) is the underlying C++ library that PyTorch uses to do tensor operations. Caffe2 has an [ATen operator](https://github.com/pytorch/pytorch/tree/master/caffe2/contrib/aten)
10
10
that can run these tensor functions in a Caffe2 network after importing them through ONNX.
11
11
12
12
This guide explains how to configure Caffe2 and modify your PyTorch program to use
@@ -61,8 +61,8 @@ We can add a `symbolic` method to it like so:
61
61
62
62
The function `graph.at` adds a new ATen op the computation graph.
63
63
You can call any ATen function using this facility. To do so,
64
-
first identify a function in ATen you want to call in [Functions.h](https://github.com/zdevito/ATen/blob/master/doc/Functions.h),
65
-
[Tensor.h](https://github.com/zdevito/ATen/blob/master/doc/Tensor.h), or [Type.h](https://github.com/zdevito/ATen/blob/master/doc/Type.h).
64
+
first identify a function in ATen you want to call in Functions.h,
65
+
Tensor.h, or Type.h.
66
66
67
67
As an example, we might want to call the `pow` operator:
68
68
@@ -86,9 +86,9 @@ To call methods of ATen's `Type` objects, you provide an additional string attri
86
86
that determines the type. For instance, `ones` creates a new constant tensor of all ones:
0 commit comments