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

Method forward

LDPS_Graph/models/Stat_models.py:15–18  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

13 self.pred_len = configs.pred_len
14
15 def forward(self, x):
16 B,L,D = x.shape
17 x = x[:,-1,:].reshape(B,1,D).repeat(self.pred_len,axis=1)
18 return x # [B, L, D]
19
20class Naive_thread(threading.Thread):
21 def __init__(self,func,args=()):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected