Skip to content

Conversation

@boshining
Copy link
Contributor

Add ARCI & ARCII module and Modify Conv & Pooling2D & Linear block

string = string * masks
string_out = self.linear(string.float())
if not self.layer_conf.keep_dim:
string_out = torch.squeeze(string_out)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If only one case (batch_size=1) and keep_dim is False, the string_out's shape is [1].

from .HighwayLinear import HighwayLinear, HighwayLinearConf
from .HighwayLinear import HighwayLinear, HighwayLinearConf

from .Gating import Gating, GatingConf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about this?

@adolphk-yk adolphk-yk self-requested a review July 15, 2019 07:31
@boshining boshining requested a review from adolphk-yk July 18, 2019 12:29
@ljshou ljshou merged commit 1b80565 into master Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants