- class torch.nn.ModuleList(modules=None)[source]¶
Holds submodules in a list.
ModuleList can be indexed like a regular Python list, butmodules it contains are properly registered, and will be visible by all
Module
methods.- Parameters
modules (iterable, optional) – an iterable of modules to add
Example:
class MyModule(nn.Module): def __init__(self): super().__init__() self.linears = nn.ModuleList([nn.Linear(10, 10) for i in range(10)]) def forward(self, x): # ModuleList can act as an iterable, or be indexed using ints for i, l in enumerate(self.linears): x = self.linears[i // 2](x) + l(x) return x
- append(module)[source]¶
Append a given module to the end of the list.
- Parameters
module (nn.Module) – module to append
- Return type
ModuleList
- extend(modules)[source]¶
Append modules from a Python iterable to the end of the list.
- Parameters
modules (iterable) – iterable of modules to append
- Return type
Self
ModuleList — PyTorch 2.4 documentation (2024)
Top Articles
Sherlock Holmes, his brother Mycroft and network redundancy - Award Consulting
How to Create A New Gmail Account: 5 Reasons Why It’s Not Working
Navicent Human Resources Phone Number
AllHere, praised for creating LAUSD’s $6M AI chatbot, files for bankruptcy
Pet For Sale Craigslist
Chelsea player who left on a free is now worth more than Palmer & Caicedo
Directions To 401 East Chestnut Street Louisville Kentucky
GAY (and stinky) DOGS [scat] by Entomb
Cinepacks.store
Music Archives | Hotel Grand Bach - Hotel GrandBach
270 West Michigan residents receive expert driver’s license restoration advice at last major Road to Restoration Clinic of the year
Natureza e Qualidade de Produtos - Gestão da Qualidade
Sitcoms Online Message Board
7440 Dean Martin Dr Suite 204 Directions
charleston cars & trucks - by owner - craigslist
Craigslist Farm And Garden Tallahassee Florida
Money blog: Domino's withdraws popular dips; 'we got our dream £30k kitchen for £1,000'
Colorado mayor, police respond to Trump's claims that Venezuelan gang is 'taking over'
Vermont Craigs List
Video shows two planes collide while taxiing at airport | CNN
Itziar Atienza Bikini
Craigslist Mt Pleasant Sc
Publix Super Market At Rainbow Square Shopping Center Dunnellon Photos
How Long After Dayquil Can I Take Benadryl
What Are The Symptoms Of A Bad Solenoid Pack E4od?
Happy Homebodies Breakup
Prot Pally Wrath Pre Patch
Fleet Farm Brainerd Mn Hours
Divina Rapsing
Roanoke Skipthegames Com
January 8 Jesus Calling
Culver's.comsummerofsmiles
Speechwire Login
Spirited Showtimes Near Marcus Twin Creek Cinema
James Ingram | Biography, Songs, Hits, & Cause of Death
Citibank Branch Locations In Orlando Florida
Craigslist Gigs Norfolk
6143 N Fresno St
Panchitos Harlingen Tx
THE 10 BEST Yoga Retreats in Konstanz for September 2024
Kgirls Seattle
Plead Irksomely Crossword
Spn-523318
Craigslist Free Manhattan
Silive Obituary
Ehome America Coupon Code
Senior Houses For Sale Near Me
Gary Vandenheuvel Net Worth
Lawrence E. Moon Funeral Home | Flint, Michigan
The Pretty Kitty Tanglewood
Goosetown Communications Guilford Ct
91 East Freeway Accident Today 2022
Latest Posts
How Does Canvas Detect Cheating and Plagiarism?
Hard Drive Failure Signs, Causes, Diagnosis, and Fixes
Article information
Author: Kerri Lueilwitz
Last Updated:
Views: 6717
Rating: 4.7 / 5 (67 voted)
Reviews: 90% of readers found this page helpful
Author information
Name: Kerri Lueilwitz
Birthday: 1992-10-31
Address: Suite 878 3699 Chantelle Roads, Colebury, NC 68599
Phone: +6111989609516
Job: Chief Farming Manager
Hobby: Mycology, Stone skipping, Dowsing, Whittling, Taxidermy, Sand art, Roller skating
Introduction: My name is Kerri Lueilwitz, I am a courageous, gentle, quaint, thankful, outstanding, brave, vast person who loves writing and wants to share my knowledge and understanding with you.