Skip to content

Commit

Permalink
Adding constructor for alternate matrix factory
Browse files Browse the repository at this point in the history
  • Loading branch information
michaellavelle committed Feb 20, 2020
1 parent cbd1b03 commit 3f7c3f0
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ public QuickstartSessionFactory(boolean isTrainingContext) {
this(DEFAULT_MATRIX_FACTORY, createDefaultDirectedComponentsContext(DEFAULT_MATRIX_FACTORY, isTrainingContext));
}

/**
* Quickstart session factory with all factories set to defaults except for matrix factory
*/
public QuickstartSessionFactory(MatrixFactory matrixFactory, boolean isTrainingContext) {
this(matrixFactory, createDefaultDirectedComponentsContext(DEFAULT_MATRIX_FACTORY, isTrainingContext));
}

/**
* Quickstart session factory with all factories set to defaults, but with provided directedComponentsContext
*/
Expand Down

0 comments on commit 3f7c3f0

Please sign in to comment.