You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[tmva][sofie] Add in RModel managing of Shape tensors types
Include in RMOdel a new type of tensor, shape tensors , where their values (a shape) is stored in RModel as vector of Dims (so shape can be parametrised) and a shape of rank 1 or 0 ( in case of scalars). Shapes which are fully known can instead be stored as constant tensors
This allows to treat and manage the chain of operator treting shapes when the shapes are express as parameters (are dynamic).
We then include then these functions in RModel:
- AddShapeTensor given name and shape values (vector of Dim) and also a boolean flag specifying if tensor is a scalar. In this case the shape of teh shape tensor is a scalar (tensor with rank 0).
- GetShapeTensorValues given name and retuirning vector of Dims
- IsShapeTensor gievn the name
We also include in RTensor a convenient template function GetTensorData, working for both constant tensors and ShapeTensors.
In this commit we apply the needed fixes to use Shape Tensor in order to parge the ATLAS gnn model
0 commit comments