aeppl.abstract.MeasurableElemwise.c_support_code_apply#

MeasurableElemwise.c_support_code_apply(node, nodename)#

Return Apply-specialized utility code for use by an Op that will be inserted at global scope.

Parameters
  • node (Apply) – The node in the graph being compiled.

  • name (str) – A string or number that serves to uniquely identify this node. Symbol names defined by this support code should include the name, so that they can be called from the CLinkerOp.c_code, and so that they do not cause name collisions.

Notes

This function is called in addition to CLinkerObject.c_support_code and will supplement whatever is returned from there.