Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for unfreezes (0.22 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/unfreeze_constants.cc

    #include "tensorflow/core/platform/env.h"
    #include "tsl/platform/errors.h"
    #include "tsl/platform/status.h"
    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    namespace quantization {
    
    // Unfreezes constants into variables and saves them to a checkpoint files under
    // `checkpoint_dir`. `checkpoint_dir` will be created within this function. It
    // will return a non-OK status if it already exists or permission is denied.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 11:07:03 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.h

    struct ExportOptions {
      // If set to `true`, it runs `DuplicateShapeDeterminingConstantsPass` before
      // lowering to tf_executor dialect.
      bool duplicate_shape_determining_constants = true;
    
      // If set to `true`, unfreezes constants into variables and saves them to a
      // checkpoint file. Setting this to `true` is an experimental feature that has
      // no stability guarantees.
      bool unfreeze_constants = false;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc

          : UnfreezeConstantsPass{} {
        size_threshold_in_bytes_ = other.size_threshold_in_bytes_.getValue();
      }
    
      StringRef getArgument() const override { return "quant-unfreeze-constants"; }
    
      StringRef getDescription() const override {
        return "Unfreeze large constants.";
      }
    
      void runOnOperation() override;
    
     private:
      Option<int64_t> CreateSizeThresholdInBytesOption(const int64_t init_value) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 16 15:04:53 UTC 2023
    - 14K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h

    // the node that saves the variables, after the ModuleOp has been exported as
    // GraphDef.
    std::unique_ptr<OperationPass<ModuleOp>> CreateMergeSaveFunctionOpsToMainPass();
    
    // Creates a pass that "unfreezes" ConstOps into variables. Each ConstOp's use
    // will be replaced by a VarHandleOp -> ReadVariableOp pattern. The newly
    // created variables will be initialized in the session initializer function via
    // AssignVariableOps.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    // ----------
    // Supports following actions:
    // - restart (restarts all the MinIO instances in a setup)
    // - stop (stops all the MinIO instances in a setup)
    // - freeze (freezes all incoming S3 API calls)
    // - unfreeze (unfreezes previously frozen S3 API calls)
    func (a adminAPIHandlers) ServiceHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	vars := mux.Vars(r)
    	action := vars["action"]
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/service.go

    	globalServiceFreezeCnt++
    	if globalServiceFreezeCnt == 1 {
    		globalServiceFreeze.Store(make(chan struct{}))
    	}
    	globalServiceFreezeMu.Unlock()
    }
    
    // unfreezeServices will unfreeze all incoming S3 API calls.
    // For each call, unfreezeServices must be called once.
    func unfreezeServices() {
    	// We need a lock since we need the 2 atomic values to remain in sync.
    	globalServiceFreezeMu.Lock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. 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)
Back to top