I need to shuffle the first i column of each row for a theano tensor matrix.
The only method I find is raw_random.shuffle_row_elements, but it shuffles every entire row (all columns).
Can anyone give me a hint?
I need to shuffle the first i column of each row for a theano tensor matrix.
The only method I find is raw_random.shuffle_row_elements, but it shuffles every entire row (all columns).
Can anyone give me a hint?
Use the following
theano.tensor.basic.swapaxes(y, axis1, axis2)
This is defined as: