MCPcopy Create free account
hub / github.com/alibaba/nann / __eq__

Method __eq__

tensorflow/tensorflow/python/framework/device_spec.py:358–372  ·  view source on GitHub ↗

Checks if the `other` DeviceSpec is same as the current instance, eg have same value for all the internal fields. Args: other: Another DeviceSpec Returns: Return `True` if `other` is also a DeviceSpec instance and has same value as the current instance. Retu

(self, other)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

to_stringMethod · 0.95

Tested by

no test coverage detected