- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for entry_func_1 (0.14 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec.cc
const auto module_op = call_op->getParentOfType<ModuleOp>(); const SymbolTable symbol_table(module_op); auto entry_func_op = dyn_cast_or_null<func::FuncOp>(symbol_table.lookup(function_name)); auto dot_general_op = *entry_func_op.getOps<DotGeneralOp>().begin(); if (auto optional_dim = GetDotGeneralQuantizationDim(dot_general_op); optional_dim) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc
func::FuncOp entry_func, std::string* serialized_func_module) { ModuleOp module = entry_func->getParentOfType<ModuleOp>(); SymbolTable entry_module_table(module); llvm::SmallVector<func::FuncOp, 4> referenced({entry_func}); // Create a new module to hold func and all referenced functions.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 29.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/lift_as_function_call_test.cc
lifted_op->getAttrOfType<FlatSymbolRefAttr>("_entry_function"); SymbolTable symbol_table(*module_op); auto entry_func = dyn_cast_or_null<func::FuncOp>( symbol_table.lookup(entry_function_symbol_ref.getValue())); auto lifted_dot_general_op = FindOperationOfType<mlir::stablehlo::DotGeneralOp>(entry_func); EXPECT_TRUE(isa<TF::XlaCallModuleOp>(lifted_op)); EXPECT_EQ(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 26.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
return true; } int entry_func_count = 0; FuncOp entry_func = nullptr; for (auto fn : module.getOps<FuncOp>()) { auto attrs = fn->getAttrOfType<mlir::DictionaryAttr>("tf.entry_function"); if (!attrs || attrs.empty()) continue; ++entry_func_count; entry_func = fn; } // We should have at least one entry function.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0)