MCPcopy
hub / github.com/TheAlgorithms/Python / add_output

Method add_output

machine_learning/automatic_differentiation.py:149–150  ·  view source on GitHub ↗
(self, output: Variable)

Source from the content-addressed store, hash-verified

147 self.params = params
148
149 def add_output(self, output: Variable) -> None:
150 self.output = output
151
152 def __eq__(self, value) -> bool:
153 return self.op_type == value if isinstance(value, OpType) else False

Callers 1

appendMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected