tf.raw_ops.OnesLike

robots: noindex

Returns a tensor of ones with the same shape and type as x.