sn = gather(sf) collects
all the wavelet time scattering network, sf, properties from the GPU
device and returns the gathered waveletScattering object
sn. All properties of the gathered object are stored in the local
workspace.
Load the noisy Doppler signal. Create a wavelet scattering network gsf that you can apply to the data.
load noisdopp
gsf = waveletScattering;
Copy the signal to the GPU.
gnoisdopp = gpuArray(noisdopp);
Obtain the scattering feature matrix for the scattering network gsf and the data that is on the GPU. Specify the log transformation. Confirm the feature matrix is on the GPU.
The first element of gfil contains the scaling filter used in the computation of the zeroth order scattering coefficients. Subsequent elements of gfil contain the wavelet filters and scaling filter for the corresponding filter banks of the scattering decomposition. Confirm all the scaling and wavelet filters are on the GPU.
Obtain the scattering feature matrix for the scattering network sf and the original signal. Specify the log transformation. Confirm the feature matrix is not on the GPU. Confirm the feature matrix is equal to the matrix obtained using the network gsf.
The gather function
fully supports GPU arrays. To run the function on a GPU, specify the input data as a gpuArray (Parallel Computing Toolbox). For more information, see Run MATLAB Functions on a GPU (Parallel Computing Toolbox).
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.