提交 97fc525a 编写于 作者: R Rebecca Chen 提交者: A. Unique TensorFlower

Internal change

PiperOrigin-RevId: 490370810
上级 f8be82fe
......@@ -311,7 +311,7 @@ class NHNet(Bert2Bert):
return _symbols_to_logits_fn
def call(self, inputs, mode="training"):
def call(self, inputs, mode="training"): # pytype: disable=signature-mismatch # overriding-default-value-checks
input_shape = tf_utils.get_shape_list(inputs["input_ids"], expected_rank=3)
batch_size, num_docs, len_passage = (input_shape[0], input_shape[1],
input_shape[2])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册