MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _fast_fill

Function _fast_fill

tensorflow/python/eager/backprop.py:620–623  ·  view source on GitHub ↗
(value, shape, dtype)

Source from the content-addressed store, hash-verified

618
619
620def _fast_fill(value, shape, dtype):
621 return array_ops.fill(
622 constant_op.constant(shape, dtype=dtypes.int32),
623 constant_op.constant(value, dtype=dtype))
624
625
626def _zeros(shape, dtype):

Callers 2

_zerosFunction · 0.85
_onesFunction · 0.85

Calls 2

fillMethod · 0.80
constantMethod · 0.45

Tested by

no test coverage detected