PointSetOperatorBC#
- class pinnx.icbc.PointSetOperatorBC(points, values, func)[source]#
General operator boundary conditions for a set of points.
- Compare the function output, func, (that associates with points)
with values (target data).
- Parameters:
points (
Dict[str,Union[Array,ndarray,bool,number,bool,int,float,complex,Quantity]]) – An array of points where the corresponding target values are known and used for training.values (
Dict[str,Union[Array,ndarray,bool,number,bool,int,float,complex,Quantity]]) – An array of values which output of function should fulfill.func (
Callable[[Dict[str,Union[Array,ndarray,bool,number,bool,int,float,complex,Quantity]],Dict[str,Union[Array,ndarray,bool,number,bool,int,float,complex,Quantity]]],Dict[str,Union[Array,ndarray,bool,number,bool,int,float,complex,Quantity]]]) – A function takes arguments (inputs, outputs,) and outputs a tensor of size N x 1, where N is the length of inputs. inputs and outputs are the network input and output tensors, respectively; X are the NumPy array of the inputs.