Skip to content

Extend tf.unsorted_segment_sum to allow 'rejecting' entries #478

Closed

Description

@panmari

As already discussed in #466, it would be useful to be able to mark entries which are not to be summed anywhere by assigning negative indexes (or just -1) there. @girving suggested, that this behavior should only be enabled when setting a flag (e. g. drop_negatives) to preserve the existing error detection behavior, which I support.

Activity

  1. added
    stat:contribution welcome
    on Mar 8, 2016
  2. added
    type:feature
    and removed on Feb 9, 2017
  3. yongtang commented on Sep 15, 2017

    @yongtang
    Member

    Added a PR #13055 for the fix.

  4. added a commit that references this issue on Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stat:contribution welcometype:feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions