Home
last modified time | relevance | path

Searched refs:contrast_factor (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dadjust_contrast_op.h28 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()
Dadjust_contrast_op.cc110 typename TTypes<float>::ConstScalar contrast_factor, \
394 typename TTypes<float>::ConstScalar contrast_factor, \
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_AdjustContrastv2.pbtxt13 name: "contrast_factor"
34 `(x - mean) * contrast_factor + mean`.
/external/tensorflow/tensorflow/compiler/tests/
Dimage_ops_test.py109 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/
Dimage_ops_impl.py1510 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)
Dimage_ops_test.py1314 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/
Dtensorflow.image.pbtxt13 argspec: "args=[\'images\', \'contrast_factor\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.raw_ops.pbtxt61 …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/
Dtensorflow.image.pbtxt13 argspec: "args=[\'images\', \'contrast_factor\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.raw_ops.pbtxt61 …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/
Dwrappers.go34441 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/
Dops_history.v0.pbtxt608 name: "contrast_factor"
646 name: "contrast_factor"
687 name: "contrast_factor"
Dops_history.v1.pbtxt1252 name: "contrast_factor"
1293 name: "contrast_factor"
1308 name: "contrast_factor"
Dops_history.v2.pbtxt1252 name: "contrast_factor"
1293 name: "contrast_factor"
1308 name: "contrast_factor"
/external/tensorflow/tensorflow/core/ops/
Dops.pbtxt450 name: "contrast_factor"
492 name: "contrast_factor"