Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for func4 (0.19 sec)

  1. tensorflow/c/c_api_function_test.cc

      if (GetName(funcs[0]) == GetName(func0)) {
        AssertEqual(func0, funcs[0]);
        AssertEqual(func1, funcs[1]);
      } else {
        AssertEqual(func0, funcs[1]);
        AssertEqual(func1, funcs[0]);
      }
    
      TF_DeleteFunction(funcs[0]);
      TF_DeleteFunction(funcs[1]);
    
      TF_DeleteFunction(func0);
      TF_DeleteFunction(func1);
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof_test.go

    		t.Fatalf("sample value changed: got [%d, %d], want [%d, %d]", newContentions, newDelay, contentions, delay)
    	}
    }
    
    func func1(c chan int) { <-c }
    func func2(c chan int) { <-c }
    func func3(c chan int) { <-c }
    func func4(c chan int) { <-c }
    
    func TestGoroutineCounts(t *testing.T) {
    	// Setting GOMAXPROCS to 1 ensures we can force all goroutines to the
    	// desired blocking point.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  3. src/html/template/exec_test.go

    	// Pointers
    	PI  *int
    	PS  *string
    	PSI *[]int
    	NIL *int
    	// Function (not method)
    	BinaryFunc      func(string, string) string
    	VariadicFunc    func(...string) string
    	VariadicFuncInt func(int, ...string) string
    	NilOKFunc       func(*int) bool
    	ErrFunc         func() (string, error)
    	PanicFunc       func() string
    	// Template to test evaluation of templates.
    	Tmpl *Template
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    template <typename T>
    class ThreadWithParam : public ThreadWithParamBase {
     public:
      typedef void (*UserThreadFunc)(T);
    
      ThreadWithParam(
          UserThreadFunc func, T param, Notification* thread_can_start)
          : func_(func),
            param_(param),
            thread_can_start_(thread_can_start),
            finished_(false) {
        ThreadWithParamBase* const base = this;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  5. src/runtime/mprof.go

    	clear(dst.Stack0[i:])
    }
    
    //go:linkname pprof_memProfileInternal
    func pprof_memProfileInternal(p []profilerecord.MemProfileRecord, inuseZero bool) (n int, ok bool) {
    	return memProfileInternal(len(p), inuseZero, func(r profilerecord.MemProfileRecord) {
    		p[0] = r
    		p = p[1:]
    	})
    }
    
    func iterate_memprof(fn func(*bucket, uintptr, *uintptr, uintptr, uintptr, uintptr)) {
    	lock(&profMemActiveLock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/tests/raise-target-subgraphs.mlir

      func.return %0 : tensor<i32>
    }
    }
    
    // CHECK:     func.func @simpleWhile(%arg0: tensor<i32>) -> tensor<i32> {
    // CHECK:       %0 = call @func_0_CPU_FLOAT(%arg0) {tac.device = "CPU", tac.inference_type = "FLOAT", tac.interface_name = "func_0"} : (tensor<i32>) -> tensor<i32>
    // CHECK:       return %0 : tensor<i32>
    // CHECK:     }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.h

    // between them if `func` does not already have a gradient. If `func` already
    // has a gradient different from `grad`, an error is returned.
    //
    // `func` must not be null.
    // If `grad` is null and `func` is not in `g`, `func` is added without a
    // gradient.
    // If `grad` is null and `func` is in `g`, TF_GraphCopyFunction is a noop.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    )
    
    func dec(i int64, exponent int) infDecAmount {
    	// See the below test-- scale is the negative of an exponent.
    	return infDecAmount{inf.NewDec(i, inf.Scale(-exponent))}
    }
    
    func bigDec(i *big.Int, exponent int) infDecAmount {
    	// See the below test-- scale is the negative of an exponent.
    	return infDecAmount{inf.NewDecBig(i, inf.Scale(-exponent))}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

            }
            if (!llvm::isa<func::FuncOp>(symbol)) {
              func.emitError() << "Invalid callee: " << call_op.getF();
              return LogicalResult::failure();
            }
            auto callee =
                llvm::dyn_cast<func::FuncOp>(symbol_table.lookup(call_op.getF()));
            func::ReturnOp return_op = *callee.getOps<func::ReturnOp>().begin();
            auto val = return_op.getOperand(i);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/zz_generated.conversion.go

    )
    
    func init() {
    	localSchemeBuilder.Register(RegisterConversions)
    }
    
    // RegisterConversions adds conversion functions to the given scheme.
    // Public to allow building arbitrary schemes.
    func RegisterConversions(s *runtime.Scheme) error {
    	if err := s.AddGeneratedConversionFunc((*AdmissionConfiguration)(nil), (*apiserver.AdmissionConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 00:57:24 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top