- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for unfreezes (0.14 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)