Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for failed (0.24 sec)

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

      const std::string new_path = GetURIForPath("a_file/a_file");
      std::unique_ptr<WritableFile> same_file;
      status = env_->NewAppendableFile(new_path, &same_file);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::FAILED_PRECONDITION);
    }
    
    TEST_P(ModularFileSystemTest, TestReadFile) {
      const std::string filepath = GetURIForPath("a_file");
      std::unique_ptr<RandomAccessFile> new_file;
    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. ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc

    # Test-related settings below this point.
    test --build_tests_only --keep_going --test_output=errors --verbose_failures=true
    test --test_timeout=500,900,-1,-1
    # Give only the list of failed tests at the end of the log
    test --test_summary=short
    
    # "nonpip" tests are regular py_test tests.
    # Pass --config=nonpip to run the same suite of tests. If you want to run just
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem.cc

                                                int64_t* undeleted_files,
                                                int64_t* undeleted_dirs) {
      if (undeleted_files == nullptr || undeleted_dirs == nullptr)
        return errors::FailedPrecondition(
            "DeleteRecursively must not be called with `undeleted_files` or "
            "`undeleted_dirs` set to NULL");
    
      if (ops_->delete_recursively == nullptr)
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_unified_experimental_test.cc

      TF_AbstractOpSetOpName(placeholder_op, "my_ph", status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      // This should fail.
      TF_AbstractOpSetOpType(placeholder_op, "Placeholder", status.get());
      ASSERT_EQ(TF_FAILED_PRECONDITION, TF_GetCode(status.get()));
    
      TF_DeleteAbstractOp(placeholder_op);
      TF_DeleteExecutionContext(graph_ctx);
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_test.cc

      EXPECT_EQ(TF_RESOURCE_EXHAUSTED,
                static_cast<TF_Code>(tensorflow::error::RESOURCE_EXHAUSTED));
      EXPECT_EQ(TF_FAILED_PRECONDITION,
                static_cast<TF_Code>(tensorflow::error::FAILED_PRECONDITION));
      EXPECT_EQ(TF_ABORTED, static_cast<TF_Code>(tensorflow::error::ABORTED));
      EXPECT_EQ(TF_OUT_OF_RANGE,
                static_cast<TF_Code>(tensorflow::error::OUT_OF_RANGE));
    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)
  6. ci/official/utilities/code_check_changed_files.bats

    @test "Check formatting for C++ files" {
        skip "clang-format doesn't match internal clang-format checker"
        echo "clang-format is recommended. Here are the suggested changes:"
        echo "============================="
        grep -e '\.h$' -e '\.cc$' $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true
        if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_internal.h

    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
            update_docs_called(false) {
      }
    
    #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
      tensorflow::ApiDefMap api_def_map TF_GUARDED_BY(lock);
    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
      bool update_docs_called TF_GUARDED_BY(lock);
      tensorflow::mutex lock;
    };
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_test.cc

        ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TFE_DeleteExecutor(executor);
      }
      // Following works in async mode since TFE_ContextAsyncClearError was called.
      TF_SetStatus(status, TF_OK, "");
      if (retvals[0] != nullptr) {
        TFE_DeleteTensorHandle(retvals[0]);
      }
      retvals[0] = nullptr;
      TFE_Execute(matmul2, &retvals[0], &num_retvals, status);
    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)
  9. tensorflow/c/c_test.c

        return 1;
      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
      snprintf(full_path, length, "%s/%s", path, file_name);
    
      TF_WritableFileHandle* h;
      TF_Status* status = TF_NewStatus();
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. ci/official/wheel_test/test_import_api_packages.py

            except ImportError:
              logging.exception("error importing %s", short_package_name)
              failed_packages.append(package_name)
    
        if failed_packages:
          self.fail(
              "Failed to import"
              f" {len(failed_packages)}/{len(self.api_packages_v2)} packages"
              f" {version}:\n{failed_packages}"
          )
        logging.info("Import of packages was successful.")
    
    
    if __name__ == "__main__":
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 13 15:52:07 GMT 2023
    - 3.3K bytes
    - Viewed (0)
Back to top