clip(to:)
Adds an element-wise clip operation to the current graph.
Declaration
func clip(to bounds: ClosedRange<Float>) -> BNNSGraph.Builder.Tensor<T>Parameters
- bounds:
The bounds that the operations clips the values to.
Adds an element-wise clip operation to the current graph.
func clip(to bounds: ClosedRange<Float>) -> BNNSGraph.Builder.Tensor<T>The bounds that the operations clips the values to.