Skip to content
This repository has been archived by the owner on Aug 15, 2019. It is now read-only.

Align expandDims with TF for negative axis #1141

Merged
merged 3 commits into from
Jul 10, 2018

Conversation

Lewuathe
Copy link
Contributor

@Lewuathe Lewuathe commented Jul 4, 2018

Description

BUG

expandDims in TF supports negative value as axis. In that case, it is counted backward from the end. TensorFlow.js can be aligned with TF implementation.

see: tensorflow/tfjs#428


For repository owners only:

Please remember to apply all applicable tags to your pull request.
Tags: FEATURE, BREAKING, BUG, PERF, DEV, DOC, SECURITY

For more info see: https://github.com/tensorflow/tfjs/blob/master/DEVELOPMENT.md


This change is Reviewable

Copy link
Contributor

@dsmilkov dsmilkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Kai!

Reviewed 2 of 2 files at r1.
Reviewable status: 0 of 1 approvals obtained

@dsmilkov dsmilkov merged commit 1e6c19b into tensorflow:master Jul 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants