Skip to content

implement more of tf.image - #603

Merged
Oceania2018 merged 7 commits into
SciSharp:masterfrom
hcur:master
Aug 22, 2020
Merged

Oceania2018 merged 7 commits into
SciSharp:masterfrom
hcur:master

Conversation

@hcur

@hcur hcur commented Aug 18, 2020 •

Copy link
Copy Markdown
Contributor

^

In response to issue #350.

Implements more functions from tf.image, as well as math_ops.saturate_cast, round, reduce_std, and (partially) tensordot.

Code might be messy in places, so I'm opening this now instead of waiting for the TODO to be finished so that y'all can take a look and review it during that time.

TODO:

  • generate_bounding_box_proposals: calls a gen_op that doesn't exist yet
  • _rot90_3D: calls control_flow_ops.case() which also doesn't exist yet
    • control_flow_ops.case() still hasn't been implemented (fully), but now it can be called without throwing an error
  • total_variance: does some weird stuff (ex: [1:, :, :, :]) that I'm still trying to implement in C#

@hcur
hcur requested a review from Oceania2018 as a code owner August 18, 2020 04:37
@hcur

hcur commented Aug 18, 2020 •

Copy link
Copy Markdown
Contributor Author

I found the source of the build error; I forgot to include some function definitions with this PR, so this should build fine later. Unfortunately, some of them go in gen_ops.cs, and others are being finnicky; I'll get them tomorrow.

@Oceania2018 Oceania2018 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Appreciate your contribution.

@Oceania2018
Oceania2018 merged commit cd43400 into SciSharp:master Aug 22, 2020
@hcur hcur mentioned this pull request Aug 23, 2020
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.

2 participants