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

Integrate named tensors #57

Open
seanmor5 opened this issue Apr 19, 2021 · 1 comment
Open

Integrate named tensors #57

seanmor5 opened this issue Apr 19, 2021 · 1 comment
Labels
kind:feature New feature or request

Comments

@seanmor5
Copy link
Contributor

On the high-level API, we can integrate named tensors by specifying the expected names on input:

Axon.input(batch: nil, channels: 3, height: 224, width: 224)

Then we'll need to consider how these are transformed through the network. For other layers, we could consider adding an option to specify output features as keywords:

Axon.input(batch: nil, pixels: 784)
|> Axon.dense(features: 128, activation: :relu)
|> Axon.dense(label: 10, activation: :softmax)
@seanmor5 seanmor5 added the kind:feature New feature or request label Apr 19, 2021
@josevalim
Copy link
Contributor

I am not sure I like the mixing of keyword lists vs tuples - in a way I would prefer a separate :names option, as in Nx, but maybe we should be allowing keyword lists in Nx too....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants