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

Function fill

tensorflow/tensorflow/python/ops/array_ops.py:137–173  ·  view source on GitHub ↗

r"""Creates a tensor filled with a scalar value. This operation creates a tensor of shape `dims` and fills it with `value`. For example: ``` # Output tensor has shape [2, 3]. fill([2, 3], 9) ==> [[9, 9, 9] [9, 9, 9]] ``` `tf.fill` differs from `tf.constant` i

(dims, value, name=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

zerosFunction · 0.70
onesFunction · 0.70
InitializeFunction · 0.50
UpdatePartitionsMethod · 0.50
PartitionExamplesMethod · 0.50
TESTFunction · 0.50
EvalFunction · 0.50
TESTFunction · 0.50
FillMethod · 0.50
BumpIndicesMethod · 0.50

Calls 1

fillMethod · 0.80

Tested by 9

TESTFunction · 0.40
TESTFunction · 0.40
XLA_TEST_FFunction · 0.40
CreateTRTEngineMethod · 0.40
AddExampleMethod · 0.40
SampleFunction · 0.40
BytesPerElementHelperFunction · 0.40