MCPcopy Create free account
hub / github.com/Anoise/WTFlib / forward

Method forward

LDPS_Graph/models/Mvstgn.py:591–592  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

589 return torch.FloatTensor(sinusoid_table).unsqueeze(0)
590
591 def forward(self, x):
592 return self.pos_table[:, :x].clone().detach()
593
594class Model(nn.Module):
595 def __init__(self, args, meta_shape=None, cross_shape=None, growth_rate=12, num_init_features=12, bn_size=4, drop_rate=0.2, nb_flows=1):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected