Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Timsty
/
groot_deployment
like
0
ONNX
Model card
Files
Files and versions
xet
Community
Copy to bucket
new
main
groot_deployment
/
GR00T-WholeBodyControl
/
gear_sonic_deploy
/
src
/
TRTInference
/
Log.h
Timsty
Add files using upload-large-folder tool
f53e03f
verified
17 days ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
Safe
526 Bytes
#
pragma
once
#
include
<string.h>
#
include
<iostream>
#
define
__FILENAME__ (strrchr(__FILE__,
'\\'
) ? strrchr(__FILE__,
'\\'
) + 1 : __FILE__)
#
define
LOG_MSG(stream, category, msg) (stream << category <<
" ["
<< __FILENAME__ <<
"("
<< __LINE__ <<
")]: "
<< msg << std::endl)
#
define
LOG_ERROR(msg) LOG_MSG(std::cerr,
"ERROR"
, msg)
#
define
LOG_WARNING(msg) LOG_MSG(std::cout,
"WARNING"
, msg)
#
define
LOG_DEBUG(msg) LOG_MSG(std::cout,
"DEBUG"
, msg)
#
define
LOG_INFO(msg) LOG_MSG(std::cout,
"INFO"
, msg)