From c17096fe7722db28f36c4c6a66f19bc7014fccfb Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Fri, 8 Sep 2017 11:36:42 -0700 Subject: [PATCH] Update ops-related pbtxt files. PiperOrigin-RevId: 168023895 --- .../core/ops/compat/ops_history.v1.pbtxt | 132 ++++++++++++++++++ tensorflow/core/ops/ops.pbtxt | 4 + 2 files changed, 136 insertions(+) diff --git a/tensorflow/core/ops/compat/ops_history.v1.pbtxt b/tensorflow/core/ops/compat/ops_history.v1.pbtxt index 70f47641eb2..4919266d8ee 100644 --- a/tensorflow/core/ops/compat/ops_history.v1.pbtxt +++ b/tensorflow/core/ops/compat/ops_history.v1.pbtxt @@ -13516,6 +13516,74 @@ op { } } } +op { + name: "MaxPool" + input_arg { + name: "input" + type_attr: "T" + } + output_arg { + name: "output" + type_attr: "T" + } + attr { + name: "T" + type: "type" + default_value { + type: DT_FLOAT + } + allowed_values { + list { + type: DT_FLOAT + type: DT_DOUBLE + type: DT_INT32 + type: DT_INT64 + type: DT_UINT8 + type: DT_INT16 + type: DT_INT8 + type: DT_UINT16 + type: DT_HALF + type: DT_QINT8 + } + } + } + attr { + name: "ksize" + type: "list(int)" + has_minimum: true + minimum: 4 + } + attr { + name: "strides" + type: "list(int)" + has_minimum: true + minimum: 4 + } + attr { + name: "padding" + type: "string" + allowed_values { + list { + s: "SAME" + s: "VALID" + } + } + } + attr { + name: "data_format" + type: "string" + default_value { + s: "NHWC" + } + allowed_values { + list { + s: "NHWC" + s: "NCHW" + s: "NCHW_VECT_C" + } + } + } +} op { name: "MaxPool3D" input_arg { @@ -14478,6 +14546,70 @@ op { } } } +op { + name: "MaxPoolV2" + input_arg { + name: "input" + type_attr: "T" + } + input_arg { + name: "ksize" + type: DT_INT32 + } + input_arg { + name: "strides" + type: DT_INT32 + } + output_arg { + name: "output" + type_attr: "T" + } + attr { + name: "T" + type: "type" + default_value { + type: DT_FLOAT + } + allowed_values { + list { + type: DT_FLOAT + type: DT_DOUBLE + type: DT_INT32 + type: DT_INT64 + type: DT_UINT8 + type: DT_INT16 + type: DT_INT8 + type: DT_UINT16 + type: DT_HALF + type: DT_QINT8 + } + } + } + attr { + name: "padding" + type: "string" + allowed_values { + list { + s: "SAME" + s: "VALID" + } + } + } + attr { + name: "data_format" + type: "string" + default_value { + s: "NHWC" + } + allowed_values { + list { + s: "NHWC" + s: "NCHW" + s: "NCHW_VECT_C" + } + } + } +} op { name: "MaxPoolWithArgmax" input_arg { diff --git a/tensorflow/core/ops/ops.pbtxt b/tensorflow/core/ops/ops.pbtxt index 27163b7df2e..9e5d9d78475 100644 --- a/tensorflow/core/ops/ops.pbtxt +++ b/tensorflow/core/ops/ops.pbtxt @@ -12629,6 +12629,7 @@ op { type: DT_INT8 type: DT_UINT16 type: DT_HALF + type: DT_QINT8 } } } @@ -12668,6 +12669,7 @@ op { list { s: "NHWC" s: "NCHW" + s: "NCHW_VECT_C" } } } @@ -13402,6 +13404,7 @@ op { type: DT_INT8 type: DT_UINT16 type: DT_HALF + type: DT_QINT8 } } } @@ -13427,6 +13430,7 @@ op { list { s: "NHWC" s: "NCHW" + s: "NCHW_VECT_C" } } }