W3cubDocs

/TensorFlow C++

tensorflow::ops::Squeeze::Attrs

#include <array_ops.h>

Optional attribute setters for Squeeze.

Summary

Public attributes
squeeze_dims_ = {}
gtl::ArraySlice< int >
Public functions
SqueezeDims(const gtl::ArraySlice< int > & x)
If specified, only squeezes the dimensions listed.

Public attributes

squeeze_dims_

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

Public functions

SqueezeDims

Attrs tensorflow::ops::Squeeze::Attrs::SqueezeDims(
  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 []

© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/squeeze/attrs.html