• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ddemidov / vexcl / 740
32%

Build:
DEFAULT BRANCH: master
Ran 02 Mar 2015 07:14PM UTC
Jobs 2
Files 82
Run time 5min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
740

push

travis-ci

ddemidov
Implemented tensor dot product operation

Given two tensors (arrays of dimension greater than or equal to one),
A and B, and a list of axes pairs (where each pair represents corresponding
axes from two tensors), sums the products of A's and B's elements over the
given axes.

Inspired by python's numpy.tensordot operation.

For example, with tensordot a dense matrix-matrix product may be represented as:

    slicer<2> Adim(extents[N][M]);
    slicer<2> Bdim(extents[M][L]);

    // C = A * B
    C = tensordot(Adim[_](A), Bdim[_](B), axes_pairs(1, 0));

This should perform better than the following combination of reshape and
reduce (see #31):

    C = reduce<SUM>(
                extents[N][M][L],
                reshape(A, extents[N][M][L], extents[0][1]) *
                reshape(B, extents[N][M][L], extents[1][2]),
                extents[1]
                );

13228 of 13734 relevant lines covered (96.32%)

67697.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 740.1 02 Mar 2015 07:19PM UTC 0
96.82
Travis Job 740.1
2 740.2 02 Mar 2015 07:14PM UTC 0
94.09
Travis Job 740.2
Source Files on build 740
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #740
  • 3e452b72 on github
  • Prev Build on master (#737)
  • Next Build on master (#741)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc