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

Function ZeroDimArrayToScalar

tensorflow/tensorflow/python/lib/core/py_seq_tensor.cc:71–79  ·  view source on GitHub ↗

If the input is a zero dimensional PyArray return it converted to a scalar. Otherwise return the input and increment its reference count. Users must Py_DECREF the output of this method.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

InferShapeAndTypeFunction · 0.85
py_seq_tensor.ccFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected