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