Home
last modified time | relevance | path

Searched refs:height_factor (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dimage_preprocessing.py483 height_factor, argument
491 self.height_factor = height_factor
492 if isinstance(height_factor, (tuple, list)):
493 self.height_lower = height_factor[0]
494 self.height_upper = height_factor[1]
496 self.height_lower = -height_factor
497 self.height_upper = height_factor
500 'lower bound, got {}'.format(height_factor))
503 'got {}'.format(height_factor))
574 'height_factor': self.height_factor,
[all …]
Dimage_preprocessing_test.py510 def _run_test(self, height_factor, width_factor): argument
516 kwargs = {'height_factor': height_factor, 'width_factor': width_factor}
527 def test_random_translation(self, height_factor, width_factor): argument
528 self._run_test(height_factor, width_factor)
536 height_factor=(-.2, -.2), width_factor=0.)
556 height_factor=(-.2, -.2), width_factor=0., fill_mode='constant')
576 height_factor=(.2, .2), width_factor=0.)
596 height_factor=(.5, .5), width_factor=0.)
619 height_factor=(.2, .2), width_factor=0., fill_mode='constant')
639 height_factor=0., width_factor=(-.2, -.2))
[all …]
/external/pdfium/fxbarcode/
DBC_TwoDimWriter.cpp53 int32_t height_factor = static_cast<int32_t>( in RenderResult() local
56 height_factor = std::max(height_factor, 1); in RenderResult()
59 m_outputHeight *= height_factor; in RenderResult()
/external/tensorflow/tensorflow/python/keras/
Dbackend_test.py600 height_factor = 2
604 y = backend.resize_images(x, height_factor, width_factor, data_format)
609 y = backend.resize_images(x, height_factor, width_factor, data_format)
615 x, height_factor, width_factor, data_format='unknown')
618 height_factor = 2
623 y = backend.resize_volumes(x, depth_factor, height_factor, width_factor,
629 y = backend.resize_volumes(x, depth_factor, height_factor, width_factor,
636 x, depth_factor, height_factor, width_factor, data_format='unknown')
Dbackend.py3173 def resize_images(x, height_factor, width_factor, data_format, argument
3201 np.array([height_factor, width_factor], dtype='int32'))
3220 new_height = original_shape[rows] * height_factor
3238 def resize_volumes(x, depth_factor, height_factor, width_factor, data_format): argument
3257 output = repeat_elements(output, height_factor, axis=3)
3262 output = repeat_elements(output, height_factor, axis=2)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.layers.experimental.preprocessing.-random-zoom.pbtxt141 …argspec: "args=[\'self\', \'height_factor\', \'width_factor\', \'fill_mode\', \'interpolation\', \…
Dtensorflow.keras.layers.experimental.preprocessing.-random-translation.pbtxt141 …argspec: "args=[\'self\', \'height_factor\', \'width_factor\', \'fill_mode\', \'interpolation\', \…
Dtensorflow.keras.backend.pbtxt421 …argspec: "args=[\'x\', \'height_factor\', \'width_factor\', \'data_format\', \'interpolation\'], v…
425 …argspec: "args=[\'x\', \'depth_factor\', \'height_factor\', \'width_factor\', \'data_format\'], va…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.layers.experimental.preprocessing.-random-translation.pbtxt141 …argspec: "args=[\'self\', \'height_factor\', \'width_factor\', \'fill_mode\', \'interpolation\', \…
Dtensorflow.keras.layers.experimental.preprocessing.-random-zoom.pbtxt141 …argspec: "args=[\'self\', \'height_factor\', \'width_factor\', \'fill_mode\', \'interpolation\', \…
Dtensorflow.keras.backend.pbtxt417 …argspec: "args=[\'x\', \'height_factor\', \'width_factor\', \'data_format\', \'interpolation\'], v…
421 …argspec: "args=[\'x\', \'depth_factor\', \'height_factor\', \'width_factor\', \'data_format\'], va…