Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/keras/preprocessing/
Dimage_test.py33 from tensorflow.python.keras.preprocessing import image as preprocessing_image unknown
50 im = preprocessing_image.array_to_img(imarray, scale=False)
54 im = preprocessing_image.array_to_img(imarray, scale=False)
65 output = preprocessing_image.smart_resize(test_input, size=(50, 50))
68 output = preprocessing_image.smart_resize(test_input, size=(10, 10))
70 output = preprocessing_image.smart_resize(test_input, size=(100, 50))
72 output = preprocessing_image.smart_resize(test_input, size=(5, 15))
85 resize = lambda img: preprocessing_image.smart_resize(img, size=size)
93 preprocessing_image.smart_resize(
96 preprocessing_image.smart_resize(np.random.random((20, 40)), size=(10, 5))
[all …]