MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / Assert

Function Assert

tensorflow/python/ops/control_flow_ops.py:95–138  ·  view source on GitHub ↗

Asserts that the given condition is true. If `condition` evaluates to false, print the list of tensors in `data`. `summarize` determines how many entries of the tensors to print. NOTE: To ensure that Assert executes, one usually attaches a dependency: ```python # Ensure maximum element

(condition, data, summarize=None, name=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_assert_exclusiveFunction · 0.70
new_defaultFunction · 0.70

Calls 4

allFunction · 0.85
name_scopeMethod · 0.80
in_eager_modeMethod · 0.80
condFunction · 0.70

Tested by

no test coverage detected