Add
public final class Add : Model
Add two inputs together. It will do broadcast if needed.
-
Declaration
Swift
public init(leftScalar: Float = 1, rightScalar: Float = 1, name: String = "")
-
Declaration
Swift
public func callAsFunction<T: DynamicGraph.TensorGroup>( _ left: T, _ right: T, streamContext: StreamContext? = nil ) -> T