|
ACTS
Experiment-independent tracking
|
Functions | |
| std::pair< Tensor< std::int64_t >, std::optional< Tensor< float > > > | ActsPlugins::applyEdgeLimit (const Tensor< std::int64_t > &edgeIndex, const std::optional< Tensor< float > > &edgeFeatures, std::size_t maxEdges, std::optional< cudaStream_t > stream) |
| Apply a limit on the number of edges consistently on edgeIndex and edgeFeatures. | |
| std::pair< Tensor< float >, Tensor< std::int64_t > > | ActsPlugins::applyScoreCut (const Tensor< float > &scores, const Tensor< std::int64_t > &edgeIndex, float cut, std::optional< cudaStream_t > stream={}) |
| Apply a score cut to the tensor and return a new tensor with the values that satisfy the cut. | |
| std::ostream & | ActsPlugins::operator<< (std::ostream &os, Device device) |
| Stream operator for Device. | |
| void | ActsPlugins::sigmoid (Tensor< float > &tensor, std::optional< cudaStream_t > stream={}) |
| Element-wise sigmoid function for float cpu tensors. | |
| std::pair< Tensor< std::int64_t >, std::optional< Tensor< float > > > ActsPlugins::applyEdgeLimit | ( | const Tensor< std::int64_t > & | edgeIndex, |
| const std::optional< Tensor< float > > & | edgeFeatures, | ||
| std::size_t | maxEdges, | ||
| std::optional< cudaStream_t > | stream ) |
Apply a limit on the number of edges consistently on edgeIndex and edgeFeatures.
| edgeIndex | The edge index tensor |
| edgeFeatures | The edge feature tensor |
| maxEdges | The edge limit to apply |
| stream | The stream to use for operation in case of CUDA |
| std::pair< Tensor< float >, Tensor< std::int64_t > > ActsPlugins::applyScoreCut | ( | const Tensor< float > & | scores, |
| const Tensor< std::int64_t > & | edgeIndex, | ||
| float | cut, | ||
| std::optional< cudaStream_t > | stream = {} ) |
Apply a score cut to the tensor and return a new tensor with the values that satisfy the cut.
| scores | The edge score tensor |
| edgeIndex | The edge index tensor |
| cut | The score cut value which edges to accept |
| stream | The stream to use for the operation in case of CUDA |
| std::ostream & ActsPlugins::operator<< | ( | std::ostream & | os, |
| Device | device ) |
Stream operator for Device.
| os | Output stream |
| device | Device to output |
| void ActsPlugins::sigmoid | ( | Tensor< float > & | tensor, |
| std::optional< cudaStream_t > | stream = {} ) |
Element-wise sigmoid function for float cpu tensors.
| tensor | The tensor to apply the sigmoid function to |
| stream | The stream to use for the operation in case of CUDA |