No output arrays were provided


I cannot think of a reason why the following line:

        INDArray concatenatedData = Nd4j.concat(1,
      , all(), interval(0,, interval(1,,
      , all(), all(), interval(1,

causes the following error:
Op name concat - no output arrays were provided and calculateOutputShape failed to execute

Is it because the INDArray concatenatedData was not initialized?


@adonnini check if the features were null somewhere. There’s no “init” anywhere there. The array either exists or it doesn’t.