DeepLearning/Tensor/Tile
tile a Tensor over specified dimensions
Calling Sequence
Parameters
Options
Description
Examples
Compatibility
Tile(t,multiples,opts)
t
-
Tensor
multiples
list of integers
opts
zero or more options as specified below
name=string
The value of option name specifies an optional name for this Tensor, to be displayed in output and when visualizing the dataflow graph.
The Tile(t,multiples) command constructs a Tensor by tiling a given Tensor multiple times.
This operation creates a new Tensor by replicating input multiples times.
The size of the list multiples must correspond with the number of dimensions of t. For each i, multiples[i] specifies the number of repetitions in dimension i.
Here we begin with a 2x2 matrix and clone it twice vertically and three times horizontally, producing a 6x4 matrix.
with⁡DeepLearning:
t1 ≔ Constant⁡1.,2.|3.,4.
t1≔DeepLearning TensorShape: [2, 2]Data Type: float[8]
t2 ≔ Tile⁡t1,2,3
t2≔DeepLearning TensorShape: [4, 6]Data Type: float[8]
Shape⁡t2
4,6
The DeepLearning/Tensor/Tile command was introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
See Also
DeepLearning Overview
Download Help Document
What kind of issue would you like to report? (Optional)