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

Function constant

tensorflow/tensorflow/python/keras/backend.py:914–929  ·  view source on GitHub ↗

Creates a constant tensor. Arguments: value: A constant value (or list) dtype: The type of the elements of the resulting tensor. shape: Optional dimensions of resulting tensor. name: Optional name for the tensor. Returns: A Constant Tensor.

(value, dtype=None, shape=None, name=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

floatxFunction · 0.85
constantMethod · 0.45

Tested by

no test coverage detected