mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-02 03:55:34 +00:00
parent
627f5c9767
commit
c0116af619
3 changed files with 7 additions and 2 deletions
|
|
@ -34,6 +34,7 @@ export const WEBGPU_OP_RESOLVE_RULES: Map<string, OperatorImplementation> = new
|
|||
['Div', [binaryOps.div]],
|
||||
['Elu', [unaryOps.elu, unaryOps.parseAlphaAttributes]],
|
||||
['Erf', [unaryOps.erf]],
|
||||
['Exp', [unaryOps.exp]],
|
||||
['Floor', [unaryOps.floor]],
|
||||
['Gemm', [gemm, parseGemmAttributes]],
|
||||
['GlobalAveragePool', [pool.globalAveragePool, pool.parseGlobalAveragePoolAttributes]],
|
||||
|
|
|
|||
|
|
@ -161,6 +161,10 @@ export const erf = (context: ComputeContext): void => {
|
|||
}`));
|
||||
};
|
||||
|
||||
export const exp = (context: ComputeContext): void => {
|
||||
context.compute(createElementwiseProgramInfoLoader(context.inputs[0], 'Exp', 'exp'));
|
||||
};
|
||||
|
||||
export const floor = (context: ComputeContext): void => {
|
||||
context.compute(createElementwiseProgramInfoLoader(context.inputs[0], 'Floor', 'floor'));
|
||||
};
|
||||
|
|
|
|||
|
|
@ -517,8 +517,8 @@
|
|||
// "test_equal_bcast",
|
||||
// "test_equal",
|
||||
"test_erf",
|
||||
// "test_exp_example",
|
||||
// "test_exp",
|
||||
"test_exp_example",
|
||||
"test_exp",
|
||||
// "test_expand_dim_changed",
|
||||
// "test_expand_dim_unchanged",
|
||||
// "test_eyelike_populate_off_main_diagonal",
|
||||
|
|
|
|||
Loading…
Reference in a new issue