You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def createFeature(input, layers):
res = layers0
tensor = res
for layer in layers[1:]:
if isinstance(layer, Add):
tensor = layer([tensor, res])
res = tensor
else:
tensor = layer(tensor)
return tensor
Why doesn't this need to be modified like this? Sorry, I am a new novice and I hope to get your reply.
def createFeature(input, layers):
res = layers0
tensor = res
for layer in layers[1:]:
for lay in layer:
if isinstance(lay, Add):
tensor = lay([tensor, res])
res = tensor
else:
tensor = lay(tensor)
return tensor
The text was updated successfully, but these errors were encountered:
def createFeature(input, layers):
res = layers0
tensor = res
for layer in layers[1:]:
if isinstance(layer, Add):
tensor = layer([tensor, res])
res = tensor
else:
tensor = layer(tensor)
return tensor
Why doesn't this need to be modified like this? Sorry, I am a new novice and I hope to get your reply.
def createFeature(input, layers):
res = layers0
tensor = res
for layer in layers[1:]:
for lay in layer:
if isinstance(lay, Add):
tensor = lay([tensor, res])
res = tensor
else:
tensor = lay(tensor)
return tensor
The text was updated successfully, but these errors were encountered: