Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Tensor setup via method chaining #182

Copy link
Copy link

Description

@dboyliao
Issue body actions

Sth like this:

Tensor* t = new Tensor();
(t->setShape({3, 3})->setAddress(<address>)->....) // setup whatever you need.

It'll be a lot easier to design a template for the code generator if we have many mechanism to control how tensor behave at the runtime.
Mostly mem allocation for now, but I can see there'll be more to come in the future.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    ideaAll ideas are welcomedAll ideas are welcomed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.