diff --git a/tensorflow/core/util/padding.h b/tensorflow/core/util/padding.h index 6c109d15d36..90e353d23fa 100644 --- a/tensorflow/core/util/padding.h +++ b/tensorflow/core/util/padding.h @@ -38,7 +38,8 @@ class NodeDef; // dimensions as the input. // EXPLICIT: The user specifies the pad values in the explicit_paddings // attribute. -// The padded area is zero-filled. +// The padded area is typically zero-filled. For pooling ops, the padded area is +// instead ignored. For max pool, this is equivalent to padding with -infinity. enum Padding { VALID = 1, // No padding. SAME = 2, // Input and output layers have the same size.