Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for freeRegs (0.11 sec)

  1. src/cmd/compile/internal/ssa/regalloc.go

    	s.values[v.ID].regs &^= regMask(1) << r
    	s.used &^= regMask(1) << r
    }
    
    // freeRegs frees up all registers listed in m.
    func (s *regAllocState) freeRegs(m regMask) {
    	for m&s.used != 0 {
    		s.freeReg(pickReg(m & s.used))
    	}
    }
    
    // clobberRegs inserts instructions that clobber registers listed in m.
    func (s *regAllocState) clobberRegs(m regMask) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/permissions/permissions.kt

    @RequiresOptIn("Analysis should not be allowed to be run from the EDT, as otherwise it may cause IDE freezes.")
    public annotation class KaAllowAnalysisOnEdt
    
    /**
     * Allows [analyze][org.jetbrains.kotlin.analysis.api.analyze] to be called on the EDT in the given [action], which is normally not allowed.
     *
     * Analysis is not supposed to be invoked from the EDT, as it may cause freezes. Use at your own risk!
     */
    @KaAllowAnalysisOnEdt
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:22:24 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_passes.h

    std::unique_ptr<OperationPass<ModuleOp>> CreateOptimizeGlobalTensorsPass();
    
    // Creates a pass that freezes tf_saved_model.global_tensor ops.
    std::unique_ptr<OperationPass<ModuleOp>> CreateFreezeGlobalTensorsPass(
        bool allow_mutable_tensors = false);
    
    // Creates a pass that freezes tf_saved_model.asset ops.
    std::unique_ptr<OperationPass<ModuleOp>> CreateFreezeAssetsPass(
        std::string saved_model_dir = "");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 09 19:11:34 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.h

    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "tensorflow/core/public/session.h"
    
    namespace mlir {
    namespace tf_saved_model {
    
    // Freezes readonly variables in the graph.
    LogicalResult FreezeVariables(ModuleOp module, tensorflow::Session* session);
    
    }  // namespace tf_saved_model
    
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 14:25:57 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tf_test_passes.td

    include "mlir/Pass/PassBase.td"
    
    // TF SavedModel dialect test passes.
    
    def FreezeVariablesTestPass : Pass<"tf-freeze-variables-test-pass",
      "ModuleOp"> {
      let summary = "Freezes read only variables";
    
      let description = [{
        Test pass for freezing read only variables in the graph.
      }];
    
      let constructor = "::mlir::tf_test::CreateFreezeVariableTestPass()";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 00:21:29 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.cc

      pm.addPass(mlir::TF::CreateTensorListOpsDecompositionPass());
      pm.addNestedPass<func::FuncOp>(
          mlir::TFDevice::CreateDecomposeResourceOpsPass());
    
      // FreezeVariables only freezes variables for TF v1 types. Separately handle
      // freezing of TF v2 GlobalTensor ops. (Ref: b/206855389)
      pm.addPass(mlir::tf_saved_model::CreateOptimizeGlobalTensorsPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 04:34:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.cc

      pm.addPass(mlir::createCanonicalizerPass());
      pm.addNestedPass<mlir::func::FuncOp>(
          mlir::TFDevice::CreateDecomposeResourceOpsPass());
    
      // FreezeVariables only freezes variables for TF v1 types. Separately handle
      // freezing of TF v2 GlobalTensor ops. (Ref: b/206855389)
      pm.addPass(mlir::tf_saved_model::CreateOptimizeGlobalTensorsPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      if (!pass_config.disable_variable_freezing) {
        // 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
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.proto

      // supported for Post-training Dynamic Range Quantization. By default, it is
      // set to 1024. To disable this, set the value to -1 explicitly.
      int64 min_num_elements_for_weights = 8;
    
      // When set to `true`, freezes all variables in the model into constants.
      // When set to `false` the model's large constants are converted to variables.
      // Setting this to `false` is an experimental feature and quantization may
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 06:31:19 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. tensorflow/cc/tools/freeze_saved_model.cc

      if (var_handle_name.ok() && variable_node_names.count(*var_handle_name)) {
        return var_handle_name;
      }
      return absl::NotFoundError("No VarHandleOp ancestor found");
    }
    
    // Freezes the subgraph of all nodes needed by `outputs`.
    Status FreezeGraphDef(const SavedModelBundle& saved_model_bundle,
                          const std::unordered_set<string>& outputs,
                          GraphDef* frozen_graph_def) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top