Public Member Functions | Static Public Attributes | Private Attributes | List of all members
UserReducer Struct Reference

Public Member Functions

float finalize (const float accum) const
 
float initialize () const
 
void reduce (const float val, float *accum)
 
 UserReducer (float offset)
 

Static Public Attributes

static const bool PacketAccess = false
 

Private Attributes

const float offset_
 

Detailed Description

Definition at line 302 of file cxx11_tensor_reduction.cpp.

Constructor & Destructor Documentation

◆ UserReducer()

UserReducer::UserReducer ( float  offset)
inline

Definition at line 304 of file cxx11_tensor_reduction.cpp.

Member Function Documentation

◆ finalize()

float UserReducer::finalize ( const float  accum) const
inline

Definition at line 307 of file cxx11_tensor_reduction.cpp.

◆ initialize()

float UserReducer::initialize ( ) const
inline

Definition at line 306 of file cxx11_tensor_reduction.cpp.

◆ reduce()

void UserReducer::reduce ( const float  val,
float *  accum 
)
inline

Definition at line 305 of file cxx11_tensor_reduction.cpp.

Member Data Documentation

◆ offset_

const float UserReducer::offset_
private

Definition at line 310 of file cxx11_tensor_reduction.cpp.

◆ PacketAccess

const bool UserReducer::PacketAccess = false
static

Definition at line 303 of file cxx11_tensor_reduction.cpp.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:10:14