edu.cmu.dynet
Represents a "dimension", which you should think of as the dimension of a tensor. Can only be constructed using factory methods in the companion object.
We override equals so that Dim objects should be equal whenever all of their dimension sizes match.
equals
Dim
Represents a "dimension", which you should think of as the dimension of a tensor. Can only be constructed using factory methods in the companion object.