Skip to content

Commit

Permalink
Merge branch 'release/v1.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
manyids committed Sep 25, 2020
2 parents ce18c7a + f7130e1 commit 59f412b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkd_pytorch/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def load_fspecial_gaussian_filter(sigma: float) -> np.ndarray:
return gx.astype(np.float32)


def gaussian_mask(rho: np.ndarray, sigma: float = 1.0) -> np.nparray:
def gaussian_mask(rho: np.ndarray, sigma: float = 1.0) -> np.ndarray:
"""Compute gaussian mask given distance from centre (rho). """
gmask = np.exp(-1 * rho**2 / sigma**2)
return gmask
Expand Down

0 comments on commit 59f412b

Please sign in to comment.