### `tf.contrib.framework.load_variable(checkpoint_dir, name)` {#load_variable}

Returns a Tensor with the contents of the given variable in the checkpoint.

##### Args:


*  <b>`checkpoint_dir`</b>: Directory with checkpoints file or path to checkpoint.
*  <b>`name`</b>: Name of the tensor to return.

##### Returns:

  `Tensor` object.

