From 4fd275750047ef6252a35356fba04f66d6c4b4ef Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Thu, 1 Oct 2020 13:18:20 -0700 Subject: [PATCH] Update ops-related pbtxt files. PiperOrigin-RevId: 334883220 Change-Id: I3f96bed3524ed3257d629a57d914b23a62ae7678 --- .../ops_history_v2/FusedBatchNormGradV3.pbtxt | 96 ++++++++++++++++ .../ops_history_v2/FusedBatchNormV3.pbtxt | 103 ++++++++++++++++++ tensorflow/core/ops/ops.pbtxt | 4 + 3 files changed, 203 insertions(+) diff --git a/tensorflow/core/ops/compat/ops_history_v2/FusedBatchNormGradV3.pbtxt b/tensorflow/core/ops/compat/ops_history_v2/FusedBatchNormGradV3.pbtxt index b1576ffb772..aa05a575bfe 100644 --- a/tensorflow/core/ops/compat/ops_history_v2/FusedBatchNormGradV3.pbtxt +++ b/tensorflow/core/ops/compat/ops_history_v2/FusedBatchNormGradV3.pbtxt @@ -92,3 +92,99 @@ op { } } } +op { + name: "FusedBatchNormGradV3" + input_arg { + name: "y_backprop" + type_attr: "T" + } + input_arg { + name: "x" + type_attr: "T" + } + input_arg { + name: "scale" + type: DT_FLOAT + } + input_arg { + name: "reserve_space_1" + type_attr: "U" + } + input_arg { + name: "reserve_space_2" + type_attr: "U" + } + input_arg { + name: "reserve_space_3" + type_attr: "U" + } + output_arg { + name: "x_backprop" + type_attr: "T" + } + output_arg { + name: "scale_backprop" + type_attr: "U" + } + output_arg { + name: "offset_backprop" + type_attr: "U" + } + output_arg { + name: "reserve_space_4" + type_attr: "U" + } + output_arg { + name: "reserve_space_5" + type_attr: "U" + } + attr { + name: "T" + type: "type" + allowed_values { + list { + type: DT_HALF + type: DT_BFLOAT16 + type: DT_FLOAT + } + } + } + attr { + name: "U" + type: "type" + allowed_values { + list { + type: DT_FLOAT + } + } + } + attr { + name: "epsilon" + type: "float" + default_value { + f: 0.0001 + } + } + attr { + name: "data_format" + type: "string" + default_value { + s: "NHWC" + } + allowed_values { + list { + s: "NHWC" + s: "NCHW" + s: "NDHWC" + s: "NCDHW" + } + } + } + attr { + name: "is_training" + type: "bool" + default_value { + b: true + } + } +} diff --git a/tensorflow/core/ops/compat/ops_history_v2/FusedBatchNormV3.pbtxt b/tensorflow/core/ops/compat/ops_history_v2/FusedBatchNormV3.pbtxt index 6df70795677..834ff00a0b3 100644 --- a/tensorflow/core/ops/compat/ops_history_v2/FusedBatchNormV3.pbtxt +++ b/tensorflow/core/ops/compat/ops_history_v2/FusedBatchNormV3.pbtxt @@ -99,3 +99,106 @@ op { } } } +op { + name: "FusedBatchNormV3" + input_arg { + name: "x" + type_attr: "T" + } + input_arg { + name: "scale" + type_attr: "U" + } + input_arg { + name: "offset" + type_attr: "U" + } + input_arg { + name: "mean" + type_attr: "U" + } + input_arg { + name: "variance" + type_attr: "U" + } + output_arg { + name: "y" + type_attr: "T" + } + output_arg { + name: "batch_mean" + type_attr: "U" + } + output_arg { + name: "batch_variance" + type_attr: "U" + } + output_arg { + name: "reserve_space_1" + type_attr: "U" + } + output_arg { + name: "reserve_space_2" + type_attr: "U" + } + output_arg { + name: "reserve_space_3" + type_attr: "U" + } + attr { + name: "T" + type: "type" + allowed_values { + list { + type: DT_HALF + type: DT_BFLOAT16 + type: DT_FLOAT + } + } + } + attr { + name: "U" + type: "type" + allowed_values { + list { + type: DT_FLOAT + } + } + } + attr { + name: "epsilon" + type: "float" + default_value { + f: 0.0001 + } + } + attr { + name: "exponential_avg_factor" + type: "float" + default_value { + f: 1 + } + } + attr { + name: "data_format" + type: "string" + default_value { + s: "NHWC" + } + allowed_values { + list { + s: "NHWC" + s: "NCHW" + s: "NDHWC" + s: "NCDHW" + } + } + } + attr { + name: "is_training" + type: "bool" + default_value { + b: true + } + } +} diff --git a/tensorflow/core/ops/ops.pbtxt b/tensorflow/core/ops/ops.pbtxt index 99a3e1d18dd..aa28282fb12 100644 --- a/tensorflow/core/ops/ops.pbtxt +++ b/tensorflow/core/ops/ops.pbtxt @@ -17475,6 +17475,8 @@ op { list { s: "NHWC" s: "NCHW" + s: "NDHWC" + s: "NCDHW" } } } @@ -17673,6 +17675,8 @@ op { list { s: "NHWC" s: "NCHW" + s: "NDHWC" + s: "NCDHW" } } }