* [tf] Add operator dump in toco
This will dump operators in toco tool
* simplify for
LOG(INFO) << "Estimated count of arithmetic ops: " << 1e-9 * ops_count
<< " billion (note that a multiply-add is counted as 2 ops).";
}
+
+ std::cout << "=== Begin Operators in the model ===" << std::endl;
+ for (auto& op : model->operators) {
+ std::string name(OperatorTypeName(op->type));
+ std::cout << name << std::endl;
+ }
+ std::cout << "=== End Operators in the model ===" << std::endl;
}
void Export(const TocoFlags& toco_flags, const Model& model,