Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Check (5.43 sec)

  1. tensorflow/c/eager/c_api_test_util.h

      TF_Tensor* t = TFE_AllocateHostTensor(ctx, datatype, dims, num_dims, status);
      memcpy(TF_TensorData(t), data, TF_TensorByteSize(t));
      TFE_TensorHandle* th = TFE_NewTensorHandleFromTensor(ctx, t, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteTensor(t);
      TF_DeleteStatus(status);
      return th;
    }
    
    // Return a scalar tensor handle with given values.
    template <class T, TF_DataType datatype>
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/tape.h

    bool GradientTape<Gradient, BackwardFunction, TapeTensor>::ShouldRecord(
        absl::Span<const int64_t> tensor_ids,
        absl::Span<const tensorflow::DataType> dtypes) const {
      CHECK_EQ(tensor_ids.size(), dtypes.size());
      for (int i = 0; i < tensor_ids.size(); ++i) {
        if (tensor_tape_.find(tensor_ids[i]) != tensor_tape_.end()) {
          if (IsDtypeTrainable(dtypes[i])) {
            return 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)
  3. tensorflow/c/eager/immediate_execution_distributed_manager.h

      // tasks to initialize the eager context and TF server for multi-client
      // execution.
      virtual Status EnableCollectiveOps(const ServerDef& server_def) = 0;
    
      // Check if the remote task is alive.
      virtual Status CheckRemoteAlive(const std::string& remote_task_name,
                                      bool* is_alive) = 0;
    
      // Get pointer to the coordination service agent instance.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. tensorflow/c/eager/immediate_execution_context.h

      // context and TF server for multi-client execution.
      virtual Status EnableCollectiveOps(const ServerDef& server_def) = 0;
    
      // Set a distributed manager that helps set up, update, and check liveness
      // of member tasks in the cluster.
      virtual void SetDistributedManager(
          std::unique_ptr<ImmediateExecutionDistributedManager> distributed) = 0;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
Back to top