MCPcopy Create free account
hub / github.com/MarkFzp/act-plus-plus / forward

Method forward

train_actuator_network.py:263–269  ·  view source on GitHub ↗

Arguments: x: Tensor, shape ``[seq_len, batch_size, embedding_dim]``

(self, x)

Source from the content-addressed store, hash-verified

261 self.register_buffer('pe', pe)
262
263 def forward(self, x):
264 """
265 Arguments:
266 x: Tensor, shape ``[seq_len, batch_size, embedding_dim]``
267 """
268 x = x + self.pe[:x.size(0)]
269 return self.dropout(x)
270
271def get_norm_stats(dataset_path_list):
272 all_commanded_speed = []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected