Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 73 for newop (0.32 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc

                                            new_op->getResult(0), dump_attributes);
    
          if (debugger_type_ == DebuggerConfig::DEBUGGER_TYPE_FLOAT_PER_LAYER) {
            // Swap all uses between call_op and ref_call_op, except for the
            // particular use that owns DumpTensor.
            rewriter.replaceUsesWithIf(
                op.getResult(0), new_op->getResult(0), [](OpOperand &use) -> bool {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/passes/decompose.cc

                  op->getLoc(), cast<TypedAttr>(attribute));
            }
            new_operands.push_back(attr_cst);
          }
        }
    
        // Create the TFR call op
        auto new_op = builder.create<CallOp>(
            op->getLoc(), compose_func_type.getResults(),
            SymbolRefAttr::get(builder.getContext(), compose_func.getName()),
            new_operands);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. src/runtime/rt0_js_wasm.s

    	Call wasm_pc_f_loop(SB)
    
    	Return
    
    // wasm_export_getsp gets called from JavaScript to retrieve the SP.
    TEXT wasm_export_getsp(SB),NOSPLIT,$0
    	Get SP
    	Return
    
    TEXT runtime·pause(SB), NOSPLIT, $0-8
    	MOVD newsp+0(FP), SP
    	I32Const $1
    	Set PAUSE
    	RETUNWIND
    
    TEXT runtime·exit(SB), NOSPLIT, $0-4
    	I32Const $0
    	Call runtime·wasmExit(SB)
    	I32Const $1
    	Set PAUSE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 19:28:25 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go

    					crHash := strings.Join([]string{newIOP.Name, newIOP.Namespace, string(component), host}, "-")
    					cache.RemoveCache(crHash)
    				}
    			}
    
    			if oldIOP.GetDeletionTimestamp() != newIOP.GetDeletionTimestamp() {
    				metrics.IncrementReconcileRequest("update_deletion_timestamp")
    				return true
    			}
    
    			if oldIOP.GetGeneration() != newIOP.GetGeneration() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.cc

        builder->setInsertionPoint(op);
        Operation* new_op = builder->create(state);
    
        // Insert quantize ops for every outputs and rewrite.
        for (int i = 0; i < op->getNumResults(); ++i) {
          auto result = op->getResult(i);
          auto result_type = result.getType();
    
          Value new_result = new_op->getResult(i);
          if (IsQI8Type(result_type) || IsQUI8Type(result_type)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

        if (!caller_func) return failure();
    
        builder.setInsertionPoint(call_op);
        for (auto [lifted_op, arg_idx] : lifted_op_and_arg_idx) {
          auto new_op = builder.clone(*lifted_op, mapping);
          call_op->insertOperands(arg_idx, new_op->getResult(0));
        }
    
        // Try to lift recursively until the main function.
        if (failed(LiftHashTableOpsToArguments(module_op, caller_func))) {
          return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_arguments.cc

                           op->getOperands(), result_types, op->getAttrs());
      for (int i = 0; i < op->getNumRegions(); ++i) {
        state.addRegion();
      }
      Operation* new_op = builder.create(state);
      for (const auto& indexed_regions : llvm::enumerate(op->getRegions())) {
        Region& region = op->getRegion(indexed_regions.index());
        IRMapping mapping;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

      OpBuilder builder(op);
      Operation *new_op = Operation::create(
          op->getLoc(), op->getName(), new_result_types, op->getOperands(),
          op->getAttrs(), op->getPropertiesStorage(), op->getSuccessors(),
          op->getNumRegions());
      builder.insert(new_op);
    
      // Move region bodies to the new operation.
      for (auto it : llvm::zip(op->getRegions(), new_op->getRegions())) {
        Region &old_region = std::get<0>(it);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

                             new_operands, op->getResultTypes(), op->getAttrs(),
                             op->getSuccessors());
        Operation *new_op = rewriter.create(state);
        llvm::SmallVector<Value, 4> new_results = new_op->getResults();
    
        // Add qint->int CastOp after output result if its original type is qint and
        // its users are not all qint->int CastOps.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

      OpBuilder builder(op->getContext());
      builder.setInsertionPointAfter(op);
      arith::ConstantOp new_op = cast<arith::ConstantOp>(builder.clone(*op));
      target_op->getOpOperand(operand_index).set(new_op.getResult());
      InitializeOperandState(target_op, operand_index, new_op.getResult());
      InitializeResultState(new_op, 0, new_op.getResult());
      return new_op;
    }
    
    bool QuantizationDriver::ShouldCheckBiasScale(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
Back to top