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

Replace vectorized packed div with channel-wise implementation to fix layers tests. #1513

Merged
merged 3 commits into from
Jan 25, 2019

Conversation

annxingyuan
Copy link
Collaborator

@annxingyuan annxingyuan commented Jan 25, 2019

This fixes tensorflow/tfjs#1140.

Added issue to track the mystery: tensorflow/tfjs#1141


This change is Reviewable

Copy link
Contributor

@nsthorat nsthorat left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 1 approvals obtained (waiting on @annxingyuan, @dsmilkov, and @nsthorat)


src/kernels/webgl/binaryop_packed_gpu.ts, line 23 at r1 (raw file):

// We do the same as in ./binaryop_gpu, with vec4 and ivec4.
// TODO(https://github.com/tensorflow/tfjs/issues/1141): Understand why

can we write a unit test to catch this?

@annxingyuan annxingyuan merged commit a71964b into master Jan 25, 2019
@annxingyuan annxingyuan deleted the replace_vectorized_packed_div_with_explicit branch January 25, 2019 19:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tfjs-core@master breaks layers
2 participants