#include <Codec.h>
|
| DiffFixedWidthInt (const size_t byte_width, const int64_t baseline) |
|
llvm::Instruction * | codegenDecode (llvm::Value *byte_stream, llvm::Value *pos, llvm::Module *llvm_module) const override |
|
virtual | ~Decoder () |
|
Definition at line 56 of file Codec.h.
DiffFixedWidthInt::DiffFixedWidthInt |
( |
const size_t |
byte_width, |
|
|
const int64_t |
baseline |
|
) |
| |
llvm::Instruction * DiffFixedWidthInt::codegenDecode |
( |
llvm::Value * |
byte_stream, |
|
|
llvm::Value * |
pos, |
|
|
llvm::Module * |
llvm_module |
|
) |
| const |
|
overridevirtual |
Implements Decoder.
Definition at line 60 of file Codec.cpp.
References run_benchmark_import::args, baseline_, byte_width_, CHECK, and f().
63 auto& context = llvm_module->getContext();
64 auto f = llvm_module->getFunction(
"diff_fixed_width_int_decode");
66 llvm::Value*
args[] = {
68 llvm::ConstantInt::get(llvm::Type::getInt32Ty(context),
byte_width_),
69 llvm::ConstantInt::get(llvm::Type::getInt32Ty(context),
baseline_),
71 return llvm::CallInst::Create(
f, args);
torch::Tensor f(torch::Tensor x, torch::Tensor W_target, torch::Tensor b_target)
const int64_t DiffFixedWidthInt::baseline_ |
|
private |
const size_t DiffFixedWidthInt::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