MCPcopy Create free account
hub / github.com/alibaba/nann / _assert_at_most_n_true

Function _assert_at_most_n_true

tensorflow/tensorflow/python/ops/control_flow_ops.py:3017–3035  ·  view source on GitHub ↗

Returns an Assert op that checks that at most n predicates are True. Args: predicates: list of bool scalar tensors. n: maximum number of true predicates allowed. msg: Error message.

(predicates, n, msg)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

default_actionFunction · 0.85
_case_helperFunction · 0.85

Calls 6

reduce_sumMethod · 0.80
AssertFunction · 0.70
stackMethod · 0.45
castMethod · 0.45
constantMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected