Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dimage_preprocessing.py484 width_factor, argument
505 self.width_factor = width_factor
506 if isinstance(width_factor, (tuple, list)):
507 self.width_lower = width_factor[0]
508 self.width_upper = width_factor[1]
510 self.width_lower = -width_factor
511 self.width_upper = width_factor
514 'lower bound, got {}'.format(width_factor))
517 'got {}'.format(width_factor))
575 'width_factor': self.width_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.cpp51 int32_t width_factor = static_cast<int32_t>( in RenderResult() local
55 width_factor = std::max(width_factor, 1); in RenderResult()
58 m_outputWidth *= width_factor; in RenderResult()
/external/tensorflow/tensorflow/python/keras/
Dbackend_test.py601 width_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')
619 width_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'))
3225 new_width = original_shape[cols] * width_factor
3238 def resize_volumes(x, depth_factor, height_factor, width_factor, data_format): argument
3258 output = repeat_elements(output, width_factor, axis=4)
3263 output = repeat_elements(output, width_factor, axis=3)
/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…