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

pyro-ppl / pyro / 5105007466 / 1
92%
dev: 92%

Build:
DEFAULT BRANCH: dev
Ran 28 May 2023 03:44PM UTC
Files 316
Run time 4s
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

28 May 2023 03:22PM UTC coverage: 25.636% (-36.9%) from 62.532%
5105007466.1

push

github

web-flow
make ProvenanceTensor behave more like a Tensor (closes #3218) (#3220)

* make ProvenanceTensor behave more like a Tensor (closes #3218)

the data is now stored in the Tensor itself instead of an attribute.
This fixes torch.to_tensor returning empty tensors when called with a
ProvenanceTensor and and a device as arguments

* fix compatibility with PyTorch 1.11

* make detach_provenance always return the exact same object

this is important when using Tensors as keys in a dict, e.g.
the Pyro param store

* preserve .unconstrained attribute in detach_provenance

* simplify

* add unit test

* simplify further

* use Tensor.as_subclass instead of modifying __class__

also remove unnecessary check in __init__

6334 of 24707 relevant lines covered (25.64%)

0.26 hits per line

Source Files on job 5105007466.1
  • Tree
  • List 0
  • Changed 172
  • Source Changed 0
  • Coverage Changed 172
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5105007466
  • 831c4633 on github
  • Prev Job for on dev (#5104645152.1)
  • Next Job for on dev (#5107108773.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