pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::AttributionDocument Struct Reference

pulsatrix.attribution.v1: an Attribution's values, shape, method and metadata. More...

#include <document.hpp>

Public Attributes

std::string method
 
std::vector< int64_t > shape
 The values' tensor shape; values has the product of these many elements.
 
std::vector< float > values
 Row-major values.
 
std::map< std::string, std::string > metadata
 Written with keys sorted, so a document doesn't depend on hash-map order.
 

Detailed Description

pulsatrix.attribution.v1: an Attribution's values, shape, method and metadata.

Member Data Documentation

◆ metadata

std::map<std::string, std::string> pulsatrix::AttributionDocument::metadata

Written with keys sorted, so a document doesn't depend on hash-map order.

◆ method

std::string pulsatrix::AttributionDocument::method

◆ shape

std::vector<int64_t> pulsatrix::AttributionDocument::shape

The values' tensor shape; values has the product of these many elements.

◆ values

std::vector<float> pulsatrix::AttributionDocument::values

Row-major values.


The documentation for this struct was generated from the following file: