def image_custom():

생략

class model(nn.module):

def __init__(self):

-----생략 ----




a = model()

b = model()

iteration = 300


for epoch in range(iteration):

for input, label in dataloader:

a(input)

b(image_custom(input))


이렇게 하면 model이라는 신경망 클래스가 a, b로부터 학습되는거임?

아님 a따로 b따로 학습 되는거?


후자라면 어캐 전자처럼 만들 수 있음?