Mercurial > repos > public > sbplib_julia
comparison src/LazyTensors/lazy_tensor_operations.jl @ 1878:b12e28a03b2e refactor/lazy_tensors/elementwise_ops
Add missing newline
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 27 Jan 2025 17:10:59 +0100 |
parents | 21e5fe1545c0 |
children | 765f42559c47 |
comparison
equal
deleted
inserted
replaced
1877:21e5fe1545c0 | 1878:b12e28a03b2e |
---|---|
64 apply(tm::TensorNegation, v, I...) = -apply(tm.tm, v, I...) | 64 apply(tm::TensorNegation, v, I...) = -apply(tm.tm, v, I...) |
65 apply_transpose(tm::TensorNegation, v, I...) = -apply_transpose(tm.tm, v, I...) | 65 apply_transpose(tm::TensorNegation, v, I...) = -apply_transpose(tm.tm, v, I...) |
66 | 66 |
67 range_size(tm::TensorNegation) = range_size(tm.tm) | 67 range_size(tm::TensorNegation) = range_size(tm.tm) |
68 domain_size(tm::TensorNegation) = domain_size(tm.tm) | 68 domain_size(tm::TensorNegation) = domain_size(tm.tm) |
69 | |
69 | 70 |
70 """ | 71 """ |
71 TensorSum{T,R,D,...} <: LazyTensor{T,R,D} | 72 TensorSum{T,R,D,...} <: LazyTensor{T,R,D} |
72 | 73 |
73 The sum of 2 or more lazy tensors. | 74 The sum of 2 or more lazy tensors. |