W3cubDocs

/TensorFlow C++

tensorflow::ops::ShapeN

#include <array_ops.h>

Returns shape of tensors.

Summary

This operation returns N 1-D integer tensors representing shape of input[i]s.

Arguments:

Returns:

  • OutputList: The output tensor.
Constructors and Destructors
ShapeN(const ::tensorflow::Scope & scope, ::tensorflow::InputList input)
ShapeN(const ::tensorflow::Scope & scope, ::tensorflow::InputList input, const ShapeN::Attrs & attrs)
Public attributes
output
Public functions
operator[](size_t index) const
Public static functions
OutType(DataType x)
Structs
tensorflow::ops::ShapeN::Attrs

Optional attribute setters for ShapeN.

Public attributes

output

::tensorflow::OutputList output

Public functions

ShapeN

 ShapeN(
  const ::tensorflow::Scope & scope,
  ::tensorflow::InputList input
)

ShapeN

 ShapeN(
  const ::tensorflow::Scope & scope,
  ::tensorflow::InputList input,
  const ShapeN::Attrs & attrs
)

operator[]

::tensorflow::Output operator[](
  size_t index
) const 

Public static functions

OutType

Attrs OutType(
  DataType x
)

© 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/class/tensorflow/ops/shape-n.html