Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Commit aea6a4c

Browse files
naru-jpnsaeta
authored andcommitted
Fix wrong return type (#267)
1 parent 5957d9e commit aea6a4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/TensorFlow/Operators/Math.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public extension Tensor where Scalar: Numeric {
247247
return Raw.mul(lhs, rhs)
248248
}
249249

250-
/// Returns the scalar by multiplying it with every scalar of the tensor.
250+
/// Returns the tensor by multiplying it with every scalar of the tensor.
251251
@inlinable
252252
@differentiable(vjp: _vjpMultiply(lhs:rhs:) where Scalar: TensorFlowFloatingPoint)
253253
static func * (lhs: Scalar, rhs: Tensor) -> Tensor {

0 commit comments

Comments
 (0)