Background
While the mock models and elevation encoding are still being implemented, we will mock the pipeline behaviour by defining a simple blur function that can operate on inputs.
Description
- Create the interface for users to call this model pipeline, some entrypoint such as
ModelPipeline.generate(patch)
- Define a second function called
blur that takes in a grid of numbers and blurs them by changing the value of each cell to be the average of cells around it
- Within the interface call the blur function on the input patch and return the modified grid.
Background
While the mock models and elevation encoding are still being implemented, we will mock the pipeline behaviour by defining a simple blur function that can operate on inputs.
Description
ModelPipeline.generate(patch)blurthat takes in a grid of numbers and blurs them by changing the value of each cell to be the average of cells around it