Julien Cornebise a2e455f7a2 Fix boundary cases in logspace() and linspace()
For any a < b:
torch.linspace(a, a, 1) returns a 1-dim tensor of a, instead of nan
torch.linspace(a, b, 1) throws an error, instead of returning nan
torch.logspace(a, a, 1) returns a 1-dim tensor of 10^a, instead of nan
torch.logspace(a, b, 1) throws an error, instead of returning nan
torch.test() checks the 4 asserts above
2013-01-08 17:48:26 +00:00
2012-10-22 22:28:19 +02:00
2012-02-23 17:27:14 +01:00
2012-02-01 14:33:10 +01:00
2012-01-25 14:55:20 +01:00
2012-01-25 14:55:20 +01:00
2012-01-25 14:55:20 +01:00
2012-01-25 14:55:20 +01:00
2012-01-25 14:55:20 +01:00
2012-02-01 14:33:10 +01:00
2012-01-25 14:55:20 +01:00
2012-01-25 14:55:20 +01:00
2012-01-25 14:55:20 +01:00
2012-01-25 14:55:20 +01:00
2012-01-25 14:55:20 +01:00
2012-01-25 14:55:20 +01:00
2012-01-25 14:55:20 +01:00
2012-01-25 14:55:20 +01:00
2012-01-25 14:55:20 +01:00
2012-01-25 14:55:20 +01:00
Description
Tensors and Dynamic neural networks in Python with strong GPU acceleration
BSD-3-Clause 4.2 GiB
Languages
Python 59.9%
C++ 32.3%
Cuda 2.9%
C 1.4%
Objective-C++ 1.1%
Other 2.1%