tensorflow::ops::Squeeze::Attrs

#include <array_ops.h>

Optional attribute setters for Squeeze.

Summary

Public attributes

axis_ = {}
gtl::ArraySlice< int >

Public functions

Axis(const gtl::ArraySlice< int > & x)
TF_MUST_USE_RESULT Attrs
If specified, only squeezes the dimensions listed.

Public attributes

axis_

gtl::ArraySlice< int > tensorflow::ops::Squeeze::Attrs::axis_ = {}

Public functions

Axis

TF_MUST_USE_RESULT Attrs tensorflow::ops::Squeeze::Attrs::Axis(
  const gtl::ArraySlice< int > & x
)

If specified, only squeezes the dimensions listed.

The dimension index starts at 0. It is an error to squeeze a dimension that is not 1. Must be in the range [-rank(input), rank(input)).

Defaults to []