sliceUpdateDataTensor(_:update:startsTensor:endsTensor:stridesTensor:name:)
Creates a strided-slice update operation with zero masks and returns the result tensor.
Declaration
func sliceUpdateDataTensor(_ dataTensor: MPSGraphTensor, update updateTensor: MPSGraphTensor, startsTensor: MPSGraphTensor, endsTensor: MPSGraphTensor, stridesTensor: MPSGraphTensor, name: String?) -> MPSGraphTensorParameters
- dataTensor:
The large tensor that will receive the update.
- updateTensor:
The tensor with the new values that will replace values in the dataTensor.
- startsTensor:
A Tensor that contains an array of numbers that specify the starting points for each dimension.
- endsTensor:
A Tensor that contains an array of numbers that specify the ending points for each dimension.
- stridesTensor:
A Tensor that contains an array of numbers that specify the strides for each dimension.
- name:
The name for the operation.
Return Value
A valid MPSGraphTensor object