BlackCat_Tensors
A GPU-supported autograd and linear algebra library, designed for neural network construction
Public Member Functions | Public Attributes | List of all members
bc::tensors::io::features Struct Reference

#include <print.h>

Public Member Functions

 features (std::size_t precision_, bool pretty_=true, bool sparse_=true)
 
features inc_indent () const
 
std::string indent () const
 
std::string bracket_wrap (const std::string &str) const
 

Public Attributes

std::size_t precision = 5
 
bool pretty = false
 
bool sparse = false
 
int indent_lvl = 1
 
const char indent_delim = ' '
 

Constructor & Destructor Documentation

◆ features()

bc::tensors::io::features::features ( std::size_t  precision_,
bool  pretty_ = true,
bool  sparse_ = true 
)
inline

Member Function Documentation

◆ bracket_wrap()

std::string bc::tensors::io::features::bracket_wrap ( const std::string &  str) const
inline

◆ inc_indent()

features bc::tensors::io::features::inc_indent ( ) const
inline

◆ indent()

std::string bc::tensors::io::features::indent ( ) const
inline

Member Data Documentation

◆ indent_delim

const char bc::tensors::io::features::indent_delim = ' '

◆ indent_lvl

int bc::tensors::io::features::indent_lvl = 1

◆ precision

std::size_t bc::tensors::io::features::precision = 5

◆ pretty

bool bc::tensors::io::features::pretty = false

◆ sparse

bool bc::tensors::io::features::sparse = false

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