build: fix typing/mypy issues

This commit is contained in:
2022-10-27 14:25:09 +02:00
parent 47653d723c
commit d7756a7184
82 changed files with 6552 additions and 46 deletions

View File

@@ -0,0 +1,4 @@
from keras.api._v2.keras.preprocessing import image as image, sequence as sequence, text as text
from keras.utils.image_dataset import image_dataset_from_directory as image_dataset_from_directory
from keras.utils.text_dataset import text_dataset_from_directory as text_dataset_from_directory
from keras.utils.timeseries_dataset import timeseries_dataset_from_array as timeseries_dataset_from_array

View File

@@ -0,0 +1,2 @@
from keras.preprocessing.image import DirectoryIterator as DirectoryIterator, ImageDataGenerator as ImageDataGenerator, Iterator as Iterator, NumpyArrayIterator as NumpyArrayIterator, apply_affine_transform as apply_affine_transform, apply_brightness_shift as apply_brightness_shift, apply_channel_shift as apply_channel_shift, random_brightness as random_brightness, random_channel_shift as random_channel_shift, random_rotation as random_rotation, random_shear as random_shear, random_shift as random_shift, random_zoom as random_zoom
from keras.utils.image_utils import array_to_img as array_to_img, img_to_array as img_to_array, load_img as load_img, save_img as save_img, smart_resize as smart_resize

View File

@@ -0,0 +1,2 @@
from keras.preprocessing.sequence import TimeseriesGenerator as TimeseriesGenerator, make_sampling_table as make_sampling_table, skipgrams as skipgrams
from keras.utils.data_utils import pad_sequences as pad_sequences

View File

@@ -0,0 +1 @@
from keras.preprocessing.text import Tokenizer as Tokenizer, hashing_trick as hashing_trick, one_hot as one_hot, text_to_word_sequence as text_to_word_sequence, tokenizer_from_json as tokenizer_from_json