Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fOo (0.12 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

                                                 "description", "label1", "label2");
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
      auto* cell2 = TFE_MonitoringGetCellCounter2(counter2, "foo", "bar");
      TFE_MonitoringCounterCellIncrementBy(cell2, 2);
      EXPECT_EQ(TFE_MonitoringCounterCellValue(cell2), 2);
    
      TFE_MonitoringDeleteCounter1(counter1);
      TFE_MonitoringDeleteCounter2(counter2);
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  2. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Attempt to create node in g2 with input from g1
      Neg(feed, g2, s);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s));
      EXPECT_STREQ("foo", TF_Message(s));
    
      TF_DeleteGraph(g1);
      TF_DeleteGraph(g2);
      TF_DeleteStatus(s);
    }
    */
    
    TEST(CAPI, ImportGraphDef) {
      TF_Status* s = TF_NewStatus();
      TF_Graph* graph = TF_NewGraph();
    
    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)
  3. tensorflow/c/c_api_function_test.cc

      DefineFunction(func_name_, &func_);
    
      // Get non existent attribute
      TF_Buffer* attr_buf = TF_NewBuffer();
      TF_FunctionGetAttrValueProto(func_, "foo_attr", attr_buf, s_);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
      EXPECT_EQ(string("Function 'MyFunc' has no attr named 'foo_attr'."),
                string(TF_Message(s_)));
      TF_DeleteBuffer(attr_buf);
    
      // Set attr
      tensorflow::AttrValue attr;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top