diff --git a/example-prjs/hard_sigmoid/config.yml b/example-prjs/hard_sigmoid/config.yml index bdcb66aabd..b3a97782e9 100644 --- a/example-prjs/hard_sigmoid/config.yml +++ b/example-prjs/hard_sigmoid/config.yml @@ -7,7 +7,7 @@ XilinxPart: xcku115-flvb2104-2-i Part: xcku115-flvb2104-2-i ClockPeriod: 5 -IOType : io_parallel +IOType : io_stream HLSConfig: Model: Precision: ap_fixed<16, 6> diff --git a/example-prjs/hard_sigmoid/hard_sigmoid.h5 b/example-prjs/hard_sigmoid/hard_sigmoid.h5 index 8e3eaf5de8..1f8e43fcfd 100644 Binary files a/example-prjs/hard_sigmoid/hard_sigmoid.h5 and b/example-prjs/hard_sigmoid/hard_sigmoid.h5 differ diff --git a/example-prjs/hard_sigmoid/hard_sigmoid.json b/example-prjs/hard_sigmoid/hard_sigmoid.json index 0bd42ebe48..ff539ff52d 100644 --- a/example-prjs/hard_sigmoid/hard_sigmoid.json +++ b/example-prjs/hard_sigmoid/hard_sigmoid.json @@ -1 +1 @@ -{"class_name": "Sequential", "config": {"name": "sequential", "layers": [{"class_name": "InputLayer", "config": {"batch_input_shape": [null, 5, 5, 1], "dtype": "float32", "sparse": false, "ragged": false, "name": "conv2d_input"}}, {"class_name": "Conv2D", "config": {"name": "conv2d", "trainable": true, "dtype": "float32", "batch_input_shape": [null, 5, 5, 1], "filters": 1, "kernel_size": [3, 3], "strides": [1, 1], "padding": "valid", "data_format": "channels_last", "dilation_rate": [1, 1], "groups": 1, "activation": "hard_sigmoid", "use_bias": true, "kernel_initializer": "random_kernel", "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}}]}, "keras_version": "2.11.0", "backend": "tensorflow"} \ No newline at end of file +{"class_name": "Sequential", "config": {"name": "sequential", "layers": [{"class_name": "InputLayer", "config": {"batch_input_shape": [null, 5, 5, 1], "dtype": "float32", "sparse": false, "ragged": false, "name": "conv2d_input"}}, {"class_name": "Conv2D", "config": {"name": "conv2d", "trainable": true, "dtype": "float32", "batch_input_shape": [null, 5, 5, 1], "filters": 1, "kernel_size": [3, 3], "strides": [1, 1], "padding": "valid", "data_format": "channels_last", "dilation_rate": [1, 1], "groups": 1, "activation": "hard_sigmoid", "use_bias": true, "kernel_initializer": {"module": "builtins", "class_name": "function", "config": "random_kernel", "registered_name": "function"}, "bias_initializer": {"module": "keras.initializers", "class_name": "Zeros", "config": {}, "registered_name": null}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}}]}, "keras_version": "2.13.1", "backend": "tensorflow"} \ No newline at end of file diff --git a/example-prjs/hard_sigmoid/hard_sigmoid_weights.h5 b/example-prjs/hard_sigmoid/hard_sigmoid_weights.h5 index 0043e82d97..61f7c31130 100644 Binary files a/example-prjs/hard_sigmoid/hard_sigmoid_weights.h5 and b/example-prjs/hard_sigmoid/hard_sigmoid_weights.h5 differ