Adjusts the brightness of the images.
The brightness is adjusted based on the following formula:
out = brightness_shift * output_range + brightness * in
Where output_range is 1 for float outputs or the maximum positive value for integral types.
This operator can also change the type of data.
This operator allows sequence inputs and supports volumetric data.
âcpuâ
âgpuâ
__input¶ (TensorList ('FHWC', 'DHWC', 'HWC')) â Input to the operator.
brightness¶ (float or TensorList of float, optional, default = 1.0) â
Brightness multiplier.
Supports per-frame
inputs.
brightness_shift¶ (float or TensorList of float, optional, default = 0.0) â
The brightness shift.
For signed types, 1.0 represents the maximum positive value that can be represented by the type.
Supports per-frame
inputs.
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.
dtype¶ (nvidia.dali.types.DALIDataType
, optional) â
Output data type.
If not set, the input type is used.
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