PyTorch
Loading...
Searching...
No Matches
Functions
c10::detail Namespace Reference

Functions

float fp32_from_bits (uint32_t w)
 
uint32_t fp32_to_bits (float f)
 
uint32_t fp16_ieee_to_fp32_bits (uint16_t h)
 
float fp16_ieee_to_fp32_value (uint16_t h)
 
uint16_t fp16_ieee_from_fp32_value (float f)
 
template<typename... Args>
decltype(auto) torchCheckMsgImpl (const char *, const Args &... args)
 
const char * torchCheckMsgImpl (const char *msg)
 
const char * torchCheckMsgImpl (const char *, const char *args)
 
void torchCheckFail (const char *func, const char *file, uint32_t line, const std::string &msg)
 
void torchCheckFail (const char *func, const char *file, uint32_t line, const char *msg)
 
void torchInternalAssertFail (const char *func, const char *file, uint32_t line, const char *condMsg, const char *userMsg)
 
void torchInternalAssertFail (const char *func, const char *file, uint32_t line, const char *condMsg, ::c10::detail::CompileTimeEmptyString)
 
void torchInternalAssertFail (const char *func, const char *file, uint32_t line, const char *condMsg, const std::string &userMsg)
 
void deprecated_AT_ERROR ()
 
void deprecated_AT_ASSERT ()
 
void deprecated_AT_ASSERTM ()
 

Function Documentation

◆ deprecated_AT_ASSERT()

void c10::detail::deprecated_AT_ASSERT ( )
inline

◆ deprecated_AT_ASSERTM()

void c10::detail::deprecated_AT_ASSERTM ( )
inline

◆ deprecated_AT_ERROR()

void c10::detail::deprecated_AT_ERROR ( )
inline

◆ fp16_ieee_from_fp32_value()

uint16_t c10::detail::fp16_ieee_from_fp32_value ( float  f)
inline

◆ fp16_ieee_to_fp32_bits()

uint32_t c10::detail::fp16_ieee_to_fp32_bits ( uint16_t  h)
inline

◆ fp16_ieee_to_fp32_value()

float c10::detail::fp16_ieee_to_fp32_value ( uint16_t  h)
inline

◆ fp32_from_bits()

float c10::detail::fp32_from_bits ( uint32_t  w)
inline

◆ fp32_to_bits()

uint32_t c10::detail::fp32_to_bits ( float  f)
inline

◆ torchCheckFail() [1/2]

void c10::detail::torchCheckFail ( const char *  func,
const char *  file,
uint32_t  line,
const char *  msg 
)

◆ torchCheckFail() [2/2]

void c10::detail::torchCheckFail ( const char *  func,
const char *  file,
uint32_t  line,
const std::string &  msg 
)

◆ torchCheckMsgImpl() [1/3]

template<typename... Args>
decltype(auto) c10::detail::torchCheckMsgImpl ( const char *  ,
const Args &...  args 
)

◆ torchCheckMsgImpl() [2/3]

const char * c10::detail::torchCheckMsgImpl ( const char *  ,
const char *  args 
)
inline

◆ torchCheckMsgImpl() [3/3]

const char * c10::detail::torchCheckMsgImpl ( const char *  msg)
inline

◆ torchInternalAssertFail() [1/3]

void c10::detail::torchInternalAssertFail ( const char *  func,
const char *  file,
uint32_t  line,
const char *  condMsg,
::c10::detail::CompileTimeEmptyString   
)
inline

◆ torchInternalAssertFail() [2/3]

void c10::detail::torchInternalAssertFail ( const char *  func,
const char *  file,
uint32_t  line,
const char *  condMsg,
const char *  userMsg 
)

◆ torchInternalAssertFail() [3/3]

void c10::detail::torchInternalAssertFail ( const char *  func,
const char *  file,
uint32_t  line,
const char *  condMsg,
const std::string &  userMsg 
)