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

ddemidov / vexcl / 740 / 1
32%
master: 32%

Build:
DEFAULT BRANCH: master
Ran 02 Mar 2015 07:19PM UTC
Files 82
Run time 9s
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

02 Mar 2015 06:55PM UTC coverage: 96.819% (+0.03%) from 96.786%
740.1

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]
                );

12478 of 12888 relevant lines covered (96.82%)

43145.26 hits per line

Source Files on job 740.1
  • Tree
  • List 0
  • Changed 38
  • Source Changed 1
  • Coverage Changed 38
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 740
  • Travis Job 740.1
  • 3e452b72 on github
  • Prev Job for on master (#737.1)
  • Next Job for on master (#741.1)
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