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

Method model

tensorflow/lite/python/lite_mlir_test.py:325–327  ·  view source on GitHub ↗
(x, b)

Source from the content-addressed store, hash-verified

323 tensor_spec.TensorSpec(shape=(), dtype=dtypes.bool)
324 ])
325 def model(x, b):
326 return control_flow_ops.cond(
327 b, true_fn=lambda: true_fn(x), false_fn=lambda: false_fn(x))
328
329 concrete_func = model.get_concrete_function()
330

Callers

nothing calls this directly

Calls 4

true_fnFunction · 0.85
condMethod · 0.45
splitMethod · 0.45
while_loopMethod · 0.45

Tested by

no test coverage detected