-
def log_sum_exp(x)
x_max = x.data.max()
return torch.log(torch.sum(torch.exp(x-x_max), 1, keepdim=True)) + x_max
In this function ,if we remove x_max,the output of this function is just…
-
both for SEO and for just general details, i think we ought bulk up the front page. i'm thinking we replace the three lines of crap with maybe four areas
(1) HPC -- CUDA, OpenCL, accelerators, perf…
-
Using the `--rpm-summary` and `--description ` causes three things:
* The description starts from the second line instead of the first (don't know if this is intentional).
* Similar to the above, in…
-
In [J. Chem. Theory Comput. 15, 1593 (2019)](https://doi.org/10.1021/acs.jctc.8b01089), I pointed out that the superposition of atomic potentials (SAP) initial guess can be easily formed on a Becke gr…
-
Hi,
In this notebook: https://github.com/mikkokotila/jupyter4kids/blob/master/notebooks/numerical-computing-is-fun-2.ipynb you use the 'is' keyword to compare numbers.
This should be avoided, be…
-
Here's the log from macOS Monterey 12.6.3:
```
rm -rf .build
pusateri@butte-937 envelope-cli-swift % ./build.sh
Fetching https://github.com/WolfMcNally/WolfBase from cache
Fetching https://gith…
-
If the matrix is not full-ranked (one at least one of the dimensions, the SVD gives wrong results for the eigenvalues and eigenvectors that corresponds to the eigenvalues should be 0.
-
Hi Lin,
I was wondering what numerical integration method you chose to analyse the results after production?
Is it the Simpson rule of integration or the trapezoidal rule of integration?
Also, woul…
-
If you run `series` more than once, all the numbers you've spent time computing in the past one must compute again.
I can imagine caching _all_ the numbers, but that is space inefficient. Probably st…
-
What about a sink receiving (certain) Orion notifications and (online) computing some kind of simple statistics for each entity's (numerical) attribute, in order to update new entities at Orion? This …