compute_base Interface

interface
private module function compute_base(this, predicted, expected) result(output)

Arguments

Type IntentOptional Attributes Name
class(base_loss_type), intent(in), target :: this

Instance of the physics-informed neural network loss function

type(array_type), intent(inout), dimension(:,:), target :: predicted

Predicted values

type(array_type), intent(in), dimension(size(predicted,1),size(predicted,2)) :: expected

Expected values

Return Value type(array_type),pointer

Physics-informed neural network loss

Description

Compute the loss of a model