From e07ad649c5184b099f1006f62e0534d39ef39e78 Mon Sep 17 00:00:00 2001 From: Sergei Lebedev Date: Mon, 17 Jun 2019 12:27:17 -0700 Subject: [PATCH] Ensure that gen_rnn_ops is loaded on TF import This makes the corresponding ops available under tf.raw_ops. PiperOrigin-RevId: 253635948 --- .../api_def/base_api/api_def_BlockLSTM.pbtxt | 1 + .../base_api/api_def_BlockLSTMGrad.pbtxt | 1 + .../base_api/api_def_GRUBlockCell.pbtxt | 1 + .../base_api/api_def_GRUBlockCellGrad.pbtxt | 1 + .../base_api/api_def_LSTMBlockCell.pbtxt | 1 + .../base_api/api_def_LSTMBlockCellGrad.pbtxt | 1 + tensorflow/python/BUILD | 1 + tensorflow/python/__init__.py | 2 ++ .../api/golden/v1/tensorflow.raw_ops.pbtxt | 24 +++++++++++++++++++ .../api/golden/v2/tensorflow.raw_ops.pbtxt | 24 +++++++++++++++++++ 10 files changed, 57 insertions(+) diff --git a/tensorflow/core/api_def/base_api/api_def_BlockLSTM.pbtxt b/tensorflow/core/api_def/base_api/api_def_BlockLSTM.pbtxt index 9fed86bf5f1..e977dc30959 100644 --- a/tensorflow/core/api_def/base_api/api_def_BlockLSTM.pbtxt +++ b/tensorflow/core/api_def/base_api/api_def_BlockLSTM.pbtxt @@ -1,5 +1,6 @@ op { graph_op_name: "BlockLSTM" + visibility: HIDDEN in_arg { name: "seq_len_max" description: <