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

Update doc comment to fix wrong return type. #267

Merged
merged 1 commit into from
Jun 21, 2019
Merged
Changes from all commits
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
2 changes: 1 addition & 1 deletion Sources/TensorFlow/Operators/Math.swift
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public extension Tensor where Scalar: Numeric {
return Raw.mul(lhs, rhs)
}

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