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

gorgonia / tensor / 252 / 2
22%
master: 22%

Build:
DEFAULT BRANCH: master
Ran 17 Mar 2020 11:39PM UTC
Files 65
Run time 8s
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

17 Mar 2020 11:35PM UTC coverage: 73.031% (-0.006%) from 73.037%
GOARCH=amd64 BLAS_LIB=OpenBLAS TRAVISTEST=true CUDA=9.1.85-1

push

travis-ci

web-flow
Added RepeatReuse API. (#62)

* Added RepeatReuse API.

Right now any engine implementing Repeater is expected to also
implement RepeatReuse. This imposition is strictly unnecessary, but
also makes the number of possible combinations easier to handle for
now.

The reason for adding `RepeatReuse` is due to benchmarks done by
@mattn who has found that the `Repeat` function in Gorgonia causes a
lot of additional allocation. Given that gorgonia.org/gorgonia can
actually determine ahead of time how much space to use, a RepeatReuse
API was designed rapidly to allow taking advantage of that.

We cannot just tack on a `FuncOpt` to `Repeat` as the variadic
parameters are reserved for the number of repeats to be made. Thus a
new function `RepeatReuse` is required. Originally the name was
`RepeatWithReuse` but that is a rather long name.

* Added more examples to Repeat, if only as a method to document to myself

12210 of 16719 relevant lines covered (73.03%)

18965.5 hits per line

Source Files on job 252.2 (GOARCH=amd64 BLAS_LIB=OpenBLAS TRAVISTEST=true CUDA=9.1.85-1)
  • Tree
  • List 0
  • Changed 30
  • Source Changed 3
  • Coverage Changed 30
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 208
  • Travis Job 252.2
  • fccf77b7 on github
  • Prev Job for GOARCH=amd64 BLAS_LIB=OpenBLAS TRAVISTEST=true CUDA=9.1.85-1 on master (#249.1)
  • Next Job for GOARCH=amd64 BLAS_LIB=OpenBLAS TRAVISTEST=true CUDA=9.1.85-1 on master (#255.2)
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