Skip to content
class

NotImplementedError

extendsLucidError
NotImplementedError

Thrown when an op recognises its inputs but has no implementation for the requested dtype, device, or configuration.

Distinct from a user-error such as ShapeMismatch — the caller did nothing wrong, the engine simply has no kernel for this combination (e.g. conv3d on integer dtypes, or an autograd op that has not yet shipped a backward formula). Mapped to lucid._C.engine.NotImplementedError on the Python side.

Parameters

msgstd::string
Fully formatted message; passed through unchanged to the LucidError base.

Examples

```
ErrorBuilder("conv3d").not_implemented("int8 not supported on GPU");
```

Constructors

1
ctor

NotImplementedError

void NotImplementedError(int msg)

Construct a NotImplementedError from the pre-formatted message the call site built describing the unsupported dtype / device / config combination. Passed through unchanged to the LucidError base.