/external/tensorflow/tensorflow/core/kernels/ |
D | adjust_contrast_op.h | 28 typename TTypes<float>::ConstScalar contrast_factor, in operator() 78 contrast_factor.reshape(scalar).broadcast(scalar_broadcast); in operator() 93 typename TTypes<float>::ConstScalar contrast_factor, in operator() 150 contrast_factor.reshape(scalar).broadcast(scalar_broadcast); in operator()
|
D | adjust_contrast_op.cc | 110 typename TTypes<float>::ConstScalar contrast_factor, \ 394 typename TTypes<float>::ConstScalar contrast_factor, \
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_AdjustContrastv2.pbtxt | 13 name: "contrast_factor" 34 `(x - mean) * contrast_factor + mean`.
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | image_ops_test.py | 109 def _testContrast(self, x_np, y_np, contrast_factor): argument 114 y = image_ops.adjust_contrast(flt_x, contrast_factor) 130 self._testContrast(x_np, y_np, contrast_factor=2.0) 140 self._testContrast(x_np, y_np, contrast_factor=2.0) 142 def _adjustContrastNp(self, x_np, contrast_factor): argument 144 y_np = mean + contrast_factor * (x_np - mean) 147 def _adjustContrastTf(self, x_np, contrast_factor): argument 151 y = image_ops.adjust_contrast(x, contrast_factor) 165 contrast_factor = np.random.rand() * 2.0 + 0.1 166 y_np = self._adjustContrastNp(x_np, contrast_factor) [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | image_ops_impl.py | 1510 contrast_factor = random_ops.random_uniform([], lower, upper, seed=seed) 1511 return adjust_contrast(image, contrast_factor) 1553 def adjust_contrast(images, contrast_factor): argument 1579 [images, contrast_factor]) as name: 1590 flt_images, contrast_factor=contrast_factor, name=name)
|
D | image_ops_test.py | 1314 def _testContrast(self, x_np, y_np, contrast_factor): argument 1317 y = image_ops.adjust_contrast(x, contrast_factor) 1329 self._testContrast(x_np, y_np, contrast_factor=2.0) 1342 self._testContrast(x_np, y_np, contrast_factor=2.0) 1352 self._testContrast(x_np, y_np, contrast_factor=0.5) 1362 self._testContrast(x_np, y_np, contrast_factor=2.0) 1364 def _adjustContrastNp(self, x_np, contrast_factor): argument 1366 y_np = mean + contrast_factor * (x_np - mean) 1369 def _adjustContrastTf(self, x_np, contrast_factor): argument 1372 y = image_ops.adjust_contrast(x, contrast_factor) [all …]
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.image.pbtxt | 13 argspec: "args=[\'images\', \'contrast_factor\'], varargs=None, keywords=None, defaults=None"
|
D | tensorflow.raw_ops.pbtxt | 61 …argspec: "args=[\'images\', \'contrast_factor\', \'min_value\', \'max_value\', \'name\'], varargs=… 65 …argspec: "args=[\'images\', \'contrast_factor\', \'name\'], varargs=None, keywords=None, defaults=…
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.image.pbtxt | 13 argspec: "args=[\'images\', \'contrast_factor\'], varargs=None, keywords=None, defaults=None"
|
D | tensorflow.raw_ops.pbtxt | 61 …argspec: "args=[\'images\', \'contrast_factor\', \'min_value\', \'max_value\', \'name\'], varargs=… 65 …argspec: "args=[\'images\', \'contrast_factor\', \'name\'], varargs=None, keywords=None, defaults=…
|
/external/tensorflow/tensorflow/go/op/ |
D | wrappers.go | 34441 func AdjustContrast(scope *Scope, images tf.Output, contrast_factor tf.Output, min_value tf.Output,… 34448 images, contrast_factor, min_value, max_value, 39050 func AdjustContrastv2(scope *Scope, images tf.Output, contrast_factor tf.Output) (output tf.Output)… 39057 images, contrast_factor,
|
/external/tensorflow/tensorflow/core/ops/compat/ |
D | ops_history.v0.pbtxt | 608 name: "contrast_factor" 646 name: "contrast_factor" 687 name: "contrast_factor"
|
D | ops_history.v1.pbtxt | 1252 name: "contrast_factor" 1293 name: "contrast_factor" 1308 name: "contrast_factor"
|
D | ops_history.v2.pbtxt | 1252 name: "contrast_factor" 1293 name: "contrast_factor" 1308 name: "contrast_factor"
|
/external/tensorflow/tensorflow/core/ops/ |
D | ops.pbtxt | 450 name: "contrast_factor" 492 name: "contrast_factor"
|