为什么我会遇到这个问题?我可以从 kera.preprocessing 导入图像模块。但无法导入 image_dataset_from_directory。TF版本:1.14
在python继承中,我们通常可以将父类的属性继承给子类。但是,我不明白在同一个类中继承的想法。这是什么意思?
class MyParentClass():
def __init__(self):
super(MyParentClass, self).__init__()
Run Code Online (Sandbox Code Playgroud)