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

Method numpy

tensorflow/tensorflow/python/framework/ops.py:918–934  ·  view source on GitHub ↗

Returns a numpy array or a scalar with the same contents as the Tensor. TODO(ashankar,agarwal): Perhaps this should NOT reference the underlying buffer but instead always explicitly copy? Note that currently it may or may not copy based on whether the numpy data is properly aligned or n

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

testBasicsMethod · 0.45
testSaveByDictMethod · 0.45
testRestoreOnCreateMethod · 0.45
testMeanMethod · 0.45
testInitVariablesMethod · 0.45
testWeightedMeanMethod · 0.45
testMeanDtypeMethod · 0.45
testAccuracyMethod · 0.45

Calls 2

_numpyMethod · 0.95
copyMethod · 0.45

Tested by 15

testBasicsMethod · 0.36
testSaveByDictMethod · 0.36
testRestoreOnCreateMethod · 0.36
testMeanMethod · 0.36
testInitVariablesMethod · 0.36
testWeightedMeanMethod · 0.36
testMeanDtypeMethod · 0.36
testAccuracyMethod · 0.36