Applies lower_bound(sorted_search_values, values) along each row. Each set of rows with the same index in (sorted_inputs, values) is treated independently. The resulting row is the equivalent of calling `np.searchsorted(sorted_inputs, values, side='left')`. The result is not a global index to the
(scope *Scope, sorted_inputs tf.Output, values tf.Output, optional ...LowerBoundAttr)
| 305 | // into the last dimension where values can be inserted without changing the |
| 306 | // ordered property. |
| 307 | func LowerBound(scope *Scope, sorted_inputs tf.Output, values tf.Output, optional ...LowerBoundAttr) (output tf.Output) { |
| 308 | if scope.Err() != nil { |
| 309 | return |
| 310 | } |
| 311 | attrs := map[string]interface{}{} |
| 312 | for _, a := range optional { |
| 313 | a(attrs) |
| 314 | } |
| 315 | opspec := tf.OpSpec{ |
| 316 | Type: "LowerBound", |
| 317 | Input: []tf.Input{ |
| 318 | sorted_inputs, values, |
| 319 | }, |
| 320 | Attrs: attrs, |
| 321 | } |
| 322 | op := scope.AddOperation(opspec) |
| 323 | return op.Output(0) |
| 324 | } |
| 325 | |
| 326 | // Concatenates quantized tensors along one dimension. |
| 327 | // |
nothing calls this directly
no test coverage detected