- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for TensorFlowLiteDialect (0.31 sec)
-
tensorflow/compiler/mlir/lite/transforms/passes.td
let constructor = "CreateAnalyzeVariablesPass()"; let dependentDialects = ["TFL::TensorFlowLiteDialect"]; } def DefaultQuantParamsPass : Pass<"tfl-default-quant", "mlir::func::FuncOp"> { let summary = "Apply quantization with default quantization parameter"; let constructor = "CreateDefaultQuantParamsPass()"; let dependentDialects = ["TFL::TensorFlowLiteDialect"]; let options = [ Option<"default_min_", "default-min", "double", "-1.0",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 22.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc
target.addIllegalDialect<stablehlo::StablehloDialect>(); target.addDynamicallyLegalDialect<func::FuncDialect>( [&](auto) { return is_func_legal; }); target.addLegalDialect<TFL::TensorFlowLiteDialect>(); target.addLegalDialect<arith::ArithDialect>(); target.addLegalDialect<vhlo::VhloDialect>(); StablehloToOdmlTypeConverter converter; RewritePatternSet patterns(context);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 19:48:51 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/lstm_utils_test.cc
context_->loadDialect<arith::ArithDialect, mlir::func::FuncDialect, tensor::TensorDialect, mlir::TF::TensorFlowDialect, TensorFlowLiteDialect>(); builder_ = std::make_unique<mlir::Builder>(context_.get()); fused_lstm_func_ = createLstmCompositeFunc(builder_.get(), false, false); fused_lstm_func_cifg_ =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/passes.h
} namespace quantfork { class QuantizationForkDialect; } namespace mhlo { class MhloDialect; } namespace TF { class TensorFlowDialect; } namespace TFL { class TFLDialect; typedef TFLDialect TensorFlowLiteDialect; } // namespace TFL namespace func { class FuncOp; } class ModuleOp; template <typename T> class OperationPass; class Type; namespace TFL {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 07 21:29:34 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc
public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ReduceWhileOperandsPass) void getDependentDialects(DialectRegistry ®istry) const override { registry.insert<TFL::TensorFlowLiteDialect, TF::TensorFlowDialect>(); } void runOnOperation() override; }; LogicalResult FindImplicityProducers( const std::vector<uint64_t> &explicitly_consumed_ids, std::vector<bool> &is_consumed_id,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc
return "Fallback TF-Quantization-unsupported ops to TFLite Flex ops."; } void getDependentDialects(DialectRegistry ®istry) const override { registry.insert<TFL::TensorFlowLiteDialect>(); } private: // The mode of TF Quantization, might indicate different users/devices. Option<std::string> mode_{*this, "mode",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc
: public impl::PrepareCompositeFunctionsPassBase< PrepareCompositeFunctionsPass> { void getDependentDialects(DialectRegistry& registry) const override { registry.insert<TFL::TensorFlowLiteDialect>(); } public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PrepareCompositeFunctionsPass) explicit PrepareCompositeFunctionsPass() {} private:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
target.addDynamicallyLegalDialect<TensorFlowLiteDialect>([](Operation* op) { auto tfl_op = dyn_cast_or_null<TflRuntimeVerifyOpInterface>(op); if (!tfl_op) return false; return succeeded(tfl_op.VerifyTflRuntimeConstraints( op, /*emit_error_on_verify_fail=*/false)); }); } else { target.addLegalDialect<TensorFlowLiteDialect>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0)