setInputDimensions(_:bufferIndex:)
Sets the dimension of an input tensor at a buffer index.
Declaration
func setInputDimensions(_ dimensions: MTLTensorExtents?, bufferIndex: Int)Parameters
- dimensions:
The dimensions of the tensor.
- bufferIndex:
Index of the tensor to modify.