Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for Add1 (0.25 sec)

  1. tensorflow/compiler/jit/clone_constants_for_better_clustering_test.cc

      Output c = ops::Const(on_gpu.WithOpName("const"), 1.0f, {});
      Output add1 = ops::AddV2(on_gpu.WithOpName("add1"), in, c);
      Output add2 = ops::AddV2(on_gpu.WithOpName("add2"), add1, c);
    
      std::unique_ptr<Graph> result;
      TF_ASSERT_OK(CloneConstantsForBetterClustering(root, &result));
    
      OutputTensor add1_operand;
      TF_ASSERT_OK(
          FindNodeByName(result.get(), "add1")->input_tensor(1, &add1_operand));
    
      OutputTensor add2_operand;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

      VerifyFDef({"add1", "add2"}, M({{"feed1"}, {"feed2"}, {"feed3"}}),
                 M({{"internal_out"}, {"final_out"}}),
                 {{"feed1", "add1:0"},
                  {"feed2", "add1:1"},
                  {"add1:sum:0", "add2:0"},
                  {"feed3", "add2:1"},
                  {"add1:sum:0", "internal_out"},
                  {"add2:sum:0", "final_out"}},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  3. src/crypto/internal/nistec/p256_asm_ppc64le.s

    	VMULT_ADD(X0, YDIG, ADD1H, ONE, ADD3, ADD3H)
    	VMULT_ADD(X1, YDIG, ADD2H, ONE, ADD4, ADD4H)
    
    	LXVD2X   (R17)(CPOOL), SEL1
    	VSPLTISB $0, ZER               // VZERO ZER
    	VPERM    ZER, ADD1, SEL1, RED3 // [d0 0 0 d0]
    
    	VSLDOI $12, ADD2, ADD1, T0 // ADD1 Free	// VSLDB
    	VSLDOI $12, ZER, ADD2, T1  // ADD2 Free	// VSLDB
    
    	VADDCUQ  T0, ADD3, CAR1     // VACCQ
    	VADDUQM  T0, ADD3, T0       // ADD3 Free	// VAQ
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  4. test/newinline.go

    	"errors"
    	"runtime"
    	"unsafe"
    )
    
    func add2(p *byte, n uintptr) *byte { // ERROR "can inline add2" "leaking param: p to result"
    	return (*byte)(add1(unsafe.Pointer(p), n)) // ERROR "inlining call to add1"
    }
    
    func add1(p unsafe.Pointer, x uintptr) unsafe.Pointer { // ERROR "can inline add1" "leaking param: p to result"
    	return unsafe.Pointer(uintptr(p) + x)
    }
    
    func f(x *byte) *byte { // ERROR "can inline f" "leaking param: x to result"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. test/inline.go

    	"errors"
    	"runtime"
    	"unsafe"
    )
    
    func add2(p *byte, n uintptr) *byte { // ERROR "can inline add2" "leaking param: p to result"
    	return (*byte)(add1(unsafe.Pointer(p), n)) // ERROR "inlining call to add1"
    }
    
    func add1(p unsafe.Pointer, x uintptr) unsafe.Pointer { // ERROR "can inline add1" "leaking param: p to result"
    	return unsafe.Pointer(uintptr(p) + x)
    }
    
    func f(x *byte) *byte { // ERROR "can inline f" "leaking param: x to result"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  6. src/internal/types/testdata/fixedbugs/issue39693.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    type Number1 interface {
    	// embedding non-interface types is permitted
    	int
    	float64
    }
    
    func Add1[T Number1](a, b T) T {
    	return a /* ERROR "not defined" */ + b
    }
    
    type Number2 interface {
    	int | float64
    }
    
    func Add2[T Number2](a, b T) T {
    	return a + b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 428 bytes
    - Viewed (0)
  7. src/testing/sub_test.go

    			{typ: add1, running: 3, waiting: 0, started: true},
    			{typ: add1, running: 3, waiting: 1, started: false},
    			{typ: add1, running: 3, waiting: 2, started: false},
    			{typ: add1, running: 3, waiting: 3, started: false},
    			{typ: done, running: 3, waiting: 2, started: true},
    			{typ: add1, running: 3, waiting: 3, started: false},
    			{typ: done, running: 3, waiting: 2, started: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 21:27:08 UTC 2023
    - 23.8K bytes
    - Viewed (0)
  8. src/runtime/mbitmap.go

    			}
    			nbyte := n / 8
    			for i := uintptr(0); i < nbyte; i++ {
    				bits |= uintptr(*p) << nbits
    				p = add1(p)
    				*dst = uint8(bits)
    				dst = add1(dst)
    				bits >>= 8
    			}
    			if n %= 8; n > 0 {
    				bits |= uintptr(*p) << nbits
    				p = add1(p)
    				nbits += n
    			}
    			continue Run
    		}
    
    		// Repeat. If n == 0, it is encoded in a varint in the next bytes.
    		if n == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  9. tensorflow/c/while_loop_test.cc

      params_->cond_output = {less_than, 0};
    
      TF_Operation* add1 = Add(params_->body_inputs[0], params_->body_inputs[1],
                               params_->body_graph, s_, "add1");
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      TF_Operation* one = ScalarConst(1, params_->body_graph, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      TF_Operation* add2 = Add(add1, one, params_->body_graph, s_, "add2");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. src/internal/types/testdata/check/issues1.go

    type Unsigned interface {
    	~uint
    }
    
    type T2[U Unsigned] struct {
        s U
    }
    
    func (u T2[U]) Add1() U {
        return u.s + 1
    }
    
    func NewT2[U any]() T2[U /* ERROR "U does not satisfy Unsigned" */ ] {
        return T2[U /* ERROR "U does not satisfy Unsigned" */ ]{}
    }
    
    func _() {
        u := NewT2[string]()
        _ = u.Add1()
    }
    
    // When we encounter an instantiated type such as Elem[T] we must
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:56:37 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top