Documentation references private access functions for TrainingConfig · Issue #10466 · deeplearning4j/deeplearning4j · GitHub
Skip to content

Documentation references private access functions for TrainingConfig #10466

Open

Description

@LanaSina

In: https://deeplearning4j.konduit.ai/nd4j/overview-2/training#listeners


import org.deeplearning4j.optimize.listeners.ScoreIterationListener;

TrainingConfig config = TrainingConfig.builder()
    .updater(new Adam(1e-3))
    .dataSetFeatureMapping("input")
    .dataSetLabelMapping("labels")
    .lossVariables("loss")
    .trainEvaluations("output", 0, new Accuracy())
    .addListener(new ScoreIterationListener(10))   // print every 10 iterations
    .build();

.lossVariables() and trainEvaluations() are private access and cannot be called;
in addition .addListener() does not seem to exist anymore

Activity

  1. changed the title [-]Documentation references private access function[/-] [+]Documentation references private access functions for TrainingConfig[/+] on Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions