Tenncor
Public Member Functions | Public Attributes | List of all members
eteq::Session Struct Referencefinal

#include <session.hpp>

Inheritance diagram for eteq::Session:
Inheritance graph
[legend]
Collaboration diagram for eteq::Session:
Collaboration graph
[legend]

Public Member Functions

void track (teq::TensptrsT roots) override
 Implementation of iSession. More...
 
void update (teq::TensSetT ignored={}) override
 Implementation of iSession. More...
 
void update_target (teq::TensSetT target, teq::TensSetT ignored={}) override
 Implementation of iSession. More...
 
void optimize (const opt::OptCtx &rules)
 Apply input optimization rules using opt module, then re-track. More...
 
- Public Member Functions inherited from eteq::iSession
virtual ~iSession (void)=default
 

Public Attributes

teq::TensptrSetT tracked_
 
std::vector< teq::iOperableFunc * > ops_
 Operable functors ordered by height in the tracked graph. More...
 

Detailed Description

iSession implementation that tracks subgraphs by ordering operable functors in a vector such that parents are visited after children

Member Function Documentation

◆ optimize()

void eteq::Session::optimize ( const opt::OptCtx rules)
inline

Apply input optimization rules using opt module, then re-track.

◆ track()

void eteq::Session::track ( teq::TensptrsT  roots)
inlineoverridevirtual

Implementation of iSession.

Implements eteq::iSession.

◆ update()

void eteq::Session::update ( teq::TensSetT  ignored = {})
inlineoverridevirtual

Implementation of iSession.

Implements eteq::iSession.

◆ update_target()

void eteq::Session::update_target ( teq::TensSetT  target,
teq::TensSetT  ignored = {} 
)
inlineoverridevirtual

Implementation of iSession.

Implements eteq::iSession.

Member Data Documentation

◆ ops_

std::vector<teq::iOperableFunc*> eteq::Session::ops_

Operable functors ordered by height in the tracked graph.

◆ tracked_

teq::TensptrSetT eteq::Session::tracked_

Set of all tensors input through tracked function The set of roots of all session graphs is a possible subset


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