Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for and (0.22 sec)

  1. tensorflow/c/c_api_test.cc

      TF_Operation* plusB = Add(plus2, b, graph, s, "plusB");
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Setup a session and a partial run handle.  The partial run will allow
      // computation of A + 2 + B in two phases (calls to TF_SessionPRun):
      // 1. Feed A and get (A+2)
      // 2. Feed B and get (A+2)+B
      TF_SessionOptions* opts = TF_NewSessionOptions();
      TF_Session* sess = TF_NewSession(graph, opts, s);
    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)
  2. tensorflow/c/eager/c_api_test.cc

      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      tensorflow::NameAttrList name_and_attrs;
      ASSERT_TRUE(name_and_attrs.ParseFromArray(serialized_attr_values->data,
                                                serialized_attr_values->length));
      ASSERT_EQ("VarHandleOp", name_and_attrs.name());
      ASSERT_EQ(tensorflow::DT_INT64,
                name_and_attrs.attr().find("dtype")->second.type());
      TF_DeleteBuffer(serialized_attr_values);
    
    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/experimental/filesystem/modular_filesystem_test.cc

    using ::tensorflow::error::Code;
    
    // As we need to test multiple URI schemes we need a parameterized test.
    // Furthermore, since each test creates and deletes files, we will use the same
    // fixture to create new directories in `SetUp`. Each directory will reside in
    // `::testing::TempDir()`, will use a RNG component and the test name. This
    // ensures that two consecutive runs are unlikely to clash.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_function_test.cc

    TEST_F(CApiFunctionTest, SetGradientAndRun) {
      // Define the function and its grad
      DefineFunction(func_name_, &func_);
      TF_Function* grad_func;
      DefineFunction("MyGrad", &grad_func);
    
      // Add func and its gradient to host graph
      TF_GraphCopyFunction(host_graph_, func_, grad_func, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      // Verify that function and its grad are in host graph's GraphDef
      GraphDef gdef;
    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