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

Function constant

tensorflow/tensorflow/python/framework/constant_op.py:165–227  ·  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")

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 1

_constant_implFunction · 0.85