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

square_error_cost #17425

Closed
m-gopichand opened this issue Jun 20, 2023 · 3 comments
Closed

square_error_cost #17425

m-gopichand opened this issue Jun 20, 2023 · 3 comments
Labels
Sub Task a sub task which is stemming from a ToDo list issue

Comments

@m-gopichand
Copy link

No description provided.

@m-gopichand m-gopichand added the Sub Task a sub task which is stemming from a ToDo list issue label Jun 20, 2023
@morady0213
Copy link

loss = MSELoss()
for epoch in range(num_epochs):
for batch in data_loader:
inputs, targets = batch
outputs = model(inputs)
loss = loss(outputs, targets)
loss.backward()
optimizer.step()
optimizer.clear_grad()
print(f"Epoch {epoch+1}, Loss: {loss.numpy()}")

@m-gopichand
Copy link
Author

m-gopichand commented Jun 24, 2023

Hi, @hmahmood24 can you please review

@Ambro19
Copy link
Contributor

Ambro19 commented Jul 10, 2023

Hi @m-gopichand , can I try to work on this issue: #15053 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sub Task a sub task which is stemming from a ToDo list issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants