mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-12-22 22:25:01 +00:00
ai: try the nonlocal keyword? I'm unsure what's going on here
....clearly I need to read up on scoping in python.
This commit is contained in:
parent
1d9d0fbb73
commit
4952ead094
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,8 @@ def make_convnext(input_shape, arch_name="convnext_tiny", **kwargs):
|
|||
input_shape (int[]): The input shape of the tensor that will be fed to the ConvNeXt model. This is necessary as we make the model using the functional API and thus we need to make an Input layer.
|
||||
arch_name (str, optional): The name of the preset ConvNeXt model architecture to use. Defaults to "convnext_tiny".
|
||||
"""
|
||||
nonlocal next_model_number
|
||||
|
||||
layer_in = tf.keras.layers.Input(
|
||||
shape = input_shape
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue