Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for compatible (0.2 sec)

  1. tensorflow/c/c_api.cc

            "].");
        return;
      }
      if (!ic_dst->MergeInput(dst.index, shape)) {
        status->status = tensorflow::errors::InvalidArgument(
            "Cannot update edge, incompatible shapes: ", ic_dst->DebugString(shape),
            " and ", ic_dst->DebugString(ic_dst->input(dst.index)), ".");
        return;
      }
      status->status = graph->graph.UpdateEdge(&new_src.oper->node, new_src.index,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_test.cc

      } else {
        TF_Tensor* t = TFE_TensorHandleResolve(retvals[0], status);
        EXPECT_NE(TF_OK, TF_GetCode(status));
        EXPECT_EQ(nullptr, t);
        const char* msg = "Matrix size-incompatible: In[0]: [2,2], In[1]: [3,2]";
        EXPECT_TRUE(strstr(TF_Message(status), msg) != nullptr)
            << TF_Message(status);
        // Since error is not cleared, the following copy with correct device will
        // still fail.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  3. tensorflow/c/c_api_test.cc

      // 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