MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ReduceProd

Class ReduceProd

tensorflow/lite/toco/tflite/operator.cc:1333–1352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1331};
1332
1333class ReduceProd
1334 : public BuiltinOperator<TensorFlowProdOperator, ::tflite::ReducerOptions,
1335 ::tflite::BuiltinOptions_ReducerOptions> {
1336 public:
1337 using BuiltinOperator::BuiltinOperator;
1338 flatbuffers::Offset<TfLiteOptions> WriteOptions(
1339 const TocoOperator& op,
1340 flatbuffers::FlatBufferBuilder* builder) const override {
1341 return ::tflite::CreateReducerOptions(*builder, op.keep_dims);
1342 }
1343
1344 void ReadOptions(const TfLiteOptions& options,
1345 TocoOperator* op) const override {
1346 op->keep_dims = options.keep_dims();
1347 }
1348
1349 int GetVersion(const OperatorSignature& op_signature) const override {
1350 return 1;
1351 }
1352};
1353
1354class ReduceAny
1355 : public BuiltinOperator<TensorFlowAnyOperator, ::tflite::ReducerOptions,

Callers 2

TEST_FFunction · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.68
TEST_FFunction · 0.68