PhysicsLossGradient<T>

Models & Types · AiDotNet.PhysicsInformed

Holds loss and gradient information for physics-informed objectives.

Constructors

Constructor Summary
PhysicsLossGradient(int outputDimension, int inputDimension, INumericOperations<T> numOps) Initializes a new instance of the PhysicsLossGradient class.

Properties

Property Summary
T Loss { get; set; } Gets or sets the loss value for this sample.
Tensor<T> FirstDerivatives { get; set; } Gradient of loss with respect to first derivatives, shape [output_dim, input_dim].
Tensor<T> SecondDerivatives { get; set; } Gradient of loss with respect to second derivatives, shape [output_dim, input_dim, input_dim].
Vector<T> OutputGradients { get; set; } Gradient of loss with respect to outputs.