tensorflow::ops::Shape

#include <array_ops.h>

Returns the shape of a tensor.

Summary

This operation returns a 1-D integer tensor representing the shape of input.

For example:

``` 't' is [[[1, 1, 1], [2, 2, 2]], [[3, 3, 3], [4, 4, 4]]]

shape(t) ==> [2, 2, 3] ```

Arguments:

Returns:

Constructors and Destructors

Shape(const ::tensorflow::Scope & scope, ::tensorflow::Input input)
Shape(const ::tensorflow::Scope & scope, ::tensorflow::Input input, const Shape::Attrs & attrs)

Public attributes

output

Public functions

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

Public static functions

OutType(DataType x)

Structs

tensorflow::ops::Shape::Attrs

Optional attribute setters for Shape.

Public attributes

output

::tensorflow::Output output

Public functions

Shape

 Shape(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input
)

Shape

 Shape(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const Shape::Attrs & attrs
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

Public static functions

OutType

Attrs OutType(
  DataType x
)