#include <Codec.h>
|
| FixedWidthInt (const size_t byte_width) |
|
llvm::Instruction * | codegenDecode (llvm::Value *byte_stream, llvm::Value *pos, llvm::Module *llvm_module) const override |
|
virtual | ~Decoder () |
|
Definition at line 34 of file Codec.h.
FixedWidthInt::FixedWidthInt |
( |
const size_t |
byte_width | ) |
|
llvm::Instruction * FixedWidthInt::codegenDecode |
( |
llvm::Value * |
byte_stream, |
|
|
llvm::Value * |
pos, |
|
|
llvm::Module * |
llvm_module |
|
) |
| const |
|
overridevirtual |
Implements Decoder.
Definition at line 28 of file Codec.cpp.
References run_benchmark_import::args, byte_width_, CHECK, and f().
31 auto& context = llvm_module->getContext();
32 auto f = llvm_module->getFunction(
"fixed_width_int_decode");
34 llvm::Value*
args[] = {
36 llvm::ConstantInt::get(llvm::Type::getInt32Ty(context),
byte_width_),
38 return llvm::CallInst::Create(
f, args);
torch::Tensor f(torch::Tensor x, torch::Tensor W_target, torch::Tensor b_target)
const size_t FixedWidthInt::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