mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-28 10:34:54 +08:00
Adding ModuleList to modules.h (#25346)
Summary: Here is a PR adding ```ModuleList``` to ```modules.h``` so that it can be used by including ```torch/torch.h```. yf225 edit: Closes https://github.com/pytorch/pytorch/issues/25293. Pull Request resolved: https://github.com/pytorch/pytorch/pull/25346 Differential Revision: D17115013 Pulled By: yf225 fbshipit-source-id: 38a1848b9a8272fa411865dfc83b76d10c5789a0
This commit is contained in:
committed by
Facebook Github Bot
parent
e231bd16fb
commit
cad3abb036
@ -1,14 +1,6 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <torch/nn/modules.h>
|
||||
#include <torch/nn/modules/batchnorm.h>
|
||||
#include <torch/nn/modules/conv.h>
|
||||
#include <torch/nn/modules/dropout.h>
|
||||
#include <torch/nn/modules/linear.h>
|
||||
#include <torch/nn/modules/modulelist.h>
|
||||
#include <torch/nn/modules/rnn.h>
|
||||
#include <torch/types.h>
|
||||
#include <torch/utils.h>
|
||||
#include <torch/torch.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
|
||||
Reference in New Issue
Block a user