sharpe5
sharpe5
If the random seed is the same, then results will be the same. You may have to set the random seed in more than one place. On Thu, 13 Sep...
I imagine is does, try huntisng around. Python also has some settings for random seeds for some of the base libraries, there are two major ones, from memory. Just use...
What model of GPU are you using? On Tue, 28 Aug 2018 12:09 maherkarim, wrote: > Hi everyone, > Thank you for your efforts for this project. > I was...
Wow. Expensive card. Can you send the OS reported specs? https://developer.nvidia.com/nvidia-system-management-interface And Linux or Windows, Python version? Essentially, it would help if there was step-by-step instructions to reproduce the issue....
Also recommend getting something really simple working on the GPU. Follow some internet tutorials until you are definitely using the GPU for something trivial. This would prove that Python has...
+1 for this, unfortunately I can't use ZeroFormatter as it requires .NET 4.5.
@YannickJadoul > ``` > template > inline py::array_t as_pyarray(Sequence &&seq) { > auto size = seq.size(); > auto data = seq.data(); > std::unique_ptr seq_ptr = std::make_unique(std::move(seq)); > auto capsule =...
@YannickJadoul This is what I am using: ``` /** * \brief Returns py:array from vector. Efficient as zero-copy. * - Uses std::move to obtain ownership of said vector and transfer...
@YannickJadoul You are right, your code is absolutely correct. I can't help but think that the content of the capsule function is just a very complicated way of calling delete....
For the record, I have a large Python module that has zero-copy communication between Python and C++ when working with columns in a DataFrame. It is zero-copy both ways, i.e....