Enum TensorDebugMode
- All Implemented Interfaces:
Internal.EnumLite, ProtocolMessageEnum, Serializable, Comparable<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-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA concise health summary for float-type tensors.A minimalist health summary for float-type tensors.A detailed health summary.Full numeric summary.Full tensor value.Only records what tensors are computed, eagerly or in graphs.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.Provides full runtime shape information, up to a maximum rank, beyond which the dimension sizes are truncated.UNSPECIFIED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intA concise health summary for float-type tensors.static final intA minimalist health summary for float-type tensors.static final intA detailed health summary.static final intFull numeric summary.static final intFull tensor value.static final intOnly records what tensors are computed, eagerly or in graphs.static final intReduce 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.static final intProvides full runtime shape information, up to a maximum rank, beyond which the dimension sizes are truncated.static final intUNSPECIFIED = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic TensorDebugModeforNumber(int value) static final Descriptors.EnumDescriptorfinal intstatic Internal.EnumLiteMap<TensorDebugMode> static TensorDebugModevalueOf(int value) Deprecated.static TensorDebugModeReturns the enum constant of this type with the specified name.static TensorDebugModeReturns the enum constant of this type with the specified name.static TensorDebugMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
UNSPECIFIED = 0; -
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; -
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; -
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; -
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; -
SHAPE
Provides full runtime shape information, up to a maximum rank, beyond which the dimension sizes are truncated.
SHAPE = 5; -
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; -
FULL_TENSOR
Full tensor value.
FULL_TENSOR = 7; -
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; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEUNSPECIFIED = 0;- See Also:
-
NO_TENSOR_VALUE
public static final int NO_TENSOR_VALUEOnly records what tensors are computed, eagerly or in graphs. No information regarding the value of the tensor is available.
NO_TENSOR = 1;- See Also:
-
CURT_HEALTH_VALUE
public static final int CURT_HEALTH_VALUEA 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;- See Also:
-
CONCISE_HEALTH_VALUE
public static final int CONCISE_HEALTH_VALUEA 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;- See Also:
-
FULL_HEALTH_VALUE
public static final int FULL_HEALTH_VALUEA 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;- See Also:
-
SHAPE_VALUE
public static final int SHAPE_VALUEProvides full runtime shape information, up to a maximum rank, beyond which the dimension sizes are truncated.
SHAPE = 5;- See Also:
-
FULL_NUMERICS_VALUE
public static final int FULL_NUMERICS_VALUEFull 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;- See Also:
-
FULL_TENSOR_VALUE
public static final int FULL_TENSOR_VALUEFull tensor value.
FULL_TENSOR = 7;- See Also:
-
REDUCE_INF_NAN_THREE_SLOTS_VALUE
public static final int REDUCE_INF_NAN_THREE_SLOTS_VALUEReduce 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;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfaceInternal.EnumLite- Specified by:
getNumberin interfaceProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
- Specified by:
getValueDescriptorin interfaceProtocolMessageEnum
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceProtocolMessageEnum
-
getDescriptor
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-