Skip to content

Added a filter for ops with ref-valued inputs that are not supported. #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 31, 2019

Conversation

eaplatanios
Copy link
Contributor

@eaplatanios eaplatanios commented Mar 31, 2019

Changes:

  • Added compatibility with Python 3.
  • Added a filter for ops with ref-valued inputs that are not supported.
  • Regenerated bindings for TF commit 5e8df789cc30098d791475c14a623ec68b50b4ed with PR #27327 on top of it.

The last one generates a large diff and not sure if it break compatibility with anything. Should I split it out as a separate PR?

@rxwei rxwei self-requested a review March 31, 2019 18:49
Copy link
Contributor

@rxwei rxwei left a comment

Choose a reason for hiding this comment

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

Thanks!

@rxwei
Copy link
Contributor

rxwei commented Mar 31, 2019

  • Regenerated bindings for TF commit 5e8df789cc30098d791475c14a623ec68b50b4ed with PR #27327 on top of it.

Since this contains some change that hasn't been merged yet, we should wait for it to merge first.

@eaplatanios
Copy link
Contributor Author

@rxwei Sounds good! I removed the unmerged op. The generated module now contains everything from core TF repo commit 5e8df789cc30098d791475c14a623ec68b50b4ed.

@rxwei
Copy link
Contributor

rxwei commented Mar 31, 2019

Great. Thanks.

@rxwei rxwei merged commit e47ccce into tensorflow:master Mar 31, 2019
@@ -2130,7 +1451,7 @@ public static func avgPool<T: FloatingPoint & TensorFlowScalar>(
ksize: [Int32],
strides: [Int32],
padding: Padding,
dataFormat: DataFormat = .nhwc
dataFormat: DataFormat = .b'nhwc'
Copy link
Contributor

Choose a reason for hiding this comment

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

@eaplatanios This is malformed and causing swiftlang/swift#23700 to fail. I'm going to revert this PR for now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh I know why this happens. It’s a Python 3 compatibility bug. I’ll fix it once I get to my laptop.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in #19 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants