Skip to content

hls4ml optimization/dsp_aware_pruning changing tensorflow global behavior #1092

Open
@calad0i

Description

@calad0i

A couple of the current tests fails if hls4ml.optimization.dsp_aware_pruning is imported prior to those tests. The code causing the issue appears to be

np_config.enable_numpy_behavior()

Is there anyway we can avoid using this?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions