1
1
2
- MPS. encode! (commandBuffer:: MPSCommandBuffer , graph:: MPSGraph , feeds:: MPSGraphTensorDataDictionary , resultsDictionary:: MPSGraphTensorDataDictionary ) = @inline MPS. encode! (commandBuffer, graph, feeds, nil, resultsDictionary , MPSGraphExecutionDescriptor ())
3
- function MPS. encode! (commandBuffer:: MPSCommandBuffer , graph:: MPSGraph , feeds:: MPSGraphTensorDataDictionary , targetOperations, resultsDictionary:: MPSGraphTensorDataDictionary , executionDescriptor)
2
+ MPS. encode! (commandBuffer:: MPSCommandBuffer , graph:: MPSGraph , feeds:: MPSGraphTensorDataDictionary , resultsDictionary:: MPSGraphTensorDataDictionary ) = @inline MPS. encode! (commandBuffer, graph, feeds, resultsDictionary, nil , MPSGraphExecutionDescriptor ())
3
+ function MPS. encode! (commandBuffer:: MPSCommandBuffer , graph:: MPSGraph , feeds:: MPSGraphTensorDataDictionary , resultsDictionary:: MPSGraphTensorDataDictionary , targetOperations, executionDescriptor:: MPSGraphExecutionDescriptor )
4
4
@objc [graph:: id{MPSGraph} encodeToCommandBuffer: commandBuffer:: id{MPSCommandBuffer}
5
5
feeds: feeds:: id{MPSGraphTensorDataDictionary}
6
6
targetOperations: targetOperations:: id{Object}
@@ -9,7 +9,7 @@ function MPS.encode!(commandBuffer::MPSCommandBuffer, graph::MPSGraph, feeds::MP
9
9
return resultsDictionary
10
10
end
11
11
12
- function MPS. encode! (commandBuffer:: MPSCommandBuffer , graph:: MPSGraph , feeds:: MPSGraphTensorDataDictionary , targetTensors:: NSArray , targetOperations= nil, executionDescriptor= MPSGraphExecutionDescriptor ())
12
+ function MPS. encode! (commandBuffer:: MPSCommandBuffer , graph:: MPSGraph , feeds:: MPSGraphTensorDataDictionary , targetTensors:: NSArray , targetOperations= nil, executionDescriptor:: MPSGraphExecutionDescriptor = MPSGraphExecutionDescriptor ())
13
13
obj = @objc [graph:: id{MPSGraph} encodeToCommandBuffer: commandBuffer:: id{MPSCommandBuffer}
14
14
feeds: feeds:: id{MPSGraphTensorDataDictionary}
15
15
targetTensors: targetTensors:: id{NSArray}
0 commit comments