Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for eraseOp (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc

        auto input_op = q.getArg().getDefiningOp();
        if (auto stats = dyn_cast_or_null<quantfork::StatisticsOp>(input_op)) {
          q.setOperand(stats.getArg());
          if (stats.use_empty()) stats.erase();
        }
      });
    
      // Step 1: forward pass: propagate any value scales which are not produces
      // by `SameOperandsAndResultsScale`. Additionally, remove the value scales
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc

      }
    
      for (int i = 0; i < tuple_result->getNumOperands(); i++) {
        outputs.push_back(tuple_result->getOperand(i));
      }
    
      tuple_result.getOperation()->erase();
      return success();
    }
    
    mlir::LogicalResult Tf2XlaRewriter::GetKernelOutputs(
        tensorflow::OpKernelContext& op_context, mhlo::TupleOp tuple_results,
        llvm::SmallVector<Value>& outputs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

      }
      for (auto& op : llvm::make_early_inc_range(replicate.GetBody())) {
        op.moveBefore(&new_replicate.GetBody(), new_replicate.GetBody().end());
      }
      replicate.replaceAllUsesWith(new_replicate);
      replicate.erase();
      return new_replicate;
    }
    
    // Creates the per-device variables that represent the formatting state of each
    // device.
    llvm::SmallVector<TF::VarHandleOp, 4> CreateStateVars(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top