W3cubDocs

/TensorFlow 1.15

Module: tf.compat.v1.debugging

Public API for tf.debugging 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 element-wise.

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

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

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

assert_rank_at_least(...): Assert x has rank equal to rank or higher.

assert_rank_in(...): Assert x has 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 (i.e. zero-dimensional).

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

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

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

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

is_finite(...): Returns which elements of x are finite.

is_inf(...): Returns which elements of x are Inf.

is_nan(...): Returns which elements of x are NaN.

is_non_decreasing(...): Returns True if x is non-decreasing.

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

is_strictly_increasing(...): Returns True if x is strictly increasing.

set_log_device_placement(...): Set if device placements should be logged.

© 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.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/compat/v1/debugging