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

Function constant_v1

tensorflow/tensorflow/python/framework/constant_op.py:100–161  ·  view source on GitHub ↗

Creates a constant tensor. The resulting tensor is populated with values of type `dtype`, as specified by arguments `value` and (optionally) `shape` (see examples below). The argument `value` can be a constant value, or a list of values of type `dtype`. If `value` is a list, then the len

(
    value, dtype=None, shape=None, name="Const", verify_shape=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

_constant_implFunction · 0.85

Tested by

no test coverage detected