Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 95 for eraseOp (0.11 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

      // structured lowering.
      old_parallel_execute.walk(
          [&](TF::_XlaCompileMlirPlaceholderProgramKeyOp key_op) {
            key_op.replaceAllUsesWith(compile_op->getResult(1));
            key_op.erase();
          });
    
      // After rewrite, if there is a TPUCompilationResultOp from the same cluster,
      // replace it with the result of the compile op. The TPUCompilationResultOp is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. tensorflow/cc/tools/freeze_saved_model.cc

      }
    }
    
    // Strips off the tensor part of the tensor_name to get the node_name.
    const string GetNodeNameFromTensorName(string tensor_name) {
      if (tensor_name[0] == '^') {
        tensor_name.erase(0, 1);
      }
      std::vector<string> tensor_name_parts = str_util::Split(tensor_name, ':');
      return tensor_name_parts[0];
    }
    
    // Gets the set of node names needed by `outputs` and the corresponding set of
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top