MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / numpy

Method numpy

tensorflow/python/distribute/values.py:848–853  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

846 return self.primary
847
848 def numpy(self):
849 if context.executing_eagerly():
850 return self.read_value().numpy()
851 else:
852 raise NotImplementedError(
853 "numpy() is only available when eager execution is enabled.")
854
855 @property
856 def handle(self):

Calls 2

read_valueMethod · 0.95
executing_eagerlyMethod · 0.80