Skip to content

Commit

Permalink
Bump actions/cache from 2.1.7 to 3 (#1305)
Browse files Browse the repository at this point in the history
* 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](actions/cache@v2.1.7...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* apply code-format changes

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and dependabot[bot] committed Mar 25, 2022
1 parent 5ef76d3 commit 4fb2e3c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions tools/convert_tool/onnx/onnx2tengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 4fb2e3c

Please sign in to comment.