QuadrupleCartesianProd#
- class pinnx.problem.QuadrupleCartesianProd(X_train, y_train, X_test, y_test)[source]#
Cartesian Product input data format for MIONet architecture.
This dataset can be used with the network
MIONetCartesianProdfor operator learning.- Parameters:
X_train – A tuple of three NumPy arrays. The first element has the shape (N1, dim1), the second element has the shape (N1, dim2), and the third element has the shape (N2, dim3).
y_train – A NumPy array of shape (N1, N2).