MCPcopy Create free account
hub / github.com/rushter/MLAlgorithms / __init__

Method __init__

mla/neuralnet/layers/basic.py:137–138  ·  view source on GitHub ↗
(self, step=-1)

Source from the content-addressed store, hash-verified

135 """Take a specific time step from 3D tensor."""
136
137 def __init__(self, step=-1):
138 self.step = step
139
140 def forward_pass(self, x):
141 return x[:, self.step, :]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected