未验证 提交 4fb2e3c3 编写于 作者: D dependabot[bot] 提交者: GitHub

Bump actions/cache from 2.1.7 to 3 (#1305)

* Bump actions/cache from 2.1.7 to 3

Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...
Signed-off-by: Ndependabot[bot] <support@github.com>

* apply code-format changes
Co-authored-by: Ndependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ndependabot[bot] <dependabot[bot]@users.noreply.github.com>
上级 5ef76d38
......@@ -41,7 +41,7 @@ jobs:
# - name: cache-qemu
# id: cache-qemu
# uses: actions/cache@v2.1.7
# uses: actions/cache@v3
# with:
# path: qemu-install
# key: qemu-arm-install-1
......@@ -90,7 +90,7 @@ jobs:
# - name: cache-qemu
# id: cache-qemu
# uses: actions/cache@v2.1.7
# uses: actions/cache@v3
# with:
# path: qemu-install
# key: qemu-aarch64-install-1
......@@ -194,7 +194,7 @@ jobs:
- name: cache-qemu
id: cache-qemu
uses: actions/cache@v2.1.7
uses: actions/cache@v3
with:
path: qemu-install
key: qemu-mips64el-install-1
......
......@@ -326,10 +326,12 @@ int onnx_serializer::load_constant_tensor(ir_graph_t* graph, const onnx::GraphPr
{
if (node_tensor.count(node.input(inp_idx)) == 0)
continue;
if (!logged) {
if (!logged)
{
logged = true;
if (!(op == "Reshape" || op == "Gather" || op == "Div" || op == "Resize" || op == "Upsample"
|| op == "Clip" || op == "Slice" || op == "Expand")) {
|| op == "Clip" || op == "Slice" || op == "Expand"))
{
auto msg = "Load a Constant node \"%s\" as input[%d] of node \"%s\".\n";
printf(msg, node.input(inp_idx).c_str(), inp_idx, node.name().c_str());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册