mindspore.ops.AiCPURegOp

class mindspore.ops.AiCPURegOp(op_name)[source]

Class for AiCPU op info register

attr(name=None, value_type=None, value=None, **kwargs)[source]

Register AiCPU op attribute information.

Parameters
  • name (str) – Name of the attribute. Default: None.

  • value_type (str) – Value type of the attribute. Default: None.

  • value (str) – Value of the attribute. Default: None.

  • kwargs (dict) – Other information of the attribute.

input(index=None, name=None, param_type=None, **kwargs)[source]

Register AiCPU op input information.

Parameters
  • index (int) – Order of the input. Default: None.

  • name (str) – Name of the input. Default: None.

  • param_type (str) – Param type of the input. Default: None.

  • kwargs (dict) – Other information of the input.

output(index=None, name=None, param_type=None, **kwargs)[source]

Register AiCPU op output information.

Parameters
  • index (int) – Order of the output. Default: None.

  • name (str) – Name of the output. Default: None.

  • param_type (str) – Param type of the output. Default: None.

  • kwargs (dict) – Other information of the output.