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

refactor: Tensor::run &Layer::getFunc: Tensor& -> Tensor #121

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

yirongjie
Copy link
Collaborator

Remove the references of the output and input at the front end.

  1. Tensor& Tensor::run -> Tensor Tensor::run
  2. Tensor& Layer::getFunc->Tensor Layer::getFunc

Because in these two functions, operating on Tensor::graphs according to the input/output Tensor's name, the reference is invalid.

@yirongjie yirongjie merged commit 4aadbdd into UbiquitousLearning:main Aug 16, 2024
1 check passed
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.

2 participants