description: "4-D. Gradients w.r.t. the output of `max_pool`."
type_attr: "T"
type: DT_FLOAT
}
output_arg {
name: "output"
description: "Gradients w.r.t. the input to `max_pool`."
type_attr: "T"
type: DT_FLOAT
}
attr {
name: "ksize"
...
...
@@ -6725,19 +6710,6 @@ op {
}
}
}
attr {
name: "T"
type: "type"
default_value {
type: DT_FLOAT
}
allowed_values {
list {
type: DT_FLOAT
type: DT_HALF
}
}
}
summary: "Computes gradients of the maxpooling function."
}
op {
...
...
@@ -6745,12 +6717,12 @@ op {
input_arg {
name: "input"
description: "The original input."
type_attr: "T"
type: DT_FLOAT
}
input_arg {
name: "grad"
description: "4-D with shape `[batch, height, width, channels]`. Gradients w.r.t. the\noutput of `max_pool`."
type_attr: "T"
type: DT_FLOAT
}
input_arg {
name: "argmax"
...
...
@@ -6760,7 +6732,7 @@ op {
output_arg {
name: "output"
description: "Gradients w.r.t. the input of `max_pool`."
type_attr: "T"
type: DT_FLOAT
}
attr {
name: "ksize"
...
...
@@ -6797,19 +6769,6 @@ op {
}
}
}
attr {
name: "T"
type: "type"
default_value {
type: DT_FLOAT
}
allowed_values {
list {
type: DT_FLOAT
type: DT_HALF
}
}
}
summary: "Computes gradients of the maxpooling function."
}
op {
...
...
@@ -6817,12 +6776,12 @@ op {
input_arg {
name: "input"
description: "4-D with shape `[batch, height, width, channels]`. Input to pool over."
type_attr: "T"
type: DT_FLOAT
}
output_arg {
name: "output"
description: "The max pooled output tensor."
type_attr: "T"
type: DT_FLOAT
}
output_arg {
name: "argmax"
...
...
@@ -6867,19 +6826,6 @@ op {
}
}
}
attr {
name: "T"
type: "type"
default_value {
type: DT_FLOAT
}
allowed_values {
list {
type: DT_FLOAT
type: DT_HALF
}
}
}
summary: "Performs max pooling on the input and outputs both max values and indices."
description: "The indices in `argmax` are flattened, so that a maximum value at position\n`[b, y, x, c]` becomes flattened index\n`((b * height + y) * width + x) * channels + c`."