Help protect the Great Barrier Reef with TensorFlow on Kaggle

# tensorflow:: ops:: Mean

``` #include <math_ops.h> ```

Computes the mean of elements across dimensions of a tensor.

## Summary

Reduces ``` input ``` along the dimensions given in ``` axis ``` . Unless ``` keep_dims ``` is true, the rank of the tensor is reduced by 1 for each entry in ``` axis ``` . If ``` keep_dims ``` is true, the reduced dimensions are retained with length 1.

Args:

• scope: A Scope object
• input: The tensor to reduce.
• axis: The dimensions to reduce. Must be in the range ``` [-rank(input), rank(input)) ``` .

Optional attributes (see ``` Attrs ``` ):

• keep_dims: If true, retain reduced dimensions with length 1.

Returns:

• ``` Output ``` : The reduced tensor.

Aliases:

• ReduceMean

### Constructors and Destructors

``` Mean (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis) ```
``` Mean (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis, const Mean::Attrs & attrs) ```

### Public attributes

``` operation ```
``` Operation ```
``` output ```
``` :: tensorflow::Output ```

### Public functions

``` node () const ```
``` ::tensorflow::Node * ```
``` operator::tensorflow::Input () const ```
``` ```
``` operator::tensorflow::Output () const ```
``` ```

### Public static functions

``` KeepDims (bool x) ```
``` Attrs ```

### Structs

tensorflow:: ops:: Mean:: Attrs

Optional attribute setters for Mean .

## Public attributes

### operation

`Operation operation`

### output

`::tensorflow::Output output`

## Public functions

### Mean

``` Mean(
const ::tensorflow::Scope & scope,
::tensorflow::Input input,
::tensorflow::Input axis
)```

### Mean

``` Mean(
const ::tensorflow::Scope & scope,
::tensorflow::Input input,
::tensorflow::Input axis,
const Mean::Attrs & attrs
)```

### node

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

### operator::tensorflow::Input

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

### operator::tensorflow::Output

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

## Public static functions

### KeepDims

```Attrs KeepDims(
bool x
)```
[{ "type": "thumb-down", "id": "missingTheInformationINeed", "label":"Missing the information I need" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"Too complicated / too many steps" },{ "type": "thumb-down", "id": "outOfDate", "label":"Out of date" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"Samples / code issue" },{ "type": "thumb-down", "id": "otherDown", "label":"Other" }]
[{ "type": "thumb-up", "id": "easyToUnderstand", "label":"Easy to understand" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"Solved my problem" },{ "type": "thumb-up", "id": "otherUp", "label":"Other" }]