+
Skip to content

Conversation

coreylowman
Copy link
Owner

Needed for #306 - Right now Dtype requires Add/Sub/etc, but you can't do that for bool.

Therefore this is adding an intermediate trait Unit which doesn't have arithmetic traits implemented. Tensors can be created with Unit type, but you can't track gradients with Unit

@coreylowman coreylowman merged commit 0becc0f into main Dec 16, 2022
@coreylowman coreylowman deleted the add-unit branch December 16, 2022 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载