Contents

cumulativeMaximum(_:axisTensor:name:)

Computes the cumulative maximum of the input tensor along the specified axis.

Declaration

func cumulativeMaximum(_ tensor: MPSGraphTensor, axisTensor: MPSGraphTensor, name: String?) -> MPSGraphTensor

Parameters

  • tensor:

    The input tensor

  • axisTensor:

    The tensor dimension where you compute the cumulative operation

  • name:

    The name for the operation.

Return Value

A valid MPSGraphTensor object