Skip to content

Instantly share code, notes, and snippets.

@AlexDBlack
Created August 6, 2018 02:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexDBlack/bdcfce752a812007c3d9e40e0af5ebe0 to your computer and use it in GitHub Desktop.
Save AlexDBlack/bdcfce752a812007c3d9e40e0af5ebe0 to your computer and use it in GitHub Desktop.
DiscreteParameterSpace<List<LayerConstraint>> constrainParamSpace = new DiscreteParameterSpace<>(
Collections.singletonList(new MaxNormConstraint(0.5, 1)),
Collections.singletonList(new MinMaxNormConstraint(0.3, 0.4, 1.0, 1)),
Collections.singletonList(new NonNegativeConstraint()),
Collections.singletonList(new UnitNormConstraint(1))));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment