We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Otherwise we get potentially massive memory usage, i.e. using the SLM on SARCOS, ARD on 21 dimensions uses too much memory.
Make these sorts of lines return generators, and fix apply_grad to work with them instead of 3-D arrays:
apply_grad
for i, l in enumerate(lenscale): ldist = cdist(X[:, [i]] / l**3, self.C[:, [i]] / l**3, 'sqeuclidean') dPhi.append(Phi * ldist) return np.dstack(dPhi) if len(lenscale) != 1 else dPhi[0]
see https://github.com/NICTA/revrand/blob/master/revrand/basis_functions.py#L714
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Otherwise we get potentially massive memory usage, i.e. using the SLM on SARCOS, ARD on 21 dimensions uses too much memory.
Make these sorts of lines return generators, and fix
apply_grad
to work with them instead of 3-D arrays:see https://github.com/NICTA/revrand/blob/master/revrand/basis_functions.py#L714
The text was updated successfully, but these errors were encountered: