Enhance slice operation to support more range variation #4806
Annotations
1 error and 1 warning
crates/burn-import/src/onnx/op_configuration.rs#L1341
[clippy] reported by reviewdog 🐶
error: manual implementation of an assign operation
--> crates/burn-import/src/onnx/op_configuration.rs:1341:13
|
1341 | *axis = *axis + input_dim as i64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `*axis += input_dim as i64`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern
= note: `-D clippy::assign-op-pattern` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::assign_op_pattern)]`
Raw Output:
crates/burn-import/src/onnx/op_configuration.rs:1341:13:e:error: manual implementation of an assign operation
--> crates/burn-import/src/onnx/op_configuration.rs:1341:13
|
1341 | *axis = *axis + input_dim as i64;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `*axis += input_dim as i64`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern
= note: `-D clippy::assign-op-pattern` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::assign_op_pattern)]`
__END__
|
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/
|
This job succeeded
Loading