Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isInfinite (0.18 sec)

  1. tensorflow/c/eager/tape.h

            in_grads.push_back(zero);
          } else {
            in_grads.push_back(nullptr);
          }
        } else {
          in_grads.push_back(current_grad->second);
        }
      }
    
      // Avoid infinite recursion. Whichever forward function we run, it'll end up
      // executing ops, and we don't want to watch those with this accumulator.
      call_state_.emplace(nullptr, true);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  2. src/cmd/cgo/internal/test/cthread_windows.c

    	
    	if(nthread > MaxThread)
    		nthread = MaxThread;
    	for(i=0; i<nthread; i++)
    		thread_id[i] = _beginthreadex(0, 0, addThread, &max, 0, 0);
    	for(i=0; i<nthread; i++) {
    		WaitForSingleObject((HANDLE)thread_id[i], INFINITE);
    		CloseHandle((HANDLE)thread_id[i]);
    	}
    }
    
    __stdcall
    static unsigned int
    goDummyCallbackThread(void* p)
    {
    	int i, max;
    
    	max = *(int*)p;
    	for(i=0; i<max; i++)
    		goDummy();
    	return 0;
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed May 17 21:53:11 GMT 2023
    - 1.1K bytes
    - Viewed (0)
Back to top