- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for TensorFlowDialect (0.23 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/odml_converter_main.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 19:05:30 UTC 2024 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/register_common_dialects.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 22:45:35 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc
TEST_F(LegalizationOpConfigTest, CountLoweringsSet) { int mlir_lowering_count = 0; int tf2xla_fallback_count = 0; int non_categorized_count = 0; DialectRegistry dialect_registry; dialect_registry.insert<mlir::TF::TensorFlowDialect>(); MLIRContext context(dialect_registry); context.loadAllAvailableDialects(); for (auto operation : context.getRegisteredOperations()) { if (IsTypeLegalizedWithMlir(operation.getTypeID())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 30 03:31:01 UTC 2024 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils_test.cc
MLIRContext context; OwningOpRef<ModuleOp> module(ModuleOp::create(UnknownLoc::get(&context))); OpBuilder builder(&module->getBodyRegion()); context.loadDialect<TF::TensorFlowDialect>(); Value value = CreateConstValue<int8_t>(builder, module->getLoc(), unpacked_shape, unpacked_values);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tools/stablehlo_quant_opt.cc
// Register StableHLO Quantizer pass pipelines. mlir::quant::stablehlo::RegisterPassPipelines(); mlir::DialectRegistry registry; registry.insert<mlir::scf::SCFDialect, mlir::TF::TensorFlowDialect, mlir::tf_saved_model::TensorFlowSavedModelDialect, mlir::func::FuncDialect, mlir::shape::ShapeDialect, mlir::arith::ArithDialect, mlir::tf_type::TFTypeDialect,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 07:37:34 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_custom_aggregation_op_to_quant_stats.cc
// This is a brief description of the pass. return "Convert tf.CustomAggregator op to quant.Stats"; } void getDependentDialects(DialectRegistry ®istry) const override { registry.insert<TF::TensorFlowDialect>(); registry.insert<quant::QuantizationDialect>(); registry.insert<quantfork::QuantizationForkDialect>(); } void runOnOperation() override; }; class ConvertCustomAggregationOpToQuantStats
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/constant_fold.cc
LogicalResult status = EvaluateOperation(inst, inputs, constants); results.assign(constants.begin(), constants.end()); return status; } static bool init_hooks = ([] () { TensorFlowDialect::RegisterConstantFoldHook(ConstantFoldFallbackHook); }(), true); } // namespace TF
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args_test.cc
using ::testing::IsNull; using ::testing::NotNull; using ::testing::SizeIs; class ConvertAssetArgsTest : public ::testing::Test { protected: ConvertAssetArgsTest() { ctx_.loadDialect<func::FuncDialect, TF::TensorFlowDialect, tf_saved_model::TensorFlowSavedModelDialect>(); } // Parses `module_op_str` to create a `ModuleOp`. Checks whether the created // module op is valid.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.td
"mlir::TFL::TFLDialect", ]; } def LegalizeHloToTfPass : Pass<"tf-legalize-hlo", "ModuleOp"> { let summary = "Legalize from MHLO to the TF dialect"; let dependentDialects = ["TF::TensorFlowDialect"]; let constructor = "mlir::odml::CreateLegalizeHloToTfPass()"; } def LegalizeHloToTfLitePass : Pass<"tfl-legalize-hlo", "mlir::ModuleOp"> { let summary = "Legalize from MHLO to the TFLite dialect";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 21:59:06 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.cc
if (auto cost_function = mlir::dyn_cast<tfrt::compiler::CostFunctionInterface>(op)) { cost_map_[op] = cost_function.cost(); return; } if (!llvm::isa<mlir::TF::TensorFlowDialect>(op->getDialect())) { cost_map_[op] = max_arg_size_; return; } // Try to use its cost function if it is registered. const auto& registry = GetCostFunctionRegistry();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.6K bytes - Viewed (0)