Skip to content

Commit

Permalink
Fix det
Browse files Browse the repository at this point in the history
  • Loading branch information
okuta committed Aug 20, 2017
1 parent f519d6c commit 271e5fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chainer/functions/math/det.py
Expand Up @@ -108,6 +108,6 @@ def det(a):
"""
shape = (1, a.shape[0], a.shape[1])
batched_a = reshape.Reshape(shape)(a)
batched_a = reshape.reshape(a, shape)
batched_det = BatchDet()(batched_a)
return reshape.Reshape(())(batched_det)
return reshape.reshape(batched_det, ())

0 comments on commit 271e5fb

Please sign in to comment.