(self, x)
| 589 | return torch.FloatTensor(sinusoid_table).unsqueeze(0) |
| 590 | |
| 591 | def forward(self, x): |
| 592 | return self.pos_table[:, :x].clone().detach() |
| 593 | |
| 594 | class 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): |
nothing calls this directly
no outgoing calls
no test coverage detected