Have a question? Connect with the community at the TensorFlow Forum Visit Forum

TensorDebugMode

public final enum TensorDebugMode

 Available modes for extracting debugging information from a Tensor.
 TODO(cais): Document the detailed column names and semantics in a separate
 markdown file once the implementation settles.
 
Protobuf enum tensorflow.TensorDebugMode

Constants

int CONCISE_HEALTH_VALUE
 A concise health summary for float-type tensors.
int CURT_HEALTH_VALUE
 A minimalist health summary for float-type tensors.
int FULL_HEALTH_VALUE
 A detailed health summary.
int FULL_NUMERICS_VALUE
 Full numeric summary.
int FULL_TENSOR_VALUE
 Full tensor value.
int NO_TENSOR_VALUE
 Only records what tensors are computed, eagerly or in graphs.
int REDUCE_INF_NAN_THREE_SLOTS_VALUE
 Reduce the elements of a tensor to a rank-1 tensor of shape [3], in which
 - the 1st element is -inf if any element of the tensor is -inf,
   or zero otherwise.
int SHAPE_VALUE
 Provides full runtime shape information, up to a maximum rank, beyond
 which the dimension sizes are truncated.
int UNSPECIFIED_VALUE UNSPECIFIED = 0;

Inherited Methods

Enum Values

public static final TensorDebugMode CONCISE_HEALTH

 A concise health summary for float-type tensors.
 Contains more information that CURT_HEALTH.
 Infinity and NaN are treated differently.
 Applicable only to float and integer dtypes.
 
CONCISE_HEALTH = 3;

public static final TensorDebugMode CURT_HEALTH

 A minimalist health summary for float-type tensors.
 Contains information only about the presence/absence of pathological
 values including Infinity and NaN.
 Applicable only to float dtypes.
 
CURT_HEALTH = 2;

public static final TensorDebugMode FULL_HEALTH

 A detailed health summary.
 Contains further detailed information than `CONCISE_HEALTH`.
 Information about device, dtype and shape are included.
 Counts for various types of values (Infinity, NaN, negative, zero,
 positive) are included.
 Applicable to float, integer and boolean dtypes.
 
FULL_HEALTH = 4;

public static final TensorDebugMode FULL_NUMERICS

 Full numeric summary.
 Including device, dtype, shape, counts of various types of values
 (Infinity, NaN, negative, zero, positive), and summary statistics
 (minimum, maximum, mean and variance).
 Applicable to float, integer and boolean dtypes.
 
FULL_NUMERICS = 6;

public static final TensorDebugMode FULL_TENSOR

 Full tensor value.
 
FULL_TENSOR = 7;

public static final TensorDebugMode NO_TENSOR

 Only records what tensors are computed, eagerly or in graphs.
 No information regarding the value of the tensor is available.
 
NO_TENSOR = 1;

public static final TensorDebugMode REDUCE_INF_NAN_THREE_SLOTS

 Reduce the elements of a tensor to a rank-1 tensor of shape [3], in which
 - the 1st element is -inf if any element of the tensor is -inf,
   or zero otherwise.
 - the 2nd element is +inf if any element of the tensor is +inf,
   or zero otherwise.
 - the 3rd element is nan if any element of the tensor is nan, or zero
   otherwise.
 
REDUCE_INF_NAN_THREE_SLOTS = 8;

public static final TensorDebugMode SHAPE

 Provides full runtime shape information, up to a maximum rank, beyond
 which the dimension sizes are truncated.
 
SHAPE = 5;

public static final TensorDebugMode UNRECOGNIZED

public static final TensorDebugMode UNSPECIFIED

UNSPECIFIED = 0;

Constants

public static final int CONCISE_HEALTH_VALUE

 A concise health summary for float-type tensors.
 Contains more information that CURT_HEALTH.
 Infinity and NaN are treated differently.
 Applicable only to float and integer dtypes.
 
CONCISE_HEALTH = 3;

Constant Value: 3

public static final int CURT_HEALTH_VALUE

 A minimalist health summary for float-type tensors.
 Contains information only about the presence/absence of pathological
 values including Infinity and NaN.
 Applicable only to float dtypes.
 
CURT_HEALTH = 2;

Constant Value: 2

public static final int FULL_HEALTH_VALUE

 A detailed health summary.
 Contains further detailed information than `CONCISE_HEALTH`.
 Information about device, dtype and shape are included.
 Counts for various types of values (Infinity, NaN, negative, zero,
 positive) are included.
 Applicable to float, integer and boolean dtypes.
 
FULL_HEALTH = 4;

Constant Value: 4

public static final int FULL_NUMERICS_VALUE

 Full numeric summary.
 Including device, dtype, shape, counts of various types of values
 (Infinity, NaN, negative, zero, positive), and summary statistics
 (minimum, maximum, mean and variance).
 Applicable to float, integer and boolean dtypes.
 
FULL_NUMERICS = 6;

Constant Value: 6

public static final int FULL_TENSOR_VALUE

 Full tensor value.
 
FULL_TENSOR = 7;

Constant Value: 7

public static final int NO_TENSOR_VALUE

 Only records what tensors are computed, eagerly or in graphs.
 No information regarding the value of the tensor is available.
 
NO_TENSOR = 1;

Constant Value: 1

public static final int REDUCE_INF_NAN_THREE_SLOTS_VALUE

 Reduce the elements of a tensor to a rank-1 tensor of shape [3], in which
 - the 1st element is -inf if any element of the tensor is -inf,
   or zero otherwise.
 - the 2nd element is +inf if any element of the tensor is +inf,
   or zero otherwise.
 - the 3rd element is nan if any element of the tensor is nan, or zero
   otherwise.
 
REDUCE_INF_NAN_THREE_SLOTS = 8;

Constant Value: 8

public static final int SHAPE_VALUE

 Provides full runtime shape information, up to a maximum rank, beyond
 which the dimension sizes are truncated.
 
SHAPE = 5;

Constant Value: 5

public static final int UNSPECIFIED_VALUE

UNSPECIFIED = 0;

Constant Value: 0