/external/tensorflow/tensorflow/python/keras/layers/preprocessing/ |
D | image_preprocessing.py | 483 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 …]
|
D | image_preprocessing_test.py | 510 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/ |
D | BC_TwoDimWriter.cpp | 53 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/ |
D | backend_test.py | 600 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')
|
D | backend.py | 3173 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/ |
D | tensorflow.keras.layers.experimental.preprocessing.-random-zoom.pbtxt | 141 …argspec: "args=[\'self\', \'height_factor\', \'width_factor\', \'fill_mode\', \'interpolation\', \…
|
D | tensorflow.keras.layers.experimental.preprocessing.-random-translation.pbtxt | 141 …argspec: "args=[\'self\', \'height_factor\', \'width_factor\', \'fill_mode\', \'interpolation\', \…
|
D | tensorflow.keras.backend.pbtxt | 421 …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/ |
D | tensorflow.keras.layers.experimental.preprocessing.-random-translation.pbtxt | 141 …argspec: "args=[\'self\', \'height_factor\', \'width_factor\', \'fill_mode\', \'interpolation\', \…
|
D | tensorflow.keras.layers.experimental.preprocessing.-random-zoom.pbtxt | 141 …argspec: "args=[\'self\', \'height_factor\', \'width_factor\', \'fill_mode\', \'interpolation\', \…
|
D | tensorflow.keras.backend.pbtxt | 417 …argspec: "args=[\'x\', \'height_factor\', \'width_factor\', \'data_format\', \'interpolation\'], v… 421 …argspec: "args=[\'x\', \'depth_factor\', \'height_factor\', \'width_factor\', \'data_format\'], va…
|