33a866645dd50158129744018266d0837ef94392,geomstats/special_orthogonal_group.py,SpecialOrthogonalGroup,skew_matrix_from_vector,#SpecialOrthogonalGroup#Any#,306
Before Change
vec = gs.to_ndarray(vec, to_ndim=2)
n_vecs, vec_dim = vec.shape
vec_dim = gs.cast(vec_dim, gs.float32)
mat_dim = int((1. + gs.sqrt(1. + 8. * vec_dim)) / 2.)
assert mat_dim == self.n
skew_mat = gs.zeros((n_vecs,) + (self.n,) * 2)
After Change
vec = gs.to_ndarray(vec, to_ndim=2)
n_vecs, vec_dim = vec.shape
vec_dim = float(vec_dim) //gs.cast(vec_dim, gs.float32)
mat_dim = int((1. + gs.sqrt(1. + 8. * vec_dim)) / 2.)
assert mat_dim == self.n
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: geomstats/geomstats
Commit Name: 33a866645dd50158129744018266d0837ef94392
Time: 2018-09-27
Author: ninamio78@gmail.com
File Name: geomstats/special_orthogonal_group.py
Class Name: SpecialOrthogonalGroup
Method Name: skew_matrix_from_vector
Project Name: ray-project/ray
Commit Name: af1203b9df727800332d6b00f093b615357d7810
Time: 2020-06-26
Author: sven@anyscale.io
File Name: rllib/examples/models/custom_loss_model.py
Class Name: TorchCustomLossModel
Method Name: custom_loss
Project Name: geomstats/geomstats
Commit Name: 9921797281afc15408718e269c7f546e51e78f2d
Time: 2018-09-27
Author: ninamio78@gmail.com
File Name: geomstats/special_orthogonal_group.py
Class Name: SpecialOrthogonalGroup
Method Name: skew_matrix_from_vector
Project Name: arraiy/torchgeometry
Commit Name: 854f604719b6a571e47ad3ca8b758cec4133d2f7
Time: 2021-01-05
Author: sj8716643@126.com
File Name: kornia/augmentation/augmentation.py
Class Name: RandomErasing
Method Name: __init__