|View source on GitHub|
Assert the condition
x <= 0 holds element-wise.
tf.compat.v2.debugging.assert_non_positive( x, message=None, summarize=None, name=None )
This Op checks that
x[i] <= 0 holds for every element of
empty, this is trivially satisfied.
x is not <= 0 everywhere,
message, as well as the first
x are printed, and
InvalidArgumentError is raised.
||A string to prefix to the default message.|
||Print this many entries of each tensor.|
||A name for this operation (optional). Defaults to "assert_non_positive".|
if the check can be performed immediately and