IN=7
HU=35
model=nn.Sequential(nn.Linear(IN,HU),nn.Dropout(p=0.1),
                    nn.ReLU(),
                    nn.Linear(HU,HU),
                    nn.ReLU(),
                    nn.Linear(HU,HU),
                    nn.ReLU(),
                    nn.Linear(HU,IN),nn.Dropout(p=0.1),
                    nn.ReLU(),
                    nn.Linear(IN,1))

def create_ensembles(num):
    ensembles=[model for i in range(num)]
    
    return ensembles

ensembles=create ensembles(10)

Does this create 10 isolated neural networks that can be trained by looping? Or these are connected? I want to train these and use majority voting for classification.