Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TFE_CreatePackedTensorHandle (0.25 sec)

  1. tensorflow/c/eager/c_api_remote_test_util.cc

      TFE_TensorHandle* packed_handle = nullptr;
      if (has_packed_input) {
        int num_replicas = 1;
        std::vector<TFE_TensorHandle*> packed_handles = {h1_task2};
        packed_handle = TFE_CreatePackedTensorHandle(ctx, packed_handles.data(),
                                                     &num_replicas, status);
        ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      }
    
      TFE_Op* matmul = nullptr;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 22:56:03 GMT 2020
    - 9.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.h

                      TFE_TensorHandle** outputs, TF_Status* s, void* device_info);
    
      // Method to delete a device.
      void (*delete_device)(void* device_info);
    
      // Implements TFE_CreatePackedTensorHandle when one of `handles` is on this
      // custom device.
      //
      // Many devices will want to simply return an "unimplemented" status
      // here. This is the default behavior if `pack` is null when passed to
    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/c_api_distributed_test.cc

      // placed on task1, Handle types are LOCAL, REMOTE, LOCAL on task1.
      int num_replicas = 3;
      std::vector<TFE_TensorHandle*> handles = {h0, h1, h2};
      TFE_TensorHandle* packed_handle =
          TFE_CreatePackedTensorHandle(ctx, handles.data(), &num_replicas, status);
      ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      EXPECT_EQ(TFE_TensorHandleDataType(packed_handle), TF_RESOURCE);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental.cc

                                                    TF_Status* status) {
      return tensorflow::wrap(
          tensorflow::unwrap(ctx)->CreateLocalHandle(t->tensor));
    }
    
    TFE_TensorHandle* TFE_CreatePackedTensorHandle(TFE_Context* ctx,
                                                   TFE_TensorHandle** handles,
                                                   int* num_handles,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
Back to top