public Builder setShape(org.nd4j.ir.TensorNamespace.TensorShapeProto value) {
          if (shapeBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }