How can I make this function in LaTeX:

[![enter image description here](https://i.stack.imgur.com/dcyC2.png)](https://i.stack.imgur.com/dcyC2.png)

I tried with `\Vmatrix` as:

```
$\begin{Vmatrix} \bullet \end{Vmatrix}^{\mathscr{M}_i,g}$

```

but its not the same. If you can help me, I'd appreciate it.