e6c9f5f4cf5fd9c5bad0c8f90ff38d78b31083ee,hls4ml/model/hls_layers.py,Conv2D,config_cpp,#Conv2D#,607
Before Change
params["config_t"] = "std::nullptr_t"
if self.model.config.get_config_value("IOType") == "io_stream":
instructions = self.model.config.backend.compute_conv2d_instructions(params["in_height"], params["in_width"], params["n_chan"], params["filt_height"], params["stride_height"])
instructions_str = ",".join(str(i) for i in instructions)
params["instructions"] = instructions_str
else:
After Change
if self.model.config.get_config_value("IOType") == "io_stream":
min_h, min_w, instructions = self.model.config.backend.compute_conv2d_instructions(
self.get_input_variable().shape[0],
self.get_input_variable().shape[1],
self.get_input_variable().shape[2],
params["filt_height"],
params["stride_height"])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: hls-fpga-machine-learning/hls4ml
Commit Name: e6c9f5f4cf5fd9c5bad0c8f90ff38d78b31083ee
Time: 2020-08-27
Author: vloncar@users.noreply.github.com
File Name: hls4ml/model/hls_layers.py
Class Name: Conv2D
Method Name: config_cpp
Project Name: hls-fpga-machine-learning/hls4ml
Commit Name: b81255e79685ea19731b6c34c042e7dddad0dc11
Time: 2020-10-21
Author: vloncar@users.noreply.github.com
File Name: hls4ml/model/hls_layers.py
Class Name: Conv1D
Method Name: config_cpp
Project Name: hls-fpga-machine-learning/hls4ml
Commit Name: 441b9ce0e31be82fc8bb45022a5dcb04d83bd4c4
Time: 2021-02-05
Author: vloncar@users.noreply.github.com
File Name: hls4ml/model/hls_layers.py
Class Name: Dot
Method Name: config_cpp