Initializer that generates tensors initialized to 1.
- - -

#### `tf.ones_initializer.__call__(shape, dtype=None, partition_info=None)` {#ones_initializer.__call__}




- - -

#### `tf.ones_initializer.__init__(dtype=tf.float32)` {#ones_initializer.__init__}




