Releases: lululxvi/deepxde
Releases · lululxvi/deepxde
DeepXDE v0.11.0
We stop the support of Python 2.7 from this release.
Areas of improvement
- Vectorize geometry related methods
PDEsupports resample PDE residual points via callbackPDEResidualResampler- Implement
Polygon.boundary_normal()
New APIs
- Add multifidelity DeepONet
API changes
- Geometry-related methods (
inside,on_boundary,on_initial,boundary_normal,periodic_point) now use the 2d input of shape N by d, not a 1d vector.
DeepXDE v0.10.0
Areas of improvement
PDEsupports excluded points- Add
PointSetBCfor training using exact solution. - Add
Hypersphere.boundary_normal() - Add
Triangle.inside()
API changes
PDEdoesn't support numpy.arrayXas the third parameter. To define pde with extra coefficients, usePDE(..., auxiliary_var_function=...), see an example at Lorenz_inverse_forced_Colab.ipynb.
DeepXDE v0.9.1
Areas of improvement
Model.predict()supports PDE with two or three argumentsPDEsupports different loss functions for different errorsHypercube.uniform_points()uses the same dx in each dimension
New APIs
- Add metric:
nanl2_relative_error,zero - Add callback:
Timer
DeepXDE v0.9.0
New module
- Add new module
dde.gradto compute gradients viadde.grad.jacobian()anddde.grad.hessian()
Areas of improvement
- Bug fix:
GeometryXTime.periodic_point()
DeepXDE v0.8.6
Areas of improvement
Model.save()supports picklePDE- supports
pdeasNone - supports
bcsas the empty list[] - accepts
train_distribution= 'uniform' or 'pseudo' or 'sobol'
- supports
OpNNsupports user-defined branch netOpDataSetsupports mini-batch training
API changes
- Rename
Model._print_model()toModel.print_model()
New APIs
- Add
Model.state_dict() - Add
PDE.resample_train_points()
DeepXDE v0.8.5
Areas of improvement
- Add
Triangle.on_boundaryandTriangle.boundary_normal OpNNsupports different activations for branch and trunk nets- Bug fix:
GeometryXTime.uniform_points
DeepXDE v0.8.4
Areas of improvement
- Support numpy inputs to define PDE
- Bug fix: Hypershpere sobol points
New APIs
- Add feed-forward neural networks (
PFNN) that support sub-networks - Add fractional PDE (
FPDEandTimeFPDE) with fractional Laplacian
DeepXDE v0.8.3
Areas of improvement
- Bug fix:
Cuboid.random_boundary_points()
DeepXDE v0.8.2
Areas of improvement
OpNNcan be partially trainedDirichletBCsupports functions that returns a numberDataSetdoes not standardize by default- Add
Swishactivation - Bug fix in loss plot
DeepXDE v0.8.1
Areas of improvement
- Add loss: mean absolute error
- Bug fix:
Geometrypoint sampling