Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

How to express Broadcast with TC language? #626

@ghostplant

Description

@ghostplant

Most of TC examples are actually for tensor reshape or reduce. Any examples for tensor broadcast?

The following try isn't supported by TC:

def broadcast(float(N, M) I0) -> (O) {
  O(n, m, k) = I0(n, m)
}

or

def broadcast(float(N, M) I0) -> (float(N, M, K) O) {
  O(n, m, k) = I0(n, m)
}

Metadata

Metadata

Assignees

No one assigned

    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