dlfs
dlfs
TODO: Write a description here
Installation
TODO: Write installation instructions here
Usage
TODO: Write usage instructions here
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/your-github-user/dlfs/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- nemorami - creator and maintainer
NOTE
num/src/grad/primitives/gate.cr
- abstract def cache(result : Num::Grad::Variable(T), *args : Num::Grad::Variable(T))
tensor/internal/random.cr
require "alea"
class Num::Rand
class_getter generator = Alea::Random.new
class_getter generator = Alea::Random(Alea::XSR128).new
class_getter stdlib_generator = Random.new
class_getter stdlib_generator = Random.new
def self.set_seed(seed)
@@generator = Alea::Random.new(seed)
@@generator = Alea::Random(Alea::XSR128).new(seed)
@@stdlib_generator = Random.new(seed)
@@stdlib_generator = Random.new(seed)
end
end
num/src/tensor/tensor.cr
s, o = Indexable.range_to_index_and_count(arg, @shape[i]).not_nil!
Repository
dlfs
Owner
Statistic
- 0
- 0
- 0
- 0
- 1
- over 3 years ago
- February 15, 2021
License
MIT License
Links
Synced at
Fri, 22 Nov 2024 12:03:02 GMT
Languages