DeepLearnPhysics / larcv3

Third version of larcv. This is a complete replacement for larcv2.
MIT License
11 stars 6 forks source link

Dense and Sparse Batch Fillers #43

Closed marcodeltutto closed 4 years ago

marcodeltutto commented 4 years ago

Both the BatchFillerSparseTensor2(3)D and the BatchFillerTensor2(3)D have been templated.

BatchFillerTensor now takes as input both dense or sparse tensors. This can be specified by the config parameter TensorType. Parameter from_dense has been added to the test for Tensor2D and Tensor3D to test the filler in dense->dense configuration.

Note that the following config parameter for both fillers has changed: Tensor2DProducer -> TensorProducer Tensor3DProducer -> TensorProducer