tfjs icon indicating copy to clipboard operation
tfjs copied to clipboard

Types for typescript are not exported for @tensorflow/tfjs-layers

Open mctrafik opened this issue 1 year ago • 0 comments

I'm importing @tensorflow/[email protected] and most of the api subpackages have corresponding *.d.ts files, but nothing in the -layers package. JS only. I've checked for @types/tensorflow__tfjs-layers and they haven't been generated either. So I think this is an oversight somewhere. Makes it impossible to do classification in typescript. Please fix.

Describe the current behavior

tf.sequential is undefined No types declared for @tensorflow/tfjs-layers.

Describe the expected behavior

I expect the types to be exported so typescript applications could compile.

mctrafik avatar Sep 20 '22 20:09 mctrafik