Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for allow_mutable_tensors (0.27 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/freeze_global_tensors.cc

    struct FreezeGlobalTensorsPass
        : public impl::FreezeGlobalTensorsPassBase<FreezeGlobalTensorsPass> {
      explicit FreezeGlobalTensorsPass(bool allow_mutable_tensors) {
        this->allow_mutable_tensors = allow_mutable_tensors;
      }
      void runOnOperation() override;
    };
    
    void FreezeGlobalTensorsPass::runOnOperation() {
      auto module = getOperation();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.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());
    
      // Legalizes TF UniformQuantized types into MHLO.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 04:34:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top