[c @skddlmZddlmZdedddZddddZddddZdeedddZdeedddZ deeeeddd Z deeddd Z dddd Z dddd Z deeddd ZdedddZdeedddZddddZdddddddddddddg ZdS(i(t NDArrayBasei(t_NullcKsdS(sAdjust the lighting level of the input. Follow the AlexNet style. Defined in src/operator/image/image_random.cc:L118 Parameters ---------- data : NDArray The input. alpha : tuple of , required The lighting alphas for the R, G, B channels. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((tdatatalphatouttnametkwargs((sW/usr/local/lib/python2.7/site-packages/mxnet-1.3.1-py2.7.egg/mxnet/ndarray/gen_image.pytadjust_lightingscKsdS(s1 Defined in src/operator/image/image_random.cc:L68 Parameters ---------- data : NDArray The input. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRRR((sW/usr/local/lib/python2.7/site-packages/mxnet-1.3.1-py2.7.egg/mxnet/ndarray/gen_image.pytflip_left_rightscKsdS(s1 Defined in src/operator/image/image_random.cc:L76 Parameters ---------- data : NDArray The input. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRRR((sW/usr/local/lib/python2.7/site-packages/mxnet-1.3.1-py2.7.egg/mxnet/ndarray/gen_image.pytflip_top_bottom0scKsdS(s Defined in src/operator/image/image_random.cc:L52 Parameters ---------- data : NDArray The input. mean : tuple of , required Sequence of mean for each channel. std : tuple of , required Sequence of standard deviations for each channel. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RtmeantstdRRR((sW/usr/local/lib/python2.7/site-packages/mxnet-1.3.1-py2.7.egg/mxnet/ndarray/gen_image.pyt normalizeDscKsdS(s Defined in src/operator/image/image_random.cc:L84 Parameters ---------- data : NDArray The input. min_factor : float, required Minimum factor. max_factor : float, required Maximum factor. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((Rt min_factort max_factorRRR((sW/usr/local/lib/python2.7/site-packages/mxnet-1.3.1-py2.7.egg/mxnet/ndarray/gen_image.pytrandom_brightness\scKsdS(s@ Defined in src/operator/image/image_random.cc:L111 Parameters ---------- data : NDArray The input. brightness : float, required How much to jitter brightness. contrast : float, required How much to jitter contrast. saturation : float, required How much to jitter saturation. hue : float, required How much to jitter hue. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((Rt brightnesstcontrastt saturationthueRRR((sW/usr/local/lib/python2.7/site-packages/mxnet-1.3.1-py2.7.egg/mxnet/ndarray/gen_image.pytrandom_color_jittertscKsdS(s Defined in src/operator/image/image_random.cc:L90 Parameters ---------- data : NDArray The input. min_factor : float, required Minimum factor. max_factor : float, required Maximum factor. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRRR((sW/usr/local/lib/python2.7/site-packages/mxnet-1.3.1-py2.7.egg/mxnet/ndarray/gen_image.pytrandom_contrastscKsdS(s1 Defined in src/operator/image/image_random.cc:L72 Parameters ---------- data : NDArray The input. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRRR((sW/usr/local/lib/python2.7/site-packages/mxnet-1.3.1-py2.7.egg/mxnet/ndarray/gen_image.pytrandom_flip_left_rightscKsdS(s1 Defined in src/operator/image/image_random.cc:L80 Parameters ---------- data : NDArray The input. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRRR((sW/usr/local/lib/python2.7/site-packages/mxnet-1.3.1-py2.7.egg/mxnet/ndarray/gen_image.pytrandom_flip_top_bottomscKsdS(s Defined in src/operator/image/image_random.cc:L104 Parameters ---------- data : NDArray The input. min_factor : float, required Minimum factor. max_factor : float, required Maximum factor. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRRR((sW/usr/local/lib/python2.7/site-packages/mxnet-1.3.1-py2.7.egg/mxnet/ndarray/gen_image.pyt random_huescKsdS(sRandomly add PCA noise. Follow the AlexNet style. Defined in src/operator/image/image_random.cc:L125 Parameters ---------- data : NDArray The input. alpha_std : float, optional, default=0.05 Level of the lighting noise. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((Rt alpha_stdRRR((sW/usr/local/lib/python2.7/site-packages/mxnet-1.3.1-py2.7.egg/mxnet/ndarray/gen_image.pytrandom_lightingscKsdS(s Defined in src/operator/image/image_random.cc:L97 Parameters ---------- data : NDArray The input. min_factor : float, required Minimum factor. max_factor : float, required Maximum factor. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRRR((sW/usr/local/lib/python2.7/site-packages/mxnet-1.3.1-py2.7.egg/mxnet/ndarray/gen_image.pytrandom_saturationscKsdS(s1 Defined in src/operator/image/image_random.cc:L42 Parameters ---------- data : NDArray The input. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRRR((sW/usr/local/lib/python2.7/site-packages/mxnet-1.3.1-py2.7.egg/mxnet/ndarray/gen_image.pyt to_tensorsRRR R RRRRRRRRRN(t _internalRtbaseRtNoneRRR R RRRRRRRRRt__all__(((sW/usr/local/lib/python2.7/site-packages/mxnet-1.3.1-py2.7.egg/mxnet/ndarray/gen_image.pyts