# tensorflow::ops::GetSessionTensor Class Reference

# tensorflow::
ops::
GetSessionTensor

`
#include <data_flow_ops.h>
`


Get the value of the tensor specified by its handle.

## Summary


Args:

- scope: A [Scope](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object
- handle: The handle for a tensor stored in the session state.
- dtype: The type of the output value.

<br />


Returns:

- `
  https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output
  ` : The tensor for the given handle.

<br />

| ### Constructors and Destructors ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/get-session-tensor#classtensorflow_1_1ops_1_1_get_session_tensor_1a128f08844c9dd6988387b680ef27c241 (const :: https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, :: https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input handle, DataType dtype) ` ||

| ### Public attributes ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/get-session-tensor#classtensorflow_1_1ops_1_1_get_session_tensor_1ac52263ad5787ac6ce2af23a947e789f8 ` | ` https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation ` |
| ` https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/get-session-tensor#classtensorflow_1_1ops_1_1_get_session_tensor_1a371ba0f0f7a7ce91b7589c1aa0457721 ` | ` :: https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output ` |

| ### Public functions ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/get-session-tensor#classtensorflow_1_1ops_1_1_get_session_tensor_1ad68df27fcc8a1fcf71ecdc304ca2e066 () const ` | ` ::tensorflow::Node * ` |
| ` https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/get-session-tensor#classtensorflow_1_1ops_1_1_get_session_tensor_1a663fecdbf33e30201d8133a4e1d1232f () const ` | ` ` |
| ` https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/get-session-tensor#classtensorflow_1_1ops_1_1_get_session_tensor_1a8b38c11d93a868ea6f48ebc5cd815bdc () const ` | ` ` |

## Public attributes

### operation

```
Operation operation
```

### value

```
::tensorflow::Output value
```

## Public functions

### GetSessionTensor

```
 GetSessionTensor(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  DataType dtype
)
```

### node

```
::tensorflow::Node * node() const 
```

### operator::tensorflow::Input

```
 operator::tensorflow::Input() const 
```

### operator::tensorflow::Output

```
 operator::tensorflow::Output() const 
```