HyperResNet
- Original Link : https://keras.io/api/keras_tuner/hypermodels/hyper_resnet/
- Last Checked at : 2024-11-25
HyperResNet class
keras_tuner.applications.HyperResNet(
include_top=True, input_shape=None, input_tensor=None, classes=None, **kwargs
)A ResNet hypermodel.
Models built by HyperResNet take images with shape (height, width,
channels) as input. The output are one-hot encoded with the length matching
the number of classes specified by the classes argument.
Arguments
- include_top: Boolean, whether to include the fully-connected layer at the top of the network.
- input_shape: Optional shape tuple, e.g.
(256, 256, 3). One ofinput_shapeorinput_tensormust be specified. - input_tensor: Optional Keras tensor (i.e. output of
layers.Input()) to use as image input for the model. One ofinput_shapeorinput_tensormust be specified. - classes: Optional number of classes to classify images into, only to be
specified if
include_topis True, and if noweightsargument is specified. - **kwargs: Additional keyword arguments that apply to all hypermodels.
See
keras_tuner.HyperModel.