HyperResNet
類別keras_tuner.applications.HyperResNet(
include_top=True, input_shape=None, input_tensor=None, classes=None, **kwargs
)
一個 ResNet 超模型。
由 HyperResNet
建立的模型會將形狀為 (高度、寬度、通道數) 的圖像作為輸入。輸出是以 one-hot 編碼的,其長度與 classes
參數指定的類別數量相符。
參數
(256, 256, 3)
。必須指定 input_shape
或 input_tensor
其中之一。layers.Input()
的輸出),用作模型的圖像輸入。必須指定 input_shape
或 input_tensor
其中之一。include_top
為 True,且未指定 weights
參數時才需要指定。keras_tuner.HyperModel
。