---
title: "call(symbolName:inputTensors:outputTypes:name:)"
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Method
path: "metalperformanceshadersgraph/mpsgraph/call(symbolname:inputtensors:outputtypes:name:)"
---

# call(symbolName:inputTensors:outputTypes:name:)

Creates an operation which invokes another executable.

## Declaration

```swift
func call(symbolName: String, inputTensors: [MPSGraphTensor], outputTypes: [MPSGraphType], name: String?) -> [MPSGraphTensor]
```

## Parameters

- `symbolName`: The unique identifier used to find the executable in the MPSGraphCompilationDescriptor.callables directory.
- `inputTensors`: The tensors which are passed as inputs to the executable being invoked.
- `outputTypes`: The expected return types of the executable being invoked.
- `name`: Name of operation.

## Return Value

Return Value An array of valid MPSGraphTensor objects representing the return tensors of the invoked executable.
