Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/image/
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, \
395 typename TTypes<float>::ConstScalar contrast_factor, \
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DAdjustContrastv2.pbtxt8 name: "contrast_factor"
23 name: "contrast_factor"
DAdjustContrast.pbtxt8 name: "contrast_factor"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DAdjustContrastv2.pbtxt8 name: "contrast_factor"
23 name: "contrast_factor"
DAdjustContrast.pbtxt8 name: "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.py111 def _testContrast(self, x_np, y_np, contrast_factor): argument
116 y = image_ops.adjust_contrast(flt_x, contrast_factor)
132 self._testContrast(x_np, y_np, contrast_factor=2.0)
142 self._testContrast(x_np, y_np, contrast_factor=2.0)
144 def _adjustContrastNp(self, x_np, contrast_factor): argument
146 y_np = mean + contrast_factor * (x_np - mean)
149 def _adjustContrastTf(self, x_np, contrast_factor): argument
153 y = image_ops.adjust_contrast(x, contrast_factor)
167 contrast_factor = np.random.rand() * 2.0 + 0.1
168 y_np = self._adjustContrastNp(x_np, contrast_factor)
[all …]
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_impl.py2005 contrast_factor = random_ops.random_uniform([], lower, upper, seed=seed)
2006 return adjust_contrast(image, contrast_factor)
2051 contrast_factor = stateless_random_ops.stateless_random_uniform(
2053 return adjust_contrast(image, contrast_factor)
2110 def adjust_contrast(images, contrast_factor): argument
2149 [images, contrast_factor]) as name:
2160 flt_images, contrast_factor=contrast_factor, name=name)
Dimage_ops_test.py1509 def _testContrast(self, x_np, y_np, contrast_factor): argument
1512 y = image_ops.adjust_contrast(x, contrast_factor)
1524 self._testContrast(x_np, y_np, contrast_factor=2.0)
1537 self._testContrast(x_np, y_np, contrast_factor=2.0)
1547 self._testContrast(x_np, y_np, contrast_factor=0.5)
1557 self._testContrast(x_np, y_np, contrast_factor=2.0)
1559 def _adjustContrastNp(self, x_np, contrast_factor): argument
1561 y_np = mean + contrast_factor * (x_np - mean)
1564 def _adjustContrastTf(self, x_np, contrast_factor): argument
1567 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/python/ops/parallel_for/
Dpfor.py1706 contrast_factor = pfor_input.unstacked_input(1)
1707 return wrap(gen_image_ops.adjust_contrastv2(images, contrast_factor), True)
/external/tensorflow/tensorflow/go/op/
Dwrappers.go13070 func AdjustContrastv2(scope *Scope, images tf.Output, contrast_factor tf.Output) (output tf.Output)…
13077 images, contrast_factor,
13110 func AdjustContrast(scope *Scope, images tf.Output, contrast_factor tf.Output, min_value tf.Output,…
13117 images, contrast_factor, min_value, max_value,
/external/tensorflow/tensorflow/core/ops/compat/
Dops_history.v0.pbtxt608 name: "contrast_factor"
646 name: "contrast_factor"
687 name: "contrast_factor"
Dops_history.v2.pbtxt1252 name: "contrast_factor"
1293 name: "contrast_factor"
1308 name: "contrast_factor"
/external/tensorflow/tensorflow/core/ops/
Dops.pbtxt457 name: "contrast_factor"
499 name: "contrast_factor"
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_generated_ops.td138 `(x - mean) * contrast_factor + mean`.
143 Arg<TF_Float32Tensor, [{A float multiplier for adjusting contrast.}]>:$contrast_factor