# LowerBound

public final class **LowerBound** 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 entire
\`Tensor\`, but rather just the index in the last dimension.


A 2-D example:
sorted_sequence = \[\[0, 3, 9, 9, 10\],
\[1, 2, 3, 4, 5\]\]
values = \[\[2, 4, 9\],
\[0, 2, 6\]\]


result = LowerBound(sorted_sequence, values)


result == \[\[1, 2, 2\],
\[0, 1, 5\]\]

<br />

<br />

<br />

<br />

<br />

### Public Methods

|---|---|
| [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<U\> | [asOutput](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/LowerBound#asOutput())() Returns the symbolic handle of a tensor. |
| static \<U extends Number, T\> [LowerBound](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/LowerBound)\<U\> | [create](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/LowerBound#create(org.tensorflow.op.Scope,%20org.tensorflow.Operand<T>,%20org.tensorflow.Operand<T>,%20java.lang.Class<U>))([Scope](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/Scope) scope, [Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)\<T\> sortedInputs, [Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)\<T\> values, Class\<U\> outType) Factory method to create a class wrapping a new LowerBound operation. |
| static \<T\> [LowerBound](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/LowerBound)\<Integer\> | [create](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/LowerBound#create(org.tensorflow.op.Scope,%20org.tensorflow.Operand<T>,%20org.tensorflow.Operand<T>))([Scope](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/Scope) scope, [Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)\<T\> sortedInputs, [Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)\<T\> values) Factory method to create a class wrapping a new LowerBound operation using default output types. |
| [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<U\> | [output](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/LowerBound#output())() A \`Tensor\` with the same shape as \`values\`. |

### Inherited Methods

From class [org.tensorflow.op.PrimitiveOp](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp)

|---|---|
| final boolean | [equals](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp#equals(java.lang.Object))(Object obj) |
| final int | [hashCode](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp#hashCode())() |
| [Operation](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operation) | [op](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp#op())() Returns the underlying `https://www.tensorflow.org/api_docs/java/org/tensorflow/Operation` |
| final String | [toString](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp#toString())() |

From class java.lang.Object

|---|---|
| boolean | equals(Object arg0) |
| final Class\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| String | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |

From interface [org.tensorflow.Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)

|---|---|
| abstract [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<U extends Number\> | [asOutput](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand#asOutput())() Returns the symbolic handle of a tensor. |

## Public Methods

#### public [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<U\>
**asOutput**
()

Returns the symbolic handle of a tensor.

Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is
used to obtain a symbolic handle that represents the computation of the input.

<br />

#### public static [LowerBound](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/LowerBound)\<U\>
**create**
([Scope](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/Scope) scope, [Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)\<T\> sortedInputs, [Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)\<T\> values, Class\<U\> outType)

Factory method to create a class wrapping a new LowerBound operation.

##### Parameters

| scope | current scope |
| sortedInputs | 2-D Tensor where each row is ordered. |
| values | 2-D Tensor with the same numbers of rows as \`sorted_search_values\`. Contains the values that will be searched for in \`sorted_search_values\`. |
|---|---|

##### Returns

- a new instance of LowerBound

#### public static [LowerBound](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/LowerBound)\<Integer\>
**create**
([Scope](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/Scope) scope, [Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)\<T\> sortedInputs, [Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)\<T\> values)

Factory method to create a class wrapping a new LowerBound operation using default output types.

##### Parameters

| scope | current scope |
| sortedInputs | 2-D Tensor where each row is ordered. |
| values | 2-D Tensor with the same numbers of rows as \`sorted_search_values\`. Contains the values that will be searched for in \`sorted_search_values\`. |
|---|---|

##### Returns

- a new instance of LowerBound

#### public [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<U\>
**output**
()

A \`Tensor\` with the same shape as \`values\`. It contains the first scalar index
into the last dimension where values can be inserted without changing the
ordered property.