Skip to content

nn.Sequential cannot accept multiple inputs #701

Answered by rasbt
Shamik-07 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the comments @Shamik-07 and @casinca . Like @casinca pointed out the comment is actually correct as we use:

        for block in self.trf_blocks:
            x = block(x, mask, self.cos, self.sin)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@rasbt
Comment options

Answer selected by Shamik-07
@Shamik-07
Comment options

@Shamik-07
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants