Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add KernelTensorSum #507

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

Open
martincornejo wants to merge 11 commits into JuliaGaussianProcesses:master
base: master
Choose a base branch
Loading
from martincornejo:kernel-tensor-sum
Open
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit Hold shift + click to select a range
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 KernelTensorSum overload test
  • Loading branch information
martincornejo committed May 10, 2023
commit 2be0d375153eacb39c4b6a0d0b9820431ae37e29
5 changes: 3 additions & 2 deletions test/kernels/overloads.jl
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
k2 = SqExponentialKernel()
k3 = RationalQuadraticKernel()

for (op, T) in ((+, KernelSum), (*, KernelProduct), (⊗, KernelTensorProduct), (⊕, KernelTensorSum))
if T === KernelTensorProduct
for (op, T) in
((+, KernelSum), (*, KernelProduct), (⊗, KernelTensorProduct), (⊕, KernelTensorSum))
if T === KernelTensorProduct || T === KernelTensorSum
v2_1 = rand(rng, 2)
v2_2 = rand(rng, 2)
v3_1 = rand(rng, 3)
Expand Down

AltStyle によって変換されたページ (->オリジナル) /