Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for _id (0.14 sec)

  1. tensorflow/c/eager/immediate_execution_operation.h

          CancellationManager* cancellation_manager) = 0;
    
      // Returns the stack trace set by `SetStackTrace` if exists.
      virtual absl::optional<ManagedStackTrace> GetStackTrace() = 0;
    
      virtual void SetStepId(int64_t step_id) = 0;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractOperation* ptr) {
        return ptr->getKind() == kEager || ptr->getKind() == kTfrt;
      }
    
     protected:
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 22:40:32 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.h

                                                         bool use_tfrt);
    
    // Returns the context_id from the EagerContext which is used by the
    // EagerService to maintain consistency between client and worker. The
    // context_id is initialized with a dummy value and is later set when the worker
    // is initialized (either locally or remotely). The context_id can change during
    // the process lifetime although this should cause the worker to be
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // followed by `TFE_ContextAsyncWait` to clear pending operations. It will be
      // used to cancel all other operations if any fails.
      //
      // Set step_id to configure the step id used for rendezvous creation. step id
      // of value -1 is reserved for global rendezvous and should not be set here.
      void StartExecute(TFE_Context* context,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/cthread_windows.c

    doAdd(int max, int nthread)
    {
    	enum { MaxThread = 20 };
    	int i;
    	uintptr_t thread_id[MaxThread];
    	
    	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)
    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)
  5. tensorflow/c/eager/gradients.h

    // the op that produced it (or -1 if this tensor was watched using
    // `GradientTape::Watch`.) The op_id is simply a unique index assigned to each
    // op executed under the tape. A separate map (`tensorflow::eager::OpTape`)
    // maintains the map from `op_id` to a `OpTapeEntry` which stores the `op_type`,
    // inputs and outputs and the gradient function These data structures combined
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/tape.h

      while (!tensor_stack.empty()) {
        int64_t tensor_id = tensor_stack.back();
        tensor_stack.pop_back();
        auto op_id_it = tensor_tape.find(tensor_id);
        if (op_id_it == tensor_tape.end()) {
          continue;
        }
        int64_t op_id = op_id_it->second;
        auto op_it = op_tape->find(op_id);
        auto result_op_it = result.op_tape.find(op_id);
        if (op_id == -1 || op_it == op_tape->end() ||
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  7. src/cmd/cgo/internal/test/cthread_unix.c

    	return 0;
    }
    
    void
    doAdd(int max, int nthread)
    {
    	enum { MaxThread = 20 };
    	int i;
    	pthread_t thread_id[MaxThread];
    	
    	if(nthread > MaxThread)
    		nthread = MaxThread;
    	for(i=0; i<nthread; i++)
    		pthread_create(&thread_id[i], 0, addThread, &max);
    	for(i=0; i<nthread; i++)
    		pthread_join(thread_id[i], 0);		
    }
    
    static void*
    goDummyCallbackThread(void* p)
    {
    	int i, max;
    
    	max = *(int*)p;
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed May 17 21:53:11 GMT 2023
    - 1K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_internal.h

      tensorflow::ImportGraphDefOptions opts;
    
      // Backing memory for TensorId fields in opts.
      // TODO(skyewm): it'd be better if ImportGraphDefOptions owned this.
      std::vector<tensorflow::string> tensor_id_data;
    };
    
    struct TF_ImportGraphDefResults {
      std::vector<TF_Output> return_tensors;
      std::vector<TF_Operation*> return_nodes;
      std::vector<const char*> missing_unused_key_names;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental.h

                                                           TF_Status* status);
    
    // On success, enqueues `tensor` into a TF-managed FifoQueue given by
    // `tensor_id`, associated with `session`. There must be a graph node named
    // "fifo_queue_enqueue_<tensor_id>", to be executed by this API call. It reads
    // from a placeholder node "arg_tensor_enqueue_<tensor_id>".
    //
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
Back to top