Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for TFE_CreatePackedTensorHandle (0.24 seconds)

  1. 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);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 23.4K bytes
    - Click Count (0)
  2. 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,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 35.9K bytes
    - Click Count (0)
Back to Top