未验证 提交 34b79d94 编写于 作者: 王明冬 提交者: GitHub

pass enhance: fix the sequence_conv.pbtxt error, test=develop (#33603)

上级 a327369a
......@@ -117,7 +117,7 @@ InputOrOutputCompat& InputOrOutputCompat::IsOptional() {
bool InputOrOutputCompat::operator()(
const std::vector<std::string>& input) const {
if (input.empty()) return false;
if (input.empty()) return optional_;
for (auto& func : conditions_) {
if (!func(input)) {
return false;
......
......@@ -12,23 +12,42 @@ def {
outputs {
name: "Out"
}
}
extra {
attrs {
name: "paddingTrainable"
type: BOOLEAN
}
attrs {
name: "contextLength"
type: INT
}
attrs {
attrs {
name: "contextStart"
type: INT
}
attrs {
attrs {
name: "contextStride"
type: INT
}
}
}
extra {
attrs {
name: "paddingTrainable"
type: BOOLEAN
}
attrs {
name: "op_role"
type: INT
}
attrs {
name: "op_role_var"
type: STRINGS
}
attrs {
name: "op_namescope"
type: STRING
}
attrs {
name: "op_callstack"
type: STRINGS
}
attrs {
name: "op_device"
type: STRING
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册