Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sources (0.29 sec)

  1. tensorflow/c/c_api_function_test.cc

      EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      Define(1, {add}, {feed1, feed2}, {add}, {}, true);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
      EXPECT_EQ(string("The source of control edge [id=3 scalar:-1 -> add:-1] "
                       "is not in the body. Encountered while creating "
                       "function 'MyFunc'"),
                string(TF_Message(s_)));
    }
    
    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)
  2. tensorflow/c/c_api_test.cc

        TF_TString_Init(&data[i]);
        // The following input string length is large enough to make sure that
        // copy to tstring in large mode.
        std::string source =
            "This is the " + std::to_string(i + 1) + "th. data element\n";
        TF_TString_Copy(&data[i], source.c_str(), source.length());
      }
    
      TF_DeleteTensor(t);
    }
    
    }  // namespace
    }  // namespace tensorflow
    
    // TODO(josh11b): Test:
    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