HyperResNet
类keras_tuner.applications.HyperResNet(
include_top=True, input_shape=None, input_tensor=None, classes=None, **kwargs
)
一个 ResNet 超模型。
由 HyperResNet
构建的模型接受形状为 (高度, 宽度, 通道数) 的图像作为输入。输出是独热编码,其长度与由 classes
参数指定的类别数相匹配。
参数
(256, 256, 3)
。必须指定 input_shape
或 input_tensor
中的一个。layers.Input()
的输出),用作模型的图像输入。必须指定 input_shape
或 input_tensor
中的一个。include_top
为 True 且未指定 weights
参数时指定。keras_tuner.HyperModel
。