Skip to content

Conversation

@alexandermorozov
Copy link
Contributor

This PR depends on #85 and autumnai/collenchyma#57.

It replaces &vec![...] with &[...] where appropriate. I think it's a good change since it removes unneeded allocations and makes lines a bit shorter )

The patch also removes one redundant .clone() call.

If you think that PR to collenchyma isn't worth it, I can change this PR to use tuples instead of arrays.

Edit: travis'll fail this commit until collenchyma's PR is merged and crate published.

Looks like benchmarks are superseded by examples/benchmarks.rs and should
be removed altogether, but while they are here they should at least compile
cleanly. Well, now benches compile but panic on tensor dimension mismatch.
@GitCop
Copy link

GitCop commented Mar 20, 2016

There were the following issues with your Pull Request

  • Commit: c57172b
    • Your subject line is longer than 100 characters

Guidelines are available at https://github.com/autumnai/leaf/blob/develop/CONTRIBUTING.md#git-commit-guidelines


This message was auto-generated by https://gitcop.com

@homu
Copy link
Collaborator

homu commented Mar 30, 2016

☔ The latest upstream changes (presumably #85) made this pull request unmergeable. Please resolve the merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants