MCPcopy Create free account
hub / github.com/PaddlePaddle/EasyData / get_spectrum

Function get_spectrum

deploy/python/dataaug/data/preprocess/ops/fmix.py:53–71  ·  view source on GitHub ↗

Samples a fourier image with given size and frequencies decayed by decay power :param freqs: Bin values for the discrete fourier transform :param decay_power: Decay power for frequency decay prop 1/f**d :param ch: Number of channels for the resulting mask :param h: Required, first

(freqs, decay_power, ch, h, w=0, z=0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

make_low_freq_imageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected