mirror of
https://github.com/wassname/pytorch-transformer-ts.git
synced 2026-09-12 12:40:16 +08:00
add param proj
This commit is contained in:
+2
-2
@@ -508,9 +508,9 @@ class TFTModel(nn.Module):
|
||||
past_selection, future_selection, [c_h.unsqueeze(0), c_c.unsqueeze(0)]
|
||||
)
|
||||
|
||||
prams = self.temporal_decoder(encoding, static_enrichment)
|
||||
dec_output = self.temporal_decoder(encoding, static_enrichment)
|
||||
|
||||
return prams
|
||||
return self.param_proj(dec_output)
|
||||
|
||||
@torch.jit.ignore
|
||||
def output_distribution(
|
||||
|
||||
Reference in New Issue
Block a user