/TensorFlow 2.4


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.

condition A Tensor of type bool. The condition to evaluate.
data A list of Tensor objects. The tensors to print out when condition is false.
summarize An optional int. Defaults to 3. Print this many entries of each tensor.
name A name for the operation (optional).
The created Operation.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.