sisi4s
Loading...
Searching...
No Matches
sisi4s::CtfMachineTensorFactory< F > Class Template Reference

#include <CtfMachineTensor.hpp>

Inheritance diagram for sisi4s::CtfMachineTensorFactory< F >:
Collaboration diagram for sisi4s::CtfMachineTensorFactory< F >:

Classes

class  ProtectedToken
 

Public Member Functions

 CtfMachineTensorFactory (CTF::World *world_, const ProtectedToken &)
 
virtual ~CtfMachineTensorFactory ()
 
virtual std::shared_ptr< tcc::MachineTensor< F > > createTensor (const std::vector< int > &lens, const std::string &name)
 

Static Public Member Functions

static std::shared_ptr< CtfMachineTensorFactory< F > > create (CTF::World *world=Sisi4s::world)
 

Protected Attributes

CTF::World * world
 

Constructor & Destructor Documentation

◆ CtfMachineTensorFactory()

template<typename F >
sisi4s::CtfMachineTensorFactory< F >::CtfMachineTensorFactory ( CTF::World *  world_,
const ProtectedToken  
)
inline

◆ ~CtfMachineTensorFactory()

template<typename F >
virtual sisi4s::CtfMachineTensorFactory< F >::~CtfMachineTensorFactory ( )
inlinevirtual

Member Function Documentation

◆ create()

template<typename F >
static std::shared_ptr< CtfMachineTensorFactory< F > > sisi4s::CtfMachineTensorFactory< F >::create ( CTF::World *  world = Sisi4s::world)
inlinestatic

◆ createTensor()

template<typename F >
virtual std::shared_ptr< tcc::MachineTensor< F > > sisi4s::CtfMachineTensorFactory< F >::createTensor ( const std::vector< int > &  lens,
const std::string &  name 
)
inlinevirtual

Member Data Documentation

◆ world

template<typename F >
CTF::World* sisi4s::CtfMachineTensorFactory< F >::world
protected

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