Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic Tag Propagation Policies and Forwarding Policy Updates #452

Open
2 of 3 tasks
drslebedev opened this issue Oct 28, 2024 · 0 comments
Open
2 of 3 tasks

Automatic Tag Propagation Policies and Forwarding Policy Updates #452

drslebedev opened this issue Oct 28, 2024 · 0 comments
Assignees

Comments

@drslebedev
Copy link
Contributor

drslebedev commented Oct 28, 2024

This is a follow-up issue to #407.

Automatic Tag Propagation Policy

  • Relevant only for blocks with `non-N_in=1:M_out=1' chunked data constraints.
  • Introduce an optional block attribute (similar to Resampling or BlockingIO) to define tag propagation policies.
  • Proposed policies:
    • Forward-propagate (default): Treat the tag as if it belongs to the first sample of the next processBulk(..) invocation.
    • Backward-propagate: Treat the tag as if it belongs to the first sample of the current processBulk(..) invocation.
    • Ignore: Tag propagation must be handled manually by the user within the processBulk(..) function (see Forwarding Policy below).
    • Action Items:
      • Implement proposed above Automatic Tag Propagation Policy

Forwarding Policy

  • Currently, we have all-to-all and one-to-one strategies defined, but only the all-to-all strategy is implemented.
  • (The idea of providing a customization point for users to plug in predefined or custom strategies has been abandoned.)
  • Instead, tag forwarding should be managed within the custom processBulk(..) function using the new InputSpan and OutputSpan API.
  • Action Items:
    • Implement a way to suppress automatic tag forwarding.
    • Modify the existing Selector block to demonstrate how to explicitly forward the correct tags to the appropriate output samples.

Related issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔖 Selected (6)
Development

No branches or pull requests

3 participants