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

rlworkgroup / garage / 3155
64%

Build:
DEFAULT BRANCH: master
Ran 30 Oct 2018 07:54PM UTC
Jobs 1
Files 238
Run time 23s
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
3155

push

travis-ci-com

web-flow
Fix TensorFlow warning in NPO about IndexedSlices (#375)

NPO uses a boolean valid_var tensor to select a slice from a variety
of tensors related to action, policy and advantages. Previously we
used tf.boolean_mask() to do the selection, which internally calls
tf.gather() that emits tf.IndexedSlices. When calculating BP,
tf.IndexedSlices will be casted into a dense tf.Tensor with a
"Converting sparse IndexedSlices to a dense Tensor of unknown shape"
warning. This fix replaces tf.boolean_mask() with
tf.dynamic_partition(), which don't have such problem.

This difference of behavior is not documented in Tensorflow. It is
not clear if tf.dynamic_partition() will cause performance
regression.

This fixes #289.

1 of 1 new or added line in 1 file covered. (100.0%)

9527 of 14635 relevant lines covered (65.1%)

0.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3155.1 30 Oct 2018 07:54PM UTC 0
65.1
Travis Job 3155.1
Source Files on build 3155
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #3155
  • 53c06edc on github
  • Prev Build on master (#3141)
  • Next Build on master (#3164)
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