Performs a water augmentation, which makes the image appear to be underwater.
âcpuâ
âgpuâ
__input¶ (TensorList ('HWC')) â Input to the operator.
ampl_x¶ (float, optional, default = 10.0) â Amplitude of the wave in the x direction.
ampl_y¶ (float, optional, default = 10.0) â Amplitude of the wave in the y direction.
bytes_per_sample_hint¶ (int or list of int, optional, default = [0]) â
Output size hint, in bytes per sample.
If specified, the operatorâs outputs residing in GPU or page-locked host memory will be preallocated to accommodate a batch of samples of this size.
fill_value¶ (float, optional, default = 0.0) â Color value that is used for padding.
freq_x¶ (float, optional, default = 0.049087) â Frequency of the wave in the x direction.
freq_y¶ (float, optional, default = 0.049087) â Frequence of the wave in the y direction.
interp_type¶ (nvidia.dali.types.DALIInterpType
, optional, default = DALIInterpType.INTERP_NN) â Type of interpolation used.
mask¶ (int or TensorList of int, optional, default = 1) â
Determines whether to apply this augmentation to the input image.
Here are the values:
0: Do not apply this transformation.
1: Apply this transformation.
phase_x¶ (float, optional, default = 0.0) â Phase of the wave in the x direction.
phase_y¶ (float, optional, default = 0.0) â Phase of the wave in the y direction.
preserve¶ (bool, optional, default = False) â Prevents the operator from being removed from the graph even if its outputs are not used.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4