# Placeholder.Options

public static class **Placeholder.Options** Optional attributes for `https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Placeholder`

### Public Methods

|---|---|
| [Placeholder.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Placeholder.Options) | [shape](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Placeholder.Options#shape(org.tensorflow.Shape))([Shape](https://www.tensorflow.org/api_docs/java/org/tensorflow/Shape) shape) |

### Inherited Methods

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() |

## Public Methods

#### public [Placeholder.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/Placeholder.Options)
**shape**
([Shape](https://www.tensorflow.org/api_docs/java/org/tensorflow/Shape) shape)

<br />

##### Parameters

| shape | (Optional) The shape of the tensor. If the shape has 0 dimensions, the shape is unconstrained. |
|---|---|