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

rlworkgroup / garage / 3138
65%
master: 64%

Build:
Build:
LAST BUILD BRANCH: release-2018.10
DEFAULT BRANCH: master
Ran 30 Oct 2018 12:04AM UTC
Jobs 1
Files 238
Run time 25s
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
3138

Pull #375

travis-ci-com

web-flow
Fix TensorFlow warning in NPO about IndexedSlices

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.
Pull Request #375: Fix TensorFlow warning in NPO about IndexedSlices

2 of 2 new or added lines in 2 files covered. (100.0%)

9421 of 14635 relevant lines covered (64.37%)

0.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3138.1 30 Oct 2018 12:04AM UTC 0
64.37
Travis Job 3138.1
Source Files on build 3138
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #3138
  • Pull Request #375
  • PR Base - master (#3129)
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