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

Removed deprecated torch.lstsq, replaced by torch.linalg.lstsq #33

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix example
  • Loading branch information
raphaelattias committed Jan 11, 2023
commit 26091e408f3f96c20baec78ef64d3cc8250083ba
2 changes: 1 addition & 1 deletion example.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
plt.show()

t_ = time.time()
print("tf runtime:", time.time() - t_)
norm, H, E = tf_normalizer.normalize(I=t_to_transform, stains=True)
print("tf runtime:", time.time() - t_)
plt.figure()
plt.suptitle('tensorflow normalizer')
plt.subplot(2, 2, 1)
Expand Down