#include <Codec.h>
Definition at line 45 of file Codec.h.
FixedWidthUnsigned::FixedWidthUnsigned |
( |
const size_t |
byte_width | ) |
|
llvm::Instruction * FixedWidthUnsigned::codegenDecode |
( |
llvm::Value * |
byte_stream, |
|
|
llvm::Value * |
pos, |
|
|
llvm::Module * |
llvm_module |
|
) |
| const |
|
overridevirtual |
Implements Decoder.
Definition at line 44 of file Codec.cpp.
References run_benchmark_import::args, byte_width_, CHECK, and f().
47 auto& context = llvm_module->getContext();
48 auto f = llvm_module->getFunction(
"fixed_width_unsigned_decode");
50 llvm::Value*
args[] = {
52 llvm::ConstantInt::get(llvm::Type::getInt32Ty(context),
byte_width_),
54 return llvm::CallInst::Create(
f, args);
torch::Tensor f(torch::Tensor x, torch::Tensor W_target, torch::Tensor b_target)
const size_t FixedWidthUnsigned::byte_width_ |
|
private |
The documentation for this class was generated from the following files:
- /home/jenkins-slave/workspace/core-os-doxygen/QueryEngine/Codec.h
- /home/jenkins-slave/workspace/core-os-doxygen/QueryEngine/Codec.cpp