Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 90 for eraseOp (0.18 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h

    // if the "tf_saved_model.index_path" attribute has "__tf_file_prefix", will be
    // reused if it already exist in @main. Otherwise a new file prefix argument
    // will be created. @tf_quant__save function will be erased.
    //
    // Running this pass essentially has the effect of inlining the @tf_quant__save
    // into the main graph. This is beneficial when we wish to find and fetch
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

    #include "tensorflow/core/framework/types.pb.h"
    
    namespace mlir {
    namespace quant {
    
    // A unit attribute can be attached to the quantize/dequantize ops which are
    // added by the quantization passes. These ops can be removed erased without
    // losing accuracy.
    inline constexpr char kVolatileOpAttrName[] = "volatile";
    
    // Following attributes are used to mark ops that are not quantizable during
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc

      auto flex_op = builder.create<TFL::CustomOp>(
          op->getLoc(), op->getResultTypes(), op->getOperands(), flex_op_name,
          CustomOptionForFlexOp(&builder, custom_option_buffer));
      op->replaceAllUsesWith(flex_op);
      op->erase();
      return true;
    }
    
    // Sets the "no_fallback" attribute.
    Value SetNoFallbackAttr(PatternRewriter &rewriter, Value val) {
      val.getDefiningOp()->setAttr(kNoFallbackAttr, rewriter.getUnitAttr());
      return val;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. pkg/controlplane/reconcilers/lease.go

    	// we keep going to remove our endpoint before shutting down.
    	if !r.stopReconcilingCalled.Load() && len(masterIPs) == 0 {
    		return fmt.Errorf("no API server IP addresses were listed in storage, refusing to erase all endpoints for the kubernetes Service")
    	}
    
    	// Don't use the EndpointSliceMirroring controller to mirror this to
    	// EndpointSlices. This may change in the future.
    	skipMirrorChanged := setSkipMirrorTrue(e)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/likelyadjust.go

    				// Its default unlikely is also zero which is consistent with favoring loop edges.
    				// Notice that this can act like a "reset" on unlikeliness at loops; the
    				// default "everything returns" unlikeliness is erased by min with the
    				// backedge likeliness; however a loop with calls on every path will be
    				// tagged with call cost. Net effect is that loop entry is favored.
    				b0 := b.Succs[0].b.ID
    				b1 := b.Succs[1].b.ID
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 15.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_program_key.cc

      // Rewrite the original launch op with smaller set of returns.
      CreateReducedLaunchOp(builder, old_block, original_launch_op, device);
    
      original_launch_op->erase();
      return success();
    }
    
    LogicalResult MoveStandalonePreprocessingOp(OpBuilder* builder,
                                                func::FuncOp func_op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

          // The quantization parameters haven't been propagated to any operands
          // or results. Skip this node for now.
          if (!params) {
            quantized_.erase(op);
            continue;
          }
    
          // If this is a QDQ conversion only, the op could have a same-scale
          // requirement for the floating point kernel but allow per-axis
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  8. src/syscall/mkall.sh

    	if [ -n "$mksysctl" ]; then echo "$mksysctl |gofmt >$zsysctl"; fi
    	if [ -n "$mksysnum" ]; then echo "$mksysnum |gofmt >zsysnum_$GOOSARCH.go"; fi
    	if [ -n "$mktypes" ]; then
    		# ztypes_$GOOSARCH.go could be erased before "go run mkpost.go" is called.
    		# Therefore, "go run" tries to recompile syscall package but ztypes is empty and it fails.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 18:22:23 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

          compilation_op, loop_body_func, "sc_backward", &backwards_pass_caller);
      if (failed(result)) return signalPassFailure();
    
      metadata_op->erase();
      compilation_op->erase();
    
      LOG(INFO) << "EmbeddingSequencingPass::runOnOperation done.";
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<mlir::ModuleOp>> CreateEmbeddingSequencingPass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc

    void PrepareDynamicRangeQuantizePass::removeAllStatsOp(func::FuncOp func) {
      func.walk([&](quantfork::StatisticsOp stats_op) {
        stats_op.replaceAllUsesWith(stats_op.getArg());
        stats_op.erase();
      });
    }
    
    void PrepareDynamicRangeQuantizePass::runOnOperation() {
      func::FuncOp func = getOperation();
      MLIRContext* ctx = func.getContext();
    
      if (enable_float16_quantization_) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top