tileTensor(_:withMultiplier:name:)
Creates a tile operation and returns the result tensor.
Declaration
func tileTensor(_ tensor: MPSGraphTensor, withMultiplier multiplier: [NSNumber], name: String?) -> MPSGraphTensorParameters
- tensor:
The input tensor
- multiplier:
An array of numbers that specifies how many copies per dimension MPSGraph produces.
- name:
The name for the operation.
Return Value
A valid MPSGraphTensor object.
Discussion
Creates a tensor which contains multiple copies of the input tensor along each dimension of the tensor.