MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / __hash__

Method __hash__

python/paddle/static/python_op.py:152–153  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

150 self.params = params
151
152 def __hash__(self):
153 return custom_hash(self.params)
154
155 def __eq__(self, other):
156 if not isinstance(other, ConstantParams):

Callers

nothing calls this directly

Calls 1

custom_hashFunction · 0.85

Tested by

no test coverage detected