Categories
Misc

[tf.js] Is there an equivalent to Keras’ Resizing layer?

I’m using tensorflow.js and I need a layer that can take in an image and output the image resized at a new resolution (bilinear filtering is fine.) I can’t find one in the tf.js API so I’m not sure what I can use. I need to make sure the model can still be serialized to disk, so I think writing a custom layer class might be off the table.

Any help would be appreciated.

submitted by /u/SaltyKoopa
[visit reddit] [comments]

Leave a Reply

Your email address will not be published. Required fields are marked *