DAGMA
dagma.nonlinear.DagmaMLP.forward
Initializing search
    kevinsbello/dagma
    • Home
    • Getting Started
    • API Reference
    kevinsbello/dagma
      • Home
      • Getting Started
      • dagma
        • dagma.linear
          • DagmaLinear
            • _score
            • _h
            • _func
            • _adam_update
            • minimize
            • fit
        • dagma.locally_connected
          • LocallyConnected
            • reset_parameters
            • forward
            • extra_repr
        • dagma.nonlinear
          • DagmaMLP
            • forward
            • h_func
            • fc1_l1_reg
            • fc1_to_adj
          • DagmaNonlinear
            • log_mse_loss
            • minimize
            • fit
        • dagma.utils
          • set_random_seed
          • is_dag
          • simulate_dag
          • simulate_parameter
          • simulate_linear_sem
          • simulate_nonlinear_sem
          • count_accuracy

    dagma.nonlinear.DagmaMLP.forward¶

    dagma.nonlinear.DagmaMLP.forward(x: torch.Tensor) → torch.Tensor¶

    Applies the current states of the structural equations to the dataset X

    Parameters:¶
    x : torch.Tensor¶

    Input dataset with shape \((n,d)\).

    Returns:¶

    Result of applying the structural equations to the input data. Shape \((n,d)\).

    Return type:¶

    torch.Tensor


    Last update: Jan 14, 2024
    Back to top
    Previous dagma.nonlinear.DagmaMLP
    Next dagma.nonlinear.DagmaMLP.h_func
    © Copyright 2023, Kevin Bello.
    Created using Sphinx 7.1.2. and Sphinx-Immaterial