Class Backend

Inheritance Relationships

Base Type

Class Documentation

class Backend : public marian::Backend

Public Functions

Backend(DeviceId deviceId, size_t seed)
void setDevice()
void synchronize()
void setOptimized(bool optimize)
bool isOptimized()
void setGemmType(std::string gemmType)
GemmType getGemmType()
void setQuantizeRange(float range)
float getQuantizeRange()

Protected Attributes

bool optimized_ = {false}
GemmType gemmType_ = {GemmType::Float32}
float quantizeRange_ = {0.f}