Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ASSERT_NE (0.06 sec)

  1. tensorflow/c/c_api_function_test.cc

      ASSERT_NE(func_, nullptr);
    
      // Verify that FunctionDef ArgDef has attributes.
      ASSERT_EQ(func_->record->fdef().arg_attr_size(), 1);
      auto arg_attrs = func_->record->fdef().arg_attr().find(0);
      ASSERT_NE(arg_attrs, func_->record->fdef().arg_attr().end());
      auto iter = arg_attrs->second.attr().find("_test_attr");
      ASSERT_NE(iter, arg_attrs->second.attr().end());
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      TF_Operation* vec3 = Const(vec3_tensor.get(), graph, status, "vec3");
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      TF_Operation* add = AddNoCheck(vec2, vec3, graph, status);
      ASSERT_NE(TF_OK, TF_GetCode(status));
      ASSERT_TRUE(add == nullptr);
    
      TF_DeleteGraph(graph);
      TF_DeleteStatus(status);
    }
    
    TEST(CAPI, GetOpDef) {
      TF_Status* status = TF_NewStatus();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top