Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for op_begin (0.26 sec)

  1. tensorflow/compiler/mlir/quantization/common/uniform_quantized_types_test.cc

      ASSERT_TRUE(module_op);
    
      auto func_op = module_op->lookupSymbol<func::FuncOp>("fully_quantized_add");
      ASSERT_THAT(func_op, NotNull());
    
      auto add_op_itr = func_op.getBody().op_begin<mlir::stablehlo::AddOp>();
      ASSERT_THAT(add_op_itr,
                  Ne(func_op.getBody().op_end<mlir::stablehlo::AddOp>()));
    
      EXPECT_TRUE(IsOpFullyQuantized(*add_op_itr));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

        Type type = op->getResult(0).getType();
        // Verify that the first result type is same as the rest of the results.
        // We skip the comparison against itself.
        for (auto result_type : llvm::drop_begin(op->getResultTypes(), 1)) {
          if (!mlir::tf_type::HasCompatibleElementTypes(type, result_type))
            return op->emitOpError()
                   << "requires all return types to have compatible element types";
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc

                                 PatternRewriter& rewriter) const {
        bool changed = false;
        rewriter.startOpModification(branch);
        for (auto [call_arg, body_arg] :
             llvm::zip(llvm::drop_begin(ifop.getOperation()->getOperands()),
                       branch.getBody().front().getArguments())) {
          if (call_arg.getType() != body_arg.getType()) {
            body_arg.setType(call_arg.getType());
            changed = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tpu_dynamic_layout_pass.cc

        llvm::SmallVector<tf_device::LaunchOp, 4> execute_launches;
        execute_launches.reserve(compile_launch.getNumResults() - 1);
        for (Value program_result :
             llvm::drop_begin(compile_launch.getResults(), 1)) {
          if (!program_result.hasOneUse()) return;
          Operation* user = *program_result.user_begin();
          auto execute = llvm::dyn_cast<TF::TPUExecuteOp>(user);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    			fmt.Fprintf(os.Stderr, "Failed to compute objdump address for range end %x: %v\n", r.end, err)
    			continue
    		}
    		base := r.begin - objBegin
    		insts, err := sp.objectTool.Disasm(r.mapping.File, objBegin, objEnd, rpt.options.IntelSyntax)
    		if err != nil {
    			// TODO(sanjay): Report that the covered addresses are missing.
    			continue
    		}
    
    		var lastFrames []plugin.Frame
    		var lastAddr, maxAddr uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/arch/arm64.go

    	if arm64SpecialOperand == nil {
    		// Generate the mapping automatically when the first time the function is called.
    		arm64SpecialOperand = map[string]arm64.SpecialOperand{}
    		for opd := arm64.SPOP_BEGIN; opd < arm64.SPOP_END; opd++ {
    			arm64SpecialOperand[opd.String()] = opd
    		}
    
    		// Handle some special cases.
    		specialMapping := map[string]arm64.SpecialOperand{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 09:04:58 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/arm64/a.out.go

    	ARNG_D
    )
    
    //go:generate stringer -type SpecialOperand -trimprefix SPOP_
    type SpecialOperand int
    
    const (
    	// PRFM
    	SPOP_PLDL1KEEP SpecialOperand = iota     // must be the first one
    	SPOP_BEGIN     SpecialOperand = iota - 1 // set as the lower bound
    	SPOP_PLDL1STRM
    	SPOP_PLDL2KEEP
    	SPOP_PLDL2STRM
    	SPOP_PLDL3KEEP
    	SPOP_PLDL3STRM
    	SPOP_PLIL1KEEP
    	SPOP_PLIL1STRM
    	SPOP_PLIL2KEEP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

      }
    
      const bool arg_no_changed = branch_maps.front().empty();
      auto output_buffer_to_size =
          ModifyFunctionReturn(branches.front(), branch_maps.front());
      for (const auto& pair : llvm::drop_begin(llvm::zip(branches, branch_maps), 1))
        ModifyFunctionReturn(std::get<0>(pair), std::get<1>(pair));
    
      if (output_buffer_to_size.empty() && arg_no_changed) return success();
    
      // Recreate the op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top