Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 220 for MinusU (0.12 sec)

  1. tensorflow/c/experimental/gradients/math_grad.cc

        name = "Neg_Div_Grad_Y";
        TF_RETURN_IF_ERROR(Neg(ctx, upstream_grad, &temp_output,
                               name.c_str()));  // -U
        AbstractTensorHandlePtr MinusU(temp_output);
    
        name = "Mul_Div_Grad_Y";
        TF_RETURN_IF_ERROR(Mul(ctx, MinusU.get(), Z, &temp_output,
                               name.c_str()));  // -U*Z
        AbstractTensorHandlePtr UZ(temp_output);
    
        name = "Div_Grad_Y";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/src/operators/cpp/minus.cpp

    #include "operators.h"
    
    int minus(int a, int b) {
        return a - b;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 70 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/src/operators/c/minus.c

    #include "operators.h"
    
    int minus(int a, int b) {
        return a - b;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 70 bytes
    - Viewed (0)
  4. test/64bit.go

    				var bigneg = Int64{-0x80000000, 0}
    				var minus1 = Int64{-1, ^uint32(0)}
    				if a.Cmp(bigneg) != 0 || b.Cmp(minus1) != 0 {	// a != -1<<63 || b != -1
    					div, mod = a.DivMod(b)
    					dodiv = true
    				}
    			}
    			fmt.Fprintf(bout, "\ttestInt64Binary(%v, %v, %v, %v, %v, %v, %v, %v, %v, %v, %v, %v);\n",
    				a, b, a.Plus(b), a.Minus(b), a.Times(b), div, mod,
    				a.And(b), a.Or(b), a.Xor(b), a.AndNot(b), dodiv)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 30 19:21:08 UTC 2013
    - 24.8K bytes
    - Viewed (0)
  5. src/runtime/mpagealloc_test.go

    	}
    	type test struct {
    		chunks []ChunkIdx
    		inUse  []AddrRange
    	}
    	tests := map[string]test{
    		"One": {
    			chunks: []ChunkIdx{
    				BaseChunkIdx,
    			},
    			inUse: []AddrRange{
    				MakeAddrRange(PageBase(BaseChunkIdx, 0), PageBase(BaseChunkIdx+1, 0)),
    			},
    		},
    		"Contiguous2": {
    			chunks: []ChunkIdx{
    				BaseChunkIdx,
    				BaseChunkIdx + 1,
    			},
    			inUse: []AddrRange{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 19:16:48 UTC 2021
    - 32.6K bytes
    - Viewed (0)
  6. test/fixedbugs/bug273.go

    import "unsafe"
    
    var bug = false
    
    var minus1 = -1
    var five = 5
    var big int64 = 10 | 1<<46
    
    type block [1 << 19]byte
    
    var g1 []block
    
    func shouldfail(f func(), desc string) {
    	defer func() { recover() }()
    	f()
    	if !bug {
    		println("BUG")
    		bug = true
    	}
    	println("didn't crash: ", desc)
    }
    
    func badlen() {
    	g1 = make([]block, minus1)
    }
    
    func biglen() {
    	g1 = make([]block, big)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 26 14:06:28 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  7. test/fixedbugs/issue15281.go

    package main
    
    import "runtime"
    
    func main() {
    	{
    		x := inuse()
    		c := make(chan []byte, 10)
    		c <- make([]byte, 10<<20)
    		close(c)
    		f1(c, x)
    	}
    	{
    		x := inuse()
    		c := make(chan []byte, 10)
    		c <- make([]byte, 10<<20)
    		close(c)
    		f2(c, x)
    	}
    }
    
    func f1(c chan []byte, start int64) {
    	for x := range c {
    		if delta := inuse() - start; delta < 9<<20 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 17 09:45:44 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  8. test/fixedbugs/issue15277.go

    type big [10 << 20]byte
    
    func f(x *big, start int64) {
    	if delta := inuse() - start; delta < 9<<20 {
    		println("after alloc: expected delta at least 9MB, got: ", delta)
    	}
    	runtime.KeepAlive(x)
    	x = nil
    	if delta := inuse() - start; delta > 1<<20 {
    		println("after drop: expected delta below 1MB, got: ", delta)
    	}
    	x = new(big)
    	if delta := inuse() - start; delta < 9<<20 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 851 bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/volume_manager_fake.go

    	return nil
    }
    
    // GetVolumesInUse returns a list of the initial volumes
    func (f *FakeVolumeManager) GetVolumesInUse() []v1.UniqueVolumeName {
    	inuse := []v1.UniqueVolumeName{}
    	for v := range f.volumes {
    		inuse = append(inuse, v)
    	}
    	return inuse
    }
    
    // ReconcilerStatesHasBeenSynced is not implemented
    func (f *FakeVolumeManager) ReconcilerStatesHasBeenSynced() bool {
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 17 16:53:28 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/src/operatorsTest/c/test_minus.c

    #include <CUnit/Basic.h>
    #include "operators.h"
    
    void test_minus() {
      CU_ASSERT(minus(2, 0) == 2);
      CU_ASSERT(minus(0, -2) == 2);
      CU_ASSERT(minus(2, 2) == 0);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 165 bytes
    - Viewed (0)
Back to top