aeppl.cumsum.MeasurableCumsum.c_init_code_apply#

MeasurableCumsum.c_init_code_apply(node, name)#

Return a code string specific to the Apply to be inserted in the module initialization code.

Parameters
  • node (Apply) – An Apply instance 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 CLinkerOp.c_code, and so that they do not cause name collisions.

Notes

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

Return type

str