Node.convert_value()#
- static Node.convert_value(x)[source]#
The function used to process the value of this node, if
convert="default"is supplied during init.Can be overwritten on subclasses to create node classes with different default conversion behavior. Make sure to overwrite it with a static method, for example (re-implementing the default behavior):
class MyNode(lsl.Node): @staticmethod def convert_value(x): return jnp.asarray(x)
- Return type: