/** * Broadcasts this ndarray to be the specified shape * * @param shape the new shape of this ndarray * @return the broadcasted ndarray */ @Override public INDArray broadcast(long... shape) { return broadcast(Nd4j.createUninitialized(shape)); }
/** * Broadcasts this ndarray to be the specified shape * * @param shape the new shape of this ndarray * @return the broadcasted ndarray */ @Override public IComplexNDArray broadcast(int[] shape) { return (IComplexNDArray) super.broadcast(shape); }