Support GDAS (FRC), see details in docs/CVPR-2019-GDAS.md

This commit is contained in:
D-X-Y
2020-08-18 00:50:33 +00:00
parent 75eefa3d44
commit ffd23a6cbd
7 changed files with 212 additions and 17 deletions

View File

@@ -163,6 +163,10 @@ class NASNetSearchCell(nn.Module):
self.edge2index = {key:i for i, key in enumerate(self.edge_keys)}
self.num_edges = len(self.edges)
@property
def multiplier(self):
return self._multiplier
def forward_gdas(self, s0, s1, weightss, indexs):
s0 = self.preprocess0(s0)
s1 = self.preprocess1(s1)