Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 147 for eraseOp (0.31 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/GroupedOutputFixtureTest.groovy

            groupedOutput.taskCount == 3
            groupedOutput.task(':1:log').output == 'Output from 1'
            groupedOutput.task(':2:log').output == 'Output from 2'
        }
    
        def "handles task outputs with erase to end of line chars"() {
            given:
            def consoleOutput = """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  9. pilot/pkg/xds/sds_test.go

    			t.Fatalf("expect private key provider in secret")
    		}
    		if privateKeyProvider.GetFallback() {
    			t.Fatalf("expect fallback for private key provider in secret as false")
    		}
    	}
    
    	// erase private key provider in proxy-config
    	secrets, _, _ = gen.Generate(s.SetupProxy(rawProxy), &model.WatchedResource{ResourceNames: []string{"kubernetes://generic"}}, fullPush)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/executor_island_coarsening.cc

      for (IslandOp island : merged_island.islands)
        island.getControl().replaceAllUsesWith(new_island.getControl());
      for (IslandOp island : merged_island.islands) island->erase();
    }
    
    // Takes the inputs to tf_executor.fetch, make a new island that just yields
    // them, and replace the fetch's input operands with the new yielded values.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top