Skip to content

[serialization] Deserializer should create default ImageParams (if external_params is empty) #7862

@derek-gerstmann

Description

@derek-gerstmann
    // FIXME: We shouldn't have to populate the params ... but passing an empty map triggers an error in deserialize
    // for a missing input param
    std::map<std::string, Parameter> params; 
    ImageParam input(UInt(8), 3, "input");
    params.insert({"input", input.parameter()});

    // Now deserialize the pipeline from file
    Pipeline blur_pipeline = deserialize_pipeline("blur.hlpipe", params);

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