.. role:: hidden :class: hidden-section .. currentmodule:: mindspore.ops mindspore.ops.matrix\_set\_diag =============================== .. autofunction:: mindspore.ops.matrix_set_diag .. autogenerated from _templates/classtemplate.rst note it does not have :inherited-members: