Community Profile

photo

Prb


Active since 2019

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


What is the meaning of following code?
Hi I would lioke to know the meaning of the following code NewRes(:,:,Channel,:) = Residuals([1:2:size(Residuals,1)],[1:2:size(...

5 years ago | 1 answer | 0

1

answer

Question


What is an equivalent of find() in python?
Hi could you please explain what the find() doing in hte below code. How can I represent the similar code in python? PercentCor...

5 years ago | 1 answer | 1

1

answer

Question


Convert matlab zeros function to Python equivalent
Hi Could you pleas elet me know what would be a similar conversion of matlab zeros to np.zeros for datatype. I am getting an err...

5 years ago | 1 answer | 0

1

answer

Question


Run GPU code only on CPU: How to get rid of gpuArray data?
Hi I have this piece of deep learning code which runs on GPU. I wish not to use GPU. How can I change the code to run only on CP...

5 years ago | 1 answer | 0

1

answer

Question


what does x= [ones(1,2) 2 ones(1,1) 2 ones(1,2) 1] do?
please explain the X= [ones(1,2) 2 ones(1,1) 2 ones(1,2) 1]; line of code. I understand that it is creating 1 by 2 array of one...

5 years ago | 1 answer | 0

1

answer

Question


What is an equivalent for vl_nnconv in python?
Hi I want to translate the below set of code in python. What can I use only with the help of numpy or pandas (without using tens...

5 years ago | 0 answers | 0

0

answers

Question


What is the meaning of Filters{i}(1:3,1,:,:)=0
Hi what would be an equivalent of below code in python? Filters{i}(1:3,1,:,:)=0

5 years ago | 0 answers | 0

0

answers

Question


Math functions from matlab to python
Hi is this the right way to trnaslate matlab logarithmic function, sqrt and rounding as shown below in python Matlab: Shifts(1...

5 years ago | 0 answers | 0

0

answers

Question


Repmat equivalent in python
Hi What is is the equivalent of repmat in python and how does the below code translates to python. BlocksEachScale =6 Residua...

5 years ago | 0 answers | 0

0

answers

Answered
how to convert this block of code to python?
I think this is the right answer here for i in range (0,len(Filters)): for j in range(0, len(Filters[i]): Filter...

5 years ago | 0

Question


Equivalent of matlab zeros function in python
What is the equivalent of zeros function in python to translate below code block Shifts = zeros(length(Filters)-1,1,'int16'); ...

5 years ago | 0 answers | 0

0

answers

Question


Matlab equivalent code in python
Hi What would be an equivalent code in python for this line of Matlab code X_test = int8(single(X_test) - 127)

5 years ago | 1 answer | 0

1

answer

Question


how to convert this block of code to python?
%convert the weights to -1 and + 1. Store in single because conv2 requires it for i = 1:length(Filters) Filters{i} = gpuAr...

5 years ago | 1 answer | 0

1

answer