Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for contain (0.15 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

        const std::string translated_name =
            tensorflow::io::JoinPath(root_dir_, path);
        // We have already checked `GetParam().empty()` in
        // `ModularFileSystemTest()`. root_dir_ should contain `GetParam() + "://"`
        // if it isn't empty.
        return translated_name;
      }
    
      // Converts absolute paths to paths relative to root_dir_.
      StringPiece GetRelativePath(StringPiece absolute_path) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

      }
    
      FunctionDef fdef() {
        tensorflow::FunctionDef fdef;
        EXPECT_TRUE(GetFunctionDef(func_, &fdef));
        return fdef;
      }
    
      // logging utility
      template <class Container>
      string ToString(const Container& v) {
        std::stringstream ss;
        ss << "{";
        size_t i = 0;
        for (const auto& e : v) {
          if (i != 0) {
            ss << ", ";
          }
          ss << e.ToString();
          ++i;
    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)
  3. tensorflow/c/c_api_test.cc

    Status TF_TensorToTensor(const TF_Tensor* src, Tensor* dst);
    
    namespace {
    
    static void ExpectHasSubstr(StringPiece s, StringPiece expected) {
      EXPECT_TRUE(absl::StrContains(s, expected))
          << "'" << s << "' does not contain '" << expected << "'";
    }
    
    // Returns the GPU device name if there is one (with arbitrary tie breaking if
    // there are more than one), or "" otherwise.
    string GPUDeviceName(TF_Session* session) {
    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)
  4. tensorflow/c/eager/c_api_test.cc

                                         /*init_timeout_in_ms=*/0);
    
      // Remote device on `worker1`.
      const char remote_device[] = "/job:localhost/replica:0/task:1/device:CPU:0";
      // `ctx_0`, `ctx_1`, `ctx_2` contains `remote_device`.
      {
        const std::vector<std::string>& device_names = ListDeviceNames(ctx_0);
        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
    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)
Back to top