An operation to load an array from disk
@note: Non-differentiable.
An operation to asynchronously receive an array to a remote host using MPI
@note: Non-differentiable.
An operation to wait on a previously received array using MPI
@note: Non-differentiable.
An operation to asynchronously Send an array to a remote host using MPI
@note: Non-differentiable.
An operation to wait on a previously sent array using MPI
@note: Non-differentiable.
non-blocking receive
Non blocking send
Load an array from an .npy file.
Parameters: |
|
---|
>>> from theano import *
>>> path = Variable(Generic())
>>> x = tensor.load(path, 'int64', (False,))
>>> y = x*2
>>> fn = function([path], y)
>>> fn("stored-array.npy")
array([0, 2, 4, 6, 8], dtype=int64)
Wait as long as possible on Waits, Start Send/Recvs early
Break MPI ties by using the variable tag - prefer lower tags first
blocking receive
blocking send