fma(y:z:)
Adds an element-wise fused multiply-add operation to the current graph.
Declaration
func fma(y: some BNNSGraph.Builder.OperationParameter<T>, z: some BNNSGraph.Builder.OperationParameter<T>) -> BNNSGraph.Builder.Tensor<T>Parameters
- y:
The
yinx * y + z. - z:
The
zinx * y + z.
Discussion
This function treats the current tensor as x in x * y + z.