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

Method body

tensorflow/contrib/rate/rate_test.py:73–79  ·  view source on GitHub ↗
(value, denom, i, ret_rate)

Source from the content-addressed store, hash-verified

71 r_ = rate.Rate()
72
73 def body(value, denom, i, ret_rate):
74 i += 1
75 ret_rate = r_(value, denom)
76 with ops.control_dependencies([ret_rate]):
77 value = math_ops.add(value, 2)
78 denom = math_ops.add(denom, 1)
79 return [value, denom, i, ret_rate]
80
81 def condition(v, d, i, r):
82 del v, d, r # unused vars by condition

Callers 15

BuildWhileOperatorMethod · 0.45
matchAndRewriteMethod · 0.45
IsAlreadyOutlineddFunction · 0.45
OutlineWhileMethod · 0.45
runOnFunctionMethod · 0.45
UpdateFunctionTypesFunction · 0.45
VerifyFunction · 0.45
PrintFunction · 0.45
VerifyFunction · 0.45
AnalyzeFunctionMethod · 0.45
MergeIslandFunction · 0.45
runOnModuleMethod · 0.45

Calls 2

control_dependenciesMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected