MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / __eq__

Method __eq__

machine_learning/automatic_differentiation.py:152–153  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

150 self.output = output
151
152 def __eq__(self, value) -> bool:
153 return self.op_type == value if isinstance(value, OpType) else False
154
155
156class GradientTracker:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected