Tudyx / ai-dataloader

A rust port of pytorch dataloader
Apache License 2.0
22 stars 1 forks source link

chore(deps): update ndarray-rand requirement from 0.14.0 to 0.15.0 #82

Open dependabot[bot] opened 4 months ago

dependabot[bot] commented 4 months ago

Updates the requirements on ndarray-rand to permit the latest version.

Changelog

Sourced from ndarray-rand's changelog.

Version 0.15.0 (2021-03-25)

New features

  • Support inserting new axes while slicing by [@​jturner314]. This is an example:

    let view = arr.slice(s![.., -1, 2..;-1, NewAxis]);
    

    rust-ndarray/ndarray#570

  • Support two-sided broadcasting in arithmetic operations with arrays by [@​SparrowLii]

    This now allows, for example, addition of a 3 x 1 with a 1 x 3 array; the operands are in this case broadcast to 3 x 3 which is the shape of the result.

    Note that this means that a new trait bound is required in some places when mixing dimensionality types of arrays in arithmetic operations.

    rust-ndarray/ndarray#898

  • Support for compiling ndarray as no_std (using core and alloc) by [@​xd009642] and [@​bluss]

    rust-ndarray/ndarray#861 rust-ndarray/ndarray#889

  • New methods .cell_view() and ArrayViewMut::into_cell_view that enable new ways of working with array elements as if they were in Cells - setting elements through shared views and broadcast views, by [@​bluss].

    rust-ndarray/ndarray#877

  • New methods slice_each_axis/_mut/_inplace that make it easier to slice a dynamic number of axes in some situations, by [@​jturner314]

    rust-ndarray/ndarray#913

  • New method a.assign_to(b) with the inverse argument order compared to the existing b.assign(a) and some extra features like assigning into uninitialized arrays, By [@​bluss].

    rust-ndarray/ndarray#947

  • New methods .std() and .var() for standard deviation and variance by [@​kdubovikov]

... (truncated)

Commits
  • 84fe611 Merge pull request #1414 from rust-ndarray/release-0.16
  • b592995 Bump to ndarray 0.16 and ndarray-rand 0.15
  • 825e80b Update changelog for ndarray 0.16 and ndarray-rand 0.15
  • b03953a Check for aliasing in RawViewMut::from_shape_ptr
  • 9873c0a Merge pull request #1411 from rust-ndarray/ci
  • 3de33e4 ci: Require rustfmt check
  • 98c2f25 ci: Require nostd build
  • 8cbc348 ci: Remove duplicated test in cargo-careful
  • e9e8c9d Merge pull request #1410 from rust-ndarray/aliasing-checks
  • 516a504 Allow aliasing in ArrayView::from_shape
  • Additional commits viewable in compare view


You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.