Mercurial > repos > public > sbplib_julia
comparison src/LazyTensors/lazy_tensor_operations.jl @ 994:55ab7801c45f refactor/lazy_tensors
Fix typo in doc
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 18 Mar 2022 20:44:17 +0100 |
parents | bc384aaade30 |
children | 1ba8a398af9c |
comparison
equal
deleted
inserted
replaced
993:2f9beee56a4c | 994:55ab7801c45f |
---|---|
192 # TODO: Move the operator definitions to one place | 192 # TODO: Move the operator definitions to one place |
193 | 193 |
194 """ | 194 """ |
195 ScalingTensor{T,D} <: TensorMapping{T,D,D} | 195 ScalingTensor{T,D} <: TensorMapping{T,D,D} |
196 | 196 |
197 A Lazy tensor operator that scales its input with `λ`. | 197 A lazy tensor that scales its input with `λ`. |
198 """ | 198 """ |
199 struct ScalingTensor{T,D} <: TensorMapping{T,D,D} | 199 struct ScalingTensor{T,D} <: TensorMapping{T,D,D} |
200 λ::T | 200 λ::T |
201 size::NTuple{D,Int} | 201 size::NTuple{D,Int} |
202 end | 202 end |