W3cubDocs

/TensorFlow C++

tensorflow::ops::Tile

#include <array_ops.h>

Constructs a tensor by tiling a given tensor.

Summary

This operation creates a new tensor by replicating inputmultiples times. The output tensor's i'th dimension has input.dims(i) * multiples[i] elements, and the values of input are replicated multiples[i] times along the 'i'th dimension. For example, tiling [a b c d] by [2] produces [a b c d a b c d].

Arguments:

  • scope: A Scope object
  • input: 1-D or higher.
  • multiples: 1-D. Length must be the same as the number of dimensions in input

Returns:

Constructors and Destructors
Tile(const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input multiples)
Public attributes
output
Public functions
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Public attributes

output

::tensorflow::Output output

Public functions

Tile

 Tile(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input multiples
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

© 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/tile.html