- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for allow_mutable_tensors (0.28 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.cc
// freezing of TF v2 GlobalTensor ops. (Ref: b/206855389) pm.addPass(mlir::tf_saved_model::CreateOptimizeGlobalTensorsPass()); pm.addPass(mlir::tf_saved_model::CreateFreezeGlobalTensorsPass( /*allow_mutable_tensors=*/true)); // Generic MLIR optimization passes. pm.addPass(mlir::createCanonicalizerPass()); pm.addPass(mlir::TF::CreateTFShapeInferencePass(input_arg_shapes));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_tfl_passes.cc
// This pass 'freezes' immutable global tensors and inlines them as tf // constant ops. pass_manager->addPass(mlir::tf_saved_model::CreateFreezeGlobalTensorsPass( /*allow_mutable_tensors=*/pass_config.enable_tflite_variables)); } if (!saved_model_dir.empty()) { // This pass 'freezes' tf saved model asset ops and inlines as string values // in a format of the tf constant op.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 18:45:51 UTC 2024 - 25.5K bytes - Viewed (0)