Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
620
def
_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
626
def
_zeros(shape, dtype):
Callers
2
_zeros
Function · 0.85
_ones
Function · 0.85
Calls
2
fill
Method · 0.80
constant
Method · 0.45
Tested by
no test coverage detected