/usr/local/lib64/python3.6/site-packages/torch/include/torch/csrc/api/include/torch
NameSizeModeActions
data/-0755rm
detail/-0755rm
nn/-0755rm
optim/-0755rm
serialize/-0755rm
all.h4920644editdlrm
arg.h12190644editdlrm
autograd.h1720644editdlrm
cuda.h7520644editdlrm
data.h3010644editdlrm
enum.h61840644editdlrm
expanding_array.h65800644editdlrm
fft.h98990644editdlrm
imethod.h15360644editdlrm
jit.h9270644editdlrm
linalg.h190260644editdlrm
nn.h2510644editdlrm
optim.h3300644editdlrm
ordered_dict.h165670644editdlrm
python.h97430644editdlrm
serialize.h51960644editdlrm
special.h154900644editdlrm
torch.h1540644editdlrm
types.h20700644editdlrm
utils.h34890644editdlrm
version.h2420644editdlrm
Edit: /usr/local/lib64/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/arg.h (1219B)
#pragma once #include #define TORCH_ARG(T, name) \ public: \ inline auto name(const T& new_##name)->decltype(*this) { /* NOLINT */ \ this->name##_ = new_##name; \ return *this; \ } \ inline auto name(T&& new_##name)->decltype(*this) { /* NOLINT */ \ this->name##_ = std::move(new_##name); \ return *this; \ } \ inline const T& name() const noexcept { /* NOLINT */ \ return this->name##_; \ } \ inline T& name() noexcept { /* NOLINT */ \ return this->name##_; \ } \ private: \ T name##_ /* NOLINT */