diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | setup.py | 5 | ||||
-rw-r--r-- | torch/csrc/Module.cpp | 2 | ||||
-rw-r--r-- | torch/csrc/Tensor.cpp | 2 |
4 files changed, 0 insertions, 11 deletions
diff --git a/.gitignore b/.gitignore index 2a86ba6a24..65ce7ab8da 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,6 @@ dist/ torch.egg-info/ */**/__pycache__ torch/csrc/generic/TensorMethods.cpp -torch/csrc/TensorDocstrings.cpp -torch/csrc/TensorDocstrings.h torch/lib/*.so* torch/lib/*.dylib* torch/lib/*.h @@ -102,10 +102,6 @@ class build_ext(setuptools.command.build_ext.build_ext): BoolOption(), thp_plugin, AutoGPU(condition='IS_CUDA'), ArgcountSortPlugin(), KwargsPlugin() ]) - with open('torch/csrc/TensorDocstrings.cpp', 'w') as f: - f.write(thp_plugin.generate_docstrings_cpp()) - with open('torch/csrc/TensorDocstrings.h', 'w') as f: - f.write(thp_plugin.generate_docstrings_h()) cwrap('torch/csrc/cudnn/cuDNN.cwrap', plugins=[ CuDNNPlugin(), NullableArguments() ]) @@ -192,7 +188,6 @@ main_sources = [ "torch/csrc/Size.cpp", "torch/csrc/Exceptions.cpp", "torch/csrc/Tensor.cpp", - "torch/csrc/TensorDocstrings.cpp", "torch/csrc/Storage.cpp", "torch/csrc/byte_order.cpp", "torch/csrc/utils.cpp", diff --git a/torch/csrc/Module.cpp b/torch/csrc/Module.cpp index 9a5f869b2e..633a01ab4f 100644 --- a/torch/csrc/Module.cpp +++ b/torch/csrc/Module.cpp @@ -11,8 +11,6 @@ #include "cudnn/Module.h" #endif -#include "TensorDocstrings.h" - #define WITH_NUMPY_IMPORT_ARRAY #include "THP.h" diff --git a/torch/csrc/Tensor.cpp b/torch/csrc/Tensor.cpp index 7c30e0a81f..7b53d77da4 100644 --- a/torch/csrc/Tensor.cpp +++ b/torch/csrc/Tensor.cpp @@ -10,7 +10,5 @@ #include "THP.h" #include "copy_utils.h" -#include "TensorDocstrings.h" - #include "generic/Tensor.cpp" #include <TH/THGenerateAllTypes.h> |