<@UQGG9A0LX> do you think it is possible to build ...
# datascience
р
@zaleslaw do you think it is possible to build DCGANs with KotlinDL? They have stuff like LeaklyReLU, BatchNorm2d for example?
Is there a way to work directly with tensors in KoltinDL or you can only build models sequentially with the provided layers?
f
If not, what is the lib to work with tensor that supports GPU?
р
@Filipe Duarte, you should be able to use tensorflow or deeplearning4j ecosystem
👍 1
z
At the current release 0.1.1, KotlinDL supports only Sequential models with VGG style architecture, since release 0.2 will support Functional API to build models like ResNet or MobileNet. BatchNorm2d could be executed in inference mode only in 0.2, Conv2dTranspose or Upsampling2D will be supported later, closer to the end of 2021. I suppose GANs architectures are not the main goal now. About tensor manipulations - it's not a goal of KotlinDL, for tensor manipulations could be used Java API Tensorflow (old or new).
р
thanks for the update 👍
@zaleslaw you run inference on
Array<Array<FloatArray>>
here . I am sure you would prefer to have a genuine tensor library behind KotlinDL
why not integrating with kmath