MCPcopy Create free account
hub / github.com/EternityZY/STNSCM / initHidden

Method initHidden

model/Encoder.py:138–153  ·  view source on GitHub ↗

建立RNN初始出入的隐藏层,该隐藏层不需要计算梯度 :param batch_size: :param num_nodes: :param hidden_dim: :return:

(self, batch_size, num_nodes, hidden_dim)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

forwardMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected