Skip to content

Remove unnecessary subsections, make order consistent - #711

Merged
fdwr merged 2 commits into
webmachinelearning:mainfrom
inexorabletash:tidy-subsections
Jun 26, 2024
Merged

Remove unnecessary subsections, make order consistent#711
fdwr merged 2 commits into
webmachinelearning:mainfrom
inexorabletash:tidy-subsections

Conversation

@inexorabletash

@inexorabletash inexorabletash commented Jun 25, 2024

Copy link
Copy Markdown
Contributor

With two MLActivation-vending overloads removed, two subsection headers could be removed.

But that pointed out where ordering for the "emulation" section in overloaded methods was inconsistent. So tidy that up too.


Preview | Diff

The MLActivation-vending overloads for clamp() and softmax() were removed, so for consistency these methods should no longer have an `<h4>`.

Also, make the order match the other non-overloaded methods:

* Description
* IDL
* Options (if provided)
* Arguments
* Returns
* Method algorithm
* Emulation (if provided)

(The methods with overloads put the emulation before the method
algorithms for some reason.)
For methods with MLActivation-vending overloads, the emulation /
decomposition was given before the steps for either the MLOperand or
MLActivation steps, which is misleadng - the MLActivation is fused and
can't be emulated with the current API.

Make the order consistent, and put the emulation after the emulated
steps.
@inexorabletash
inexorabletash requested review from fdwr and huningxin June 25, 2024 23:37
@inexorabletash

Copy link
Copy Markdown
Contributor Author

Another trivial cleanup - mostly just moving blocks of text around. PTAL?

@huningxin huningxin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@fdwr fdwr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

馃憤

Consistent order = 馃檪

  • Description
  • IDL
  • Options (if provided)
  • Arguments
  • Returns
  • Method algorithm
  • Emulation (if provided)

@fdwr
fdwr merged commit f7ceef9 into webmachinelearning:main Jun 26, 2024
github-actions Bot added a commit that referenced this pull request Jun 26, 2024
SHA: f7ceef9
Reason: push, by fdwr

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@inexorabletash
inexorabletash deleted the tidy-subsections branch June 26, 2024 02:40
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