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
。