Skip to content

Implement ONNX Pad Operator #4873

Implement ONNX Pad Operator

Implement ONNX Pad Operator #4873

Triggered via pull request July 15, 2024 15:32
Status Success
Total duration 23m 56s
Artifacts

test.yml

on: pull_request
check-typos
14s
check-typos
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
tests (ubuntu-22.04, stable, std): crates/burn-import/src/onnx/op_configuration.rs#L788
[clippy] reported by reviewdog 🐶 error: the loop variable `index` is used to index `pads` --> crates/burn-import/src/onnx/op_configuration.rs:788:22 | 788 | for index in 0..pads.len() { | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop = note: `-D clippy::needless-range-loop` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_range_loop)]` help: consider using an iterator and enumerate() | 788 | for (index, <item>) in pads.iter().enumerate() { | ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ Raw Output: crates/burn-import/src/onnx/op_configuration.rs:788:22:e:error: the loop variable `index` is used to index `pads` --> crates/burn-import/src/onnx/op_configuration.rs:788:22 | 788 | for index in 0..pads.len() { | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop = note: `-D clippy::needless-range-loop` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_range_loop)]` help: consider using an iterator and enumerate() | 788 | for (index, <item>) in pads.iter().enumerate() { | ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ __END__
tests (ubuntu-22.04, stable, std)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/