Koichi Akabe
Koichi Akabe
I am currently trying to make a crate for each proto package using `extern_path()`. However, I found that when I register parent packages as the extern_paths, prost_build does not generate...
This branch annotates package names and adds `message_path()` function to `Message` trait. This function returns the full path of each proto message. This is useful for converting each message to...
To describe the situation, I created the following small repository: https://github.com/vbkaisetsu/rules-rust-link-fails-repro # Steps to reproduce 1. Clone the repository. ``` git clone https://github.com/vbkaisetsu/rules-rust-link-fails-repro.git ``` 2. Run the test. ``` cd...
Fix #243 This PR adds the L1-regularization option to `LBFGS`. This option enables L1-regularization performed by the OWL-QN method.
Currently, the L-BFGS of this crate cannot perform L1-regularization because the gradient of the regularization term is the subderivative. In the [OWL-QN](https://doi.org/10.1145/1273496.1273501) method, L1-regularization is achieved by modifying the gradient...
I used the docker image named `nvidia/cuda:11.0-devel-ubuntu20.04`. `compute_30` is no longer supported: ``` nvcc fatal : Unsupported gpu architecture 'compute_30' CMake Error at cuda_compile_1_generated_transpose.cu.o.cmake:220 (message): Error generating /primitiv/build/primitiv/CMakeFiles/cuda_compile_1.dir/devices/cuda16/ops/./cuda_compile_1_generated_transpose.cu.o make[2]: ***...
Add: * dimension-wise reverse function * generalized transpose function For example: ```c++ /* A = { 1, 2, 3, 4, 5, 6, 7, 8, 9,10, 11,12,13,14,15, 16,17,18,19,20, }; Functions: reverse(x,...
This branch implements contrib functions in Python. Some contrib functions in C++ use `get_default()` internally but it returns `null` because the default object is stored in Python.
Example code: ``` In [1]: from primitiv import Device, Graph, functions, devices, Shape In [2]: dev = devices.Naive() In [3]: Device.set_default(dev) In [4]: g = Graph() In [5]: Graph.set_default(g) In...
Write test cases for each method of classes. The current test cases do not detect easy bugs.