#include <Codec.h>
|
| FixedWidthReal (const bool is_double) |
|
llvm::Instruction * | codegenDecode (llvm::Value *byte_stream, llvm::Value *pos, llvm::Module *llvm_module) const override |
|
virtual | ~Decoder () |
|
Definition at line 68 of file Codec.h.
FixedWidthReal::FixedWidthReal |
( |
const bool |
is_double | ) |
|
llvm::Instruction * FixedWidthReal::codegenDecode |
( |
llvm::Value * |
byte_stream, |
|
|
llvm::Value * |
pos, |
|
|
llvm::Module * |
llvm_module |
|
) |
| const |
|
overridevirtual |
Implements Decoder.
Definition at line 76 of file Codec.cpp.
References run_benchmark_import::args, CHECK, f(), and is_double_.
79 auto f = llvm_module->getFunction(
is_double_ ?
"fixed_width_double_decode"
80 :
"fixed_width_float_decode");
82 llvm::Value*
args[] = {byte_stream, pos};
83 return llvm::CallInst::Create(
f, args);
torch::Tensor f(torch::Tensor x, torch::Tensor W_target, torch::Tensor b_target)
const bool FixedWidthReal::is_double_ |
|
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