KERAS_WRAPPER$get_input_width {autovi} | R Documentation |
Get keras model input image width
Description
This function get the input image width (the input shape is (batch_size, height, width, channels)) of a keras model.
Usage
KERAS_WRAPPER$get_input_width(keras_model = self$keras_model)
Arguments
keras_model |
Keras model. A trained computer vision model. |
Value
An integer.
Examples
keras_model <- try(get_keras_model("vss_phn_32"))
if (!inherits(keras_model, "try-error")) {
keras_wrapper(keras_model)$get_input_width()
}
[Package autovi version 0.4.0 Index]