#include <BatchMatMul.h>
Definition at line 22 of file BatchMatMul.h.
◆ BatchMatMulChef() [1/2]
BatchMatMulChef::BatchMatMulChef |
( |
const circlechef::Operation * |
operation | ) |
|
|
inlineexplicit |
Definition at line 25 of file BatchMatMul.h.
25 : _operation{operation}
26 {
27
28 }
◆ BatchMatMulChef() [2/2]
BatchMatMulChef::BatchMatMulChef |
( |
const tflchef::Operation * |
operation | ) |
|
|
inlineexplicit |
Definition at line 25 of file BatchMatMul.h.
25 : _operation{operation}
26 {
27
28 }
◆ code() [1/2]
circle::BuiltinOperator BatchMatMulChef::code |
( |
void |
| ) |
const |
|
inlineoverridevirtual |
Implements OpChef.
Definition at line 31 of file BatchMatMul.h.
31{ return circle::BuiltinOperator_BATCH_MATMUL; }
◆ code() [2/2]
tflite::BuiltinOperator BatchMatMulChef::code |
( |
void |
| ) |
const |
|
inlineoverridevirtual |
Implements OpChef.
Definition at line 31 of file BatchMatMul.h.
31{ return tflite::BuiltinOperator_BATCH_MATMUL; }
◆ type() [1/2]
circle::BuiltinOptions BatchMatMulChef::type |
( |
void |
| ) |
const |
|
inlineoverridevirtual |
Implements OpChef.
Definition at line 33 of file BatchMatMul.h.
34 {
35 return circle::BuiltinOptions_BatchMatMulOptions;
36 }
◆ type() [2/2]
tflite::BuiltinOptions BatchMatMulChef::type |
( |
void |
| ) |
const |
|
inlineoverridevirtual |
Implements OpChef.
Definition at line 33 of file BatchMatMul.h.
34 {
35 return tflite::BuiltinOptions_BatchMatMulOptions;
36 }
◆ value() [1/2]
Implements OpChef.
Definition at line 19 of file BatchMatMul.cpp.
20{
21 auto &operation = (*_operation);
22
23 assert(operation.has_batch_matmul_options());
24
25 circle::BatchMatMulOptionsBuilder batch_matmul_options_options_builder{fbb};
26 batch_matmul_options_options_builder.add_adjoint_lhs(
27 operation.batch_matmul_options().adjoint_lhs());
28 batch_matmul_options_options_builder.add_adjoint_rhs(
29 operation.batch_matmul_options().adjoint_rhs());
30
31 return batch_matmul_options_options_builder.
Finish().Union();
32}
void Finish(Offset< T > root, const char *file_identifier=nullptr)
Finish serializing a buffer by writing the root offset.
References flatbuffers::FlatBufferBuilder::Finish().
◆ value() [2/2]
The documentation for this class was generated from the following files: