Contents

tileGradient(withIncomingGradientTensor:sourceTensor:withMultiplier:name:)

Creates a tile gradient operation and returns the result tensor.

Declaration

func tileGradient(withIncomingGradientTensor incomingGradientTensor: MPSGraphTensor, sourceTensor: MPSGraphTensor, withMultiplier multiplier: [NSNumber], name: String?) -> MPSGraphTensor

Parameters

  • incomingGradientTensor:

    The input gradient tensor.

  • sourceTensor:

    The input tensor of the forward pass.

  • multiplier:

    An array of numbers that specifies how many copies per dimension MPSGraph produced in the forward pass.

  • name:

    The name for the operation.

Return Value

A valid MPSGraphTensor object.