Contents

setInputDimensions(_:bufferIndex:)

Sets the dimensions of multiple input tensors on a range of buffer bindings.

Declaration

func setInputDimensions(_ dimensions: [MTLTensorExtents], bufferIndex: Int)

Parameters

  • dimensions:

    An array of tensor extents.

  • bufferIndex:

    The index of the first input to modify. Subsequent array elements affect subsequent indices.