Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 345 for setLoc (0.13 sec)

  1. tensorflow/compiler/mlir/lite/transforms/default_quant_params.cc

      }
      TypeAttr type_attr = TypeAttr::get(new_type);
      auto quantize = builder.create<TFL::QuantizeOp>(value.getLoc(), new_type,
                                                      value, type_attr);
      auto dequantize = builder.create<TFL::DequantizeOp>(
          value.getLoc(), expressed_type, quantize.getOutput());
      value.replaceAllUsesWith(dequantize);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

                                                        TypeRange(types), result);
          new_forward_ops.insert(replicated_output);
          // TODO(bfontain): Check for other attributes.
          replicated_output->setAttr(kDevice, builder.getStringAttr(""));
          TF::TPUReplicatedInputOp input = builder.create<TF::TPUReplicatedInputOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  3. src/runtime/signal_freebsd_riscv64.go

    func (c *sigctxt) pc() uint64 { return c.regs().mc_gpregs.gp_sepc }
    
    func (c *sigctxt) sigcode() uint64 { return uint64(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint64 { return c.info.si_addr }
    
    func (c *sigctxt) set_pc(x uint64) { c.regs().mc_gpregs.gp_sepc = x }
    func (c *sigctxt) set_ra(x uint64) { c.regs().mc_gpregs.gp_ra = x }
    func (c *sigctxt) set_sp(x uint64) { c.regs().mc_gpregs.gp_sp = x }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:17:13 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/xla_rewrite_util.cc

      const size_t num_moved_children =
          old_parallel_execute.getRegions().size() - 1;
      *new_parallel_execute = builder->create<mlir::tf_device::ParallelExecuteOp>(
          old_parallel_execute->getLoc(),
          num_moved_children + num_cores_per_replica, concatenated_output_types);
    
      // `cluster_idx` is the index of the child with the `ClusterFuncOp`, which
      // will be replaced.
      int cluster_idx = -1;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 13 03:57:18 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc

          }
        }
      };
    
      for (int i = 0, e = func.getNumArguments(); i != e; ++i) {
        BlockArgument arg = func.getArgument(i);
        auto* arg_block = arg.getOwner();
        add_quantize_op(arg.getLoc(), arg.getType(), arg_block,
                        std::next(arg_block->begin(), i), arg, i);
      }
    
      return false;
    }
    
    bool PrepareQuantizePass::RemoveRedundantStats(func::FuncOp func) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ir/mini.go

    // An embedding implementation can provide a SetOp if desired.
    // (The panicking SetOp is with the other panics below.)
    func (n *miniNode) Op() Op            { return n.op }
    func (n *miniNode) Pos() src.XPos     { return n.pos }
    func (n *miniNode) SetPos(x src.XPos) { n.pos = x }
    func (n *miniNode) Esc() uint16       { return n.esc }
    func (n *miniNode) SetEsc(x uint16)   { n.esc = x }
    
    const (
    	miniTypecheckShift = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 22:09:44 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/utils/fake_quant_utils.cc

        if (!parent_op) continue;
        builder.setInsertionPoint(parent_op);
    
        // Recreate the operation by using the wrapper's operands and return types.
        // TODO(fengliuai): copy the regions.
        OperationState state(op->getLoc(), op->getName().getStringRef(),
                             parent_op->getOperands(), parent_op->getResultTypes(),
                             op->getAttrs(), op->getSuccessors());
        Operation* inlined = builder.create(state);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. src/runtime/signal_openbsd_mips64.go

    	return *(*uint64)(add(unsafe.Pointer(c.info), 16))
    }
    
    func (c *sigctxt) set_r28(x uint64)  { c.regs().sc_regs[28] = x }
    func (c *sigctxt) set_r30(x uint64)  { c.regs().sc_regs[30] = x }
    func (c *sigctxt) set_pc(x uint64)   { c.regs().sc_pc = x }
    func (c *sigctxt) set_sp(x uint64)   { c.regs().sc_regs[29] = x }
    func (c *sigctxt) set_link(x uint64) { c.regs().sc_regs[31] = x }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 08:07:46 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/dcl.go

    		base.FatalfAt(pos, "misuse of method type: %v", typ)
    	}
    	types.CalcSize(typ)
    
    	sym := &types.Sym{
    		Name: autotmpname(len(curfn.Dcl)),
    		Pkg:  types.LocalPkg,
    	}
    	name := curfn.NewLocal(pos, sym, typ)
    	name.SetEsc(ir.EscNever)
    	name.SetUsed(true)
    	name.SetAutoTemp(true)
    
    	return name
    }
    
    var (
    	autotmpnamesmu sync.Mutex
    	autotmpnames   []string
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:15:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_custom_call_to_composite.cc

        auto decomposition = mlir::cast<FlatSymbolRefAttr>(calledComputations[0]);
    
        auto composite = rewriter.create<mlir::stablehlo::CompositeOp>(
            op.getLoc(), op.getResultTypes(), op.getOperands(), name.str(), attrs,
            decomposition.getValue());
        rewriter.replaceOp(op, composite.getResults());
        return success();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top