Skip to content

class Buffer is missing the .cropped() method in Bindings #8785

@rtzam

Description

@rtzam
>>> from halide import Buffer
>>> b = Buffer()
>>> b.cropped
Traceback (most recent call last):
  File "<python-input-2>", line 1, in <module>
    b.cropped
AttributeError: 'halide.halide_.Buffer' object has no attribute 'cropped'

I am trying to pass a subsection of a buffer into a pipeline and need access to this from Python.

Metadata

Metadata

Labels

pythonIssues related to Halide/Python interop

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions