Skip to content

Commit daae96d

Browse files
committed
fix
1 parent d999ad8 commit daae96d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hls4ml/templates/vitis/nnet_utils/nnet_conv1d_latency.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ void pointwise_conv_1d_latency_cl(data_T data[CONFIG_T::in_width * CONFIG_T::n_c
127127
(ii * CONFIG_T::stride_width) >= (CONFIG_T::pad_left + CONFIG_T::in_width)) {
128128
mult[index_mult] = 0;
129129
} else {
130-
mult[index_mult] = CONFIG_T::template product<data_T, typename CONFIG_T::weight_t>::product(
130+
mult[index_mult] = CONFIG_T::mult_config::template product<data_T, typename CONFIG_T::weight_t>::product(
131131
data[index_data], weights[index_weight]);
132132
}
133133
} // end channel loop

hls4ml/templates/vivado/nnet_utils/nnet_conv1d_latency.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ void pointwise_conv_1d_latency_cl(data_T data[CONFIG_T::in_width * CONFIG_T::n_c
126126
(ii * CONFIG_T::stride_width) >= (CONFIG_T::pad_left + CONFIG_T::in_width)) {
127127
mult[index_mult] = 0;
128128
} else {
129-
mult[index_mult] = CONFIG_T::template product<data_T, typename CONFIG_T::weight_t>::product(
129+
mult[index_mult] = CONFIG_T::mult_config::template product<data_T, typename CONFIG_T::weight_t>::product(
130130
data[index_data], weights[index_weight]);
131131
}
132132
} // end channel loop

0 commit comments

Comments
 (0)