- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for addDynamicallyLegalDialect (0.25 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc
bool is_func_legal) { MLIRContext *context = module.getContext(); ConversionTarget target(*context); 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>();
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/transforms/legalize_tf.cc
target.addLegalOp<TFL::NoValueOp>(); target.addLegalOp<ConstOp>(); target.addLegalOp<DequantizeOp>(); target.addLegalOp<QConstOp>(); if (run_tfl_runtime_verification_) { target.addDynamicallyLegalDialect<TensorFlowLiteDialect>([](Operation* op) { auto tfl_op = dyn_cast_or_null<TflRuntimeVerifyOpInterface>(op); if (!tfl_op) return false; return succeeded(tfl_op.VerifyTflRuntimeConstraints(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
op->getAttr("resize_if_index_out_of_bounds") .cast<mlir::BoolAttr>() .getValue(); }; ConversionTarget target(*context); target.addDynamicallyLegalDialect<TF::TensorFlowDialect>(is_legal); target.addIllegalOp<TF::EmptyTensorListOp, TF::TensorListFromTensorOp, TF::TensorListGetItemOp, TF::TensorListLengthOp,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0)