I am working on a project where I intend to do some performance analysis on MultiLayerNetworks. As the title says it, I intend to create a random INDArray of inputs and labels of arbitrary size, which will be used as (training-)input for an arbitrary MultiLayerNetwork. To be perhaps more precise, I want to generate inputs suitable for any given MultiLayerNetwork. I tried using Nd4j.rand
and Nd4j.zeros
to generate inputs and labels for the network, however as far as I understand, different layers have different shape requirements. Any help/advice is much appreciated. Thanks in advance!
Note: I am not interested in the data itself, or the outcomes: Generating random data is enough in my case.