Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getZp (0.17 sec)

  1. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

            loc, qparams_op.getScale().getType(), scale_op.getOutput());
        auto zp_cast = rewriter.create<CastOp>(loc, qparams_op.getZp().getType(),
                                               zp_op.getOutput());
    
        qparams_op.getScale().replaceAllUsesWith(scale_cast.getOut());
        qparams_op.getZp().replaceAllUsesWith(zp_cast.getOut());
        return success();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc

    // failure.
    template <typename OpT>
    LogicalResult GetOp(Region* region, OpT* result) {
      *result = {};
      for (auto op : region->getOps<OpT>()) {
        if (*result) return op.emitError("should be unique within a function");
        *result = op;
      }
      return success();
    }
    
    LogicalResult RunOnRegion(Region* region) {
      RecvTPUEmbeddingActivationsOp recv_op;
      if (failed(GetOp(region, &recv_op))) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 22:55:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. src/runtime/stubs_riscv64.go

    //
    // Spills/loads arguments in registers to/from an internal/abi.RegArgs
    // respectively. Does not follow the Go ABI.
    func spillArgs()
    func unspillArgs()
    
    // getfp returns the frame pointer register of its caller or 0 if not implemented.
    // TODO: Make this a compiler intrinsic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 695 bytes
    - Viewed (0)
  4. src/runtime/stubs_amd64.go

    //
    // Spills/loads arguments in registers to/from an internal/abi.RegArgs
    // respectively. Does not follow the Go ABI.
    func spillArgs()
    func unspillArgs()
    
    // getfp returns the frame pointer register of its caller or 0 if not implemented.
    // TODO: Make this a compiler intrinsic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. src/runtime/stubs_loong64.go

    //
    // Spills/loads arguments in registers to/from an internal/abi.RegArgs
    // respectively. Does not follow the Go ABI.
    func spillArgs()
    func unspillArgs()
    
    // getfp returns the frame pointer register of its caller or 0 if not implemented.
    // TODO: Make this a compiler intrinsic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:23 UTC 2023
    - 638 bytes
    - Viewed (0)
  6. src/runtime/stubs_ppc64x.go

    // Spills/loads arguments in registers to/from an internal/abi.RegArgs
    // respectively. Does not follow the Go ABI.
    func spillArgs()
    func unspillArgs()
    
    // getfp returns the frame pointer register of its caller or 0 if not implemented.
    // TODO: Make this a compiler intrinsic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:48:11 UTC 2023
    - 688 bytes
    - Viewed (0)
  7. pkg/kube/krt/bench_test.go

    		}
    	}))
    	c.handler = func(e krt.Event[Workload]) {
    		events <- fmt.Sprintf(e.Latest().Name, e.Event)
    	}
    	go c.queue.Run(stop)
    }
    
    var nextIP = net.ParseIP("10.0.0.10")
    
    func GetIP() string {
    	i := nextIP.To4()
    	ret := i.String()
    	v := uint(i[0])<<24 + uint(i[1])<<16 + uint(i[2])<<8 + uint(i[3])
    	v++
    	v3 := byte(v & 0xFF)
    	v2 := byte((v >> 8) & 0xFF)
    	v1 := byte((v >> 16) & 0xFF)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. src/runtime/os_wasm.go

    type gsignalStack struct{}
    
    const preemptMSupported = false
    
    func preemptM(mp *m) {
    	// No threads, so nothing to do.
    }
    
    // getfp returns the frame pointer register of its caller or 0 if not implemented.
    // TODO: Make this a compiler intrinsic
    func getfp() uintptr { return 0 }
    
    func setProcessCPUProfiler(hz int32) {}
    func setThreadCPUProfiler(hz int32)  {}
    func sigdisable(uint32)              {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/cmd/link/internal/wasm/asm.go

    	case "js":
    		writeUleb128(ctxt.Out, 4) // number of exports
    		for _, name := range []string{"run", "resume", "getsp"} {
    			s := ldr.Lookup("wasm_export_"+name, 0)
    			idx := uint32(lenHostImports) + uint32(ldr.SymValue(s)>>16) - funcValueOffset
    			writeName(ctxt.Out, name)           // inst.exports.run/resume/getsp in wasm_exec.js
    			ctxt.Out.WriteByte(0x00)            // func export
    			writeUleb128(ctxt.Out, uint64(idx)) // funcidx
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. src/runtime/tracestack.go

    		} else if gp != nil {
    			nstk += gcallers(gp, skip, pcBuf[1:])
    		}
    	} else {
    		// Fast path: Unwind using frame pointers.
    		pcBuf[0] = uintptr(skip)
    		if getg() == gp {
    			nstk += fpTracebackPCs(unsafe.Pointer(getfp()), pcBuf[1:])
    		} else if gp != nil {
    			// Three cases:
    			//
    			// (1) We're called on the g0 stack through mcall(fn) or systemstack(fn). To
    			// behave like gcallers above, we start unwinding from sched.bp, which
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top