Skip to content

Rename _output_type_depends_on_input_value #1188

Open
@ricardoV94

Description

@ricardoV94

Description

The Aarray API standard has a name for this: https://data-apis.org/array-api/draft/design_topics/data_dependent_output_shapes.html

Propose renaming it to data_dependent_output_shapes for discoverability / standardization.

_output_type_depends_on_input_value = False
"""
Whether the static output type depends on the inferred value of one of the inputs.
(e.g, via constant folding or static shape inference).
This information is needed when rebuilding a graph with new inputs,
as nodes with these Ops must be rebuilt even if the input types haven't changed.
"""

We should also document it in the Op docs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions