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

Method f

tensorflow/python/saved_model/load_test.py:228–236  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

226 x_out = []
227
228 def f(x, y):
229 x_in.append(x)
230 xx = cond_v2.cond_v2(
231 math_ops.less(1, 2),
232 lambda: x + 1,
233 lambda: x + 2,
234 )
235 x_out.append(xx)
236 return xx, 2 * y
237
238 f_wrapped = wrap_function.wrap_function(
239 f, [tensor_spec.TensorSpec((), dtypes.float32)] * 2)

Calls 5

mulClass · 0.85
sumFunction · 0.85
appendMethod · 0.45
read_valueMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected