Module: tf.debugging

Public API for tf.debugging namespace.

Modules

experimental module: Public API for tf.debugging.experimental namespace.

Functions

Assert(...): Asserts that the given condition is true.

assert_all_finite(...): Assert that the tensor does not contain any NaN's or Inf's.

assert_equal(...): Assert the condition x == y holds element-wise.

assert_greater(...): Assert the condition x > y holds element-wise.

assert_greater_equal(...): Assert the condition x >= y holds element-wise.

assert_integer(...): Assert that x is of integer dtype.

assert_less(...): Assert the condition x < y holds element-wise.

assert_less_equal(...): Assert the condition x <= y holds element-wise.

assert_near(...): Assert the condition x and y are close element-wise.

assert_negative(...): Assert the condition x < 0 holds element-wise.

assert_non_negative(...): Assert the condition x >= 0 holds element-wise.

assert_non_positive(...): Assert the condition x <= 0 holds element-wise.

assert_none_equal(...): Assert the condition x != y holds for all elements.

assert_positive(...): Assert the condition x > 0 holds element-wise.

assert_proper_iterable(...): Static assert that values is a "proper" iterable.

assert_rank(...): Assert that x has rank equal to rank.

assert_rank_at_least(...): Assert that x has rank of at least rank.

assert_rank_in(...): Assert that x has a rank in ranks.

assert_same_float_dtype(...): Validate and return float type based on tensors and dtype.

assert_scalar(...): Asserts that the given tensor is a scalar.

assert_shapes(...): Assert tensor shapes and dimension size relationships between tensors.

assert_type(...): Asserts that the given Tensor is of the specified type.

check_numerics(...): Checks a tensor for NaN and Inf values.

disable_check_numerics(...): Disable the eager/graph unified numerics checking mechanism.

disable_traceback_filtering(...): Disable filtering out TensorFlow-internal frames in exception stack traces.

enable_check_numerics(...): Enable tensor numerics checking in an eager/graph unified fashion.

enable_traceback_filtering(...): Enable filtering out TensorFlow-internal frames in exception stack traces.

get_log_device_placement(...): Get if device placements are logged.

is_numeric_tensor(...): Returns True if the elements of tensor are numbers.

is_traceback_filtering_enabled(...): Check whether traceback filtering is currently enabled.

set_log_device_placement(...): Turns logging for device placement decisions on or off.