- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for consume_front (0.39 sec)
-
tensorflow/compiler/mlir/lite/quantization/tools/op_quant_spec_getters_gen.cc
for (const auto t : op.getTraits()) { if (auto opTrait = llvm::dyn_cast<mlir::tblgen::NativeTrait>(&t)) { auto trait_str = opTrait->getFullyQualifiedTraitName(); if (!llvm::StringRef{trait_str}.consume_front( "::mlir::OpTrait::quant::")) continue; OUT(2) << "if (auto tfl = llvm::dyn_cast<" << op.getQualCppClassName() << ">(op)) {\n";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 11:18:44 UTC 2024 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc
// suffix are skipped by the caller and will not be added to the graph. auto prefixes = GlobalOpPrefixes(); if (std::none_of(prefixes->begin(), prefixes->end(), [&](std::string prefix) { return op_name.consume_front(prefix); })) { return errors::FailedPrecondition("op node '", op_name.str(), "' was not a TF op!"); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 19.7K bytes - Viewed (0)