pytorch-struct
                                
                                 pytorch-struct copied to clipboard
                                
                                    pytorch-struct copied to clipboard
                            
                            
                            
                        Value expectation and 1st order CKY
Changes are:
- Add 1st order cky implementation with suggested updates
- Add value-expectation semiring and test
- Make marginal computation work on potentials w/o gradients
- Minor clarity/consistency changes to semirings
- Some documentation for _Struct
Hmm, for some reason the tests are not running on this. Trying to figure out why.
Thanks the PR. Lots of nice stuff in here.
Quick dev question: when I try running python setup.py test or python setup.py style, I get error: invalid command 'tests' and error: option --ignore not recognized, respectively. I can run the command on their own, but I'm just wondering if I'm doing something wrong?
Interesting, yeah not sure how to run those automatically, I will look into it.