]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/kaldi.git/commitdiff
Merge pull request #42 from vijayaditya/nnet3_unittests
authorDaniel Povey <dpovey@gmail.com>
Sat, 1 Aug 2015 23:33:28 +0000 (16:33 -0700)
committerDaniel Povey <dpovey@gmail.com>
Sat, 1 Aug 2015 23:33:28 +0000 (16:33 -0700)
Changed backprop method in ElementwiseProductComponent; and other minor changes

1  2 
src/nnet3/nnet-test-utils.cc

index 98341c0ffc09fcd3707daca3f6d5343c4ecb6cb6,86f31b8fed6170b39a8342efd89c89815258d064..5db5e8de583d0a2be8b19844b88485d54b7bb24e
@@@ -366,10 -366,10 +366,10 @@@ void GenerateConfigSequenceLstm
  }
   
  void GenerateConfigSequence(
 -    const NnetGenerationConfig &opts,
 +    const NnetGenerationOptions &opts,
      std::vector<std::string> *configs) {
  start:
-   int32 network_type = RandInt(0, 3);
+   int32 network_type = RandInt(0, 4);
    switch(network_type) {
      case 0:
        GenerateConfigSequenceSimplest(opts, configs);