MCPcopy Create free account
hub / github.com/Apress/quantum-machine-learning-python / forward

Method forward

Chapter_6/listing6_1/QCNN.py:90–91  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

88 self.shift = shift
89
90 def forward(self, input):
91 return QuantumFunction.apply(input, self.q_circuit, self.shift)
92
93
94class QCNNet(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected