Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Erling (0.14 sec)

  1. tensorflow/c/eager/c_api_experimental.cc

        tensorflow::ImmediateExecutionTensorHandle* unwrapped_handle =
            tensorflow::unwrap(handles[i]);
        if (tensorflow::CustomDeviceTensorHandle::classof(unwrapped_handle)) {
          // One of the inputs we're trying to pack is on a custom device. We'll let
          // the first custom device we see handle all of the packing.
          auto* custom_device_handle =
              tensorflow::down_cast<tensorflow::CustomDeviceTensorHandle*>(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  2. tensorflow/c/eager/c_api.cc

        return;
      } else if (context->GetContextId() ==
                 tensorflow::EagerContext::kInvalidContextId) {
        status->status = tensorflow::errors::InvalidArgument(
            "Trying to update a context with invalid context id.");
      }
      status->status =
          tensorflow::unwrap(ctx)->GetDistributedManager()->SetOrUpdateServerDef(
              server_def, /*reset_context=*/false, keep_alive_secs,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  3. tensorflow/c/c_api_test.cc

      // TF_FinishOperation should fail if the shape of the added operation cannot
      // be inferred.
      TF_Status* status = TF_NewStatus();
      TF_Graph* graph = TF_NewGraph();
    
      // Create this failure by trying to add two nodes with incompatible shapes
      // (A tensor with shape [2] and a tensor with shape [3] cannot be added).
      const char data[] = {1, 2, 3};
      const int64_t vec2_dims[] = {2};
      unique_tensor_ptr vec2_tensor(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top