We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Error text ($ ./scripts/deploy-demo ... ) :
TypeScript error: src/net.ts(7,14): Error TS2420: Class 'TransformNet' incorrectly implements interface 'Model'. Types of property 'predict' are incompatible. Type '(preprocessedInput: Array3D<"float32" | "int32" | "bool">) => Promise<Array3D<"float32" | "int32"...' is not assignable to type '(input: NDArray<"float32" | "int32" | "bool", "0" | "1" | "2" | "3" | "4" | "higher">) => NDArray...'. Type 'Promise<Array3D<"float32" | "int32" | "bool">>' is not assignable to type 'NDArray<"float32" | "int32" | "bool", "0" | "1" | "2" | "3" | "4" | "higher">'. Property 'id' is missing in type 'Promise<Array3D<"float32" | "int32" | "bool">>'.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error text ($ ./scripts/deploy-demo ... ) :
TypeScript error: src/net.ts(7,14): Error TS2420: Class 'TransformNet' incorrectly implements interface 'Model'.
Types of property 'predict' are incompatible.
Type '(preprocessedInput: Array3D<"float32" | "int32" | "bool">) => Promise<Array3D<"float32" | "int32"...' is not assignable to type '(input: NDArray<"float32" | "int32" | "bool", "0" | "1" | "2" | "3" | "4" | "higher">) => NDArray...'.
Type 'Promise<Array3D<"float32" | "int32" | "bool">>' is not assignable to type 'NDArray<"float32" | "int32" | "bool", "0" | "1" | "2" | "3" | "4" | "higher">'.
Property 'id' is missing in type 'Promise<Array3D<"float32" | "int32" | "bool">>'.
The text was updated successfully, but these errors were encountered: