# micromutableopresolver

Fixed-capacity registration template; capacity counts registrations, not model nodes.

## tflite::MicroMutableOpResolver

`class` · `cpp`

```cpp
template <unsigned int tOpCount>
class MicroMutableOpResolver : public tflite::MicroOpResolver
```

Source: `tensorflow/lite/micro/micro_mutable_op_resolver.h:51`

### tflite::MicroMutableOpResolver::MicroMutableOpResolver

`method` · `cpp`

```cpp
tflite::MicroMutableOpResolver< tOpCount >::MicroMutableOpResolver()
```

Source: `tensorflow/lite/micro/micro_mutable_op_resolver.h:55`

### tflite::MicroMutableOpResolver::FindOp--classtflite_1_1MicroMutableOpResolver_1a86e74c9f4c46d641339960f46f38f08b

`method` · `cpp`

```cpp
const TFLMRegistration * tflite::MicroMutableOpResolver< tOpCount >::FindOp(tflite::BuiltinOperator op) const
```

Returns the Op registration struct corresponding to the enum code from the flatbuffer schema. Returns nullptr if the op is not found or if op == BuiltinOperator_CUSTOM.

**Parameters**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| op | tflite::BuiltinOperator | Required |  |

Source: `tensorflow/lite/micro/micro_mutable_op_resolver.h:57`

### tflite::MicroMutableOpResolver::FindOp--classtflite_1_1MicroMutableOpResolver_1a28b934351294d279b45ef9362f33e899

`method` · `cpp`

```cpp
const TFLMRegistration * tflite::MicroMutableOpResolver< tOpCount >::FindOp(const char *op) const
```

Returns the Op registration struct corresponding to the custom operator by name.

**Parameters**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| op | const char * | Required |  |

Source: `tensorflow/lite/micro/micro_mutable_op_resolver.h:69`

### tflite::MicroMutableOpResolver::GetOpDataParser

`method` · `cpp`

```cpp
TfLiteBridgeBuiltinParseFunction tflite::MicroMutableOpResolver< tOpCount >::GetOpDataParser(BuiltinOperator op) const
```

Returns the operator specific parsing function for the OpData for a `BuiltinOperator` (if registered), else nullptr.

**Parameters**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| op | BuiltinOperator | Required |  |

Source: `tensorflow/lite/micro/micro_mutable_op_resolver.h:80`

### tflite::MicroMutableOpResolver::AddCustom

`method` · `cpp`

```cpp
TfLiteStatus tflite::MicroMutableOpResolver< tOpCount >::AddCustom(
    const char *name,
    const TFLMRegistration *registration
)
```

Registers a Custom `Operator` with the `MicroOpResolver`.

Only the first call for a given name will be successful. i.e. if this function is called again for a previously added Custom `Operator`, the `MicroOpResolver` will be unchanged and this function will return kTfLiteError.

**Parameters**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| name | const char * | Required |  |
| registration | const TFLMRegistration * | Required |  |

Source: `tensorflow/lite/micro/micro_mutable_op_resolver.h:95`

### tflite::MicroMutableOpResolver::GetRegistrationLength

`method` · `cpp`

```cpp
unsigned int tflite::MicroMutableOpResolver< tOpCount >::GetRegistrationLength()
```

Source: `tensorflow/lite/micro/micro_mutable_op_resolver.h:736`
