Skip to content

[wasm] Add SquaredDifference kernel. #3053

@santhiya-v

Description

@santhiya-v

tfjs-node / tfjs-backend-wasm version

1.7.2

Problem

I am running my model using tfjs-node code and it works fine(tensorflow backend). When I try to use 'wasm' backend (for performance), I get following error :

Error: 'squaredDifference' not yet implemented or not found in the registry. Did you forget to import the kernel?

Model :

I am using the transformer model (depthwise separable convolutions) from https://github.com/reiinakano/arbitrary-image-stylization-tfjs

Is there any way support for this kernel in 'wasm' can be achieved?

Thanks.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions