Skip to content
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

Add the prelu() algorithm #422

Conversation

zolkis
Copy link
Collaborator

@zolkis zolkis commented Jun 26, 2023

Add the prelu() algorithm.


Preview | Diff

Signed-off-by: Zoltan Kis <zoltan.kis@intel.com>
@zolkis
Copy link
Collaborator Author

zolkis commented Jun 27, 2023

Depends on #408.

@anssiko
Copy link
Member

anssiko commented Jun 29, 2023

@zolkis, this is failing CI build, please check.

index.bs Outdated
1. If |input| or |slope| is not an instance of {{MLOperand}}, then throw a "{{TypeError}}" {{DOMException}} and stop.
1. Let |descriptor| be a new {{MLOperandDescriptor}}.
1. Set |descriptor|.{{MLOperandDescriptor/dimensions}}.{{MLOperandDescriptor/type}} to |input|.{{MLOperand/[[descriptor]]}}.{{MLOperandDescriptor/type}}.
1. Let |descriptor|.{{MLOperandDescriptor/dimensions}} be the result of running the [=MLGraphBuilder/broadcast-shapes=] steps given |input|.{{MLOperand/[[descriptor]]}}.{{MLOperandDescriptor/dimensions}} and |slope|.{{MLOperand/[[descriptor]]}}.{{MLOperandDescriptor/dimensions}}.
Copy link
Member

Choose a reason for hiding this comment

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

The CI build fails with:

LINE ~3171: No 'dfn' refs found for 'broadcast-shapes'.

Signed-off-by: Zoltan Kis <zoltan.kis@intel.com>
index.bs Outdated Show resolved Hide resolved
zolkis and others added 2 commits June 29, 2023 11:43
Co-authored-by: Dominique Hazael-Massieux <dom@w3.org>
Signed-off-by: Zoltan Kis <zoltan.kis@intel.com>
Signed-off-by: Zoltan Kis <zoltan.kis@intel.com>
@anssiko
Copy link
Member

anssiko commented Jun 29, 2023

(Merging this PR to the zk-conventions-integration integration branch for staging purposes.)

@anssiko anssiko merged commit 3aad28e into webmachinelearning:zk-conventions-integration Jun 29, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants