Contents

threshold(to:)

Adds an element-wise round operation to the current graph.

Declaration

func threshold(to lowerBound: Float) -> BNNSGraph.Builder.Tensor<T>

Parameters

  • lowerBound:

    The lower bound.