parent
b8a21bc991
commit
a7f75fe6db
|
@ -47,7 +47,7 @@ public class TextGenerationLSTM extends ZooModel {
|
||||||
@Builder.Default private long seed = 1234;
|
@Builder.Default private long seed = 1234;
|
||||||
@Builder.Default private int maxLength = 40;
|
@Builder.Default private int maxLength = 40;
|
||||||
@Builder.Default private int totalUniqueCharacters = 47;
|
@Builder.Default private int totalUniqueCharacters = 47;
|
||||||
@Builder.Default private int[] inputShape = new int[] {maxLength, totalUniqueCharacters};
|
@Builder.Default private int[] inputShape = new int[] {40, 47};
|
||||||
@Builder.Default private IUpdater updater = new RmsProp(0.01);
|
@Builder.Default private IUpdater updater = new RmsProp(0.01);
|
||||||
@Builder.Default private CacheMode cacheMode = CacheMode.NONE;
|
@Builder.Default private CacheMode cacheMode = CacheMode.NONE;
|
||||||
@Builder.Default private WorkspaceMode workspaceMode = WorkspaceMode.ENABLED;
|
@Builder.Default private WorkspaceMode workspaceMode = WorkspaceMode.ENABLED;
|
||||||
|
|
Loading…
Reference in New Issue