Skip to content

Commit e3d315a

Browse files
committed
Add GruNonlinearityComponent(by Dan) and OutputGruNonlinearityComponent; moving aroun some sources in nnet3 to avoid very large files
small fix rename nnet-combined-component.{h,cc} and str case small fix fix annotation fix annotation 2
1 parent 2cfcfda commit e3d315a

File tree

9 files changed

+4531
-1830
lines changed

9 files changed

+4531
-1830
lines changed

egs/wsj/s5/steps/libs/nnet3/xconfig/gru.py

Lines changed: 1055 additions & 5 deletions
Large diffs are not rendered by default.

egs/wsj/s5/steps/libs/nnet3/xconfig/parser.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@
6868
'opgru-layer' : xlayers.XconfigOpgruLayer,
6969
'norm-pgru-layer' : xlayers.XconfigNormPgruLayer,
7070
'norm-opgru-layer' : xlayers.XconfigNormOpgruLayer,
71+
'fast-gru-layer' : xlayers.XconfigFastGruLayer,
72+
'fast-pgru-layer' : xlayers.XconfigFastPgruLayer,
73+
'fast-norm-pgru-layer' : xlayers.XconfigFastNormPgruLayer,
74+
'fast-opgru-layer' : xlayers.XconfigFastOpgruLayer,
75+
'fast-norm-opgru-layer' : xlayers.XconfigFastNormOpgruLayer,
7176
'tdnnf-layer': xlayers.XconfigTdnnfLayer,
7277
'prefinal-layer': xlayers.XconfigPrefinalLayer,
7378
'renorm-component': xlayers.XconfigRenormComponent,

src/nnet3/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ TESTFILES = natural-gradient-online-test nnet-graph-test \
1515
nnet-common-test convolution-test attention-test
1616

1717
OBJFILES = nnet-common.o nnet-compile.o nnet-component-itf.o \
18-
nnet-simple-component.o nnet-normalize-component.o \
18+
nnet-simple-component.o nnet-combined-component.o nnet-normalize-component.o \
1919
nnet-general-component.o nnet-parse.o natural-gradient-online.o \
2020
nnet-descriptor.o nnet-optimize.o nnet-computation.o \
2121
nnet-computation-graph.o nnet-graph.o am-nnet-simple.o \

0 commit comments

Comments
 (0)