SymbolicOperator should support to receive def functions.
Closed this issue · 1 comments
Joao-L-S-Almeida commented
For example, the expression
f"D(u, t) - alpha*func(t)"
can replace the string 'func' by the def function:
def func(t:torch.Tensor) -> torch.Tensor:
""" many processes
return output
Joao-L-S-Almeida commented
It works for functions constructed using PyTorch (see commit bb20629)