Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Errorf (0.29 sec)

  1. tensorflow/c/c_api_test.cc

      EXPECT_EQ(TF_ALREADY_EXISTS,
                static_cast<TF_Code>(tensorflow::error::ALREADY_EXISTS));
      EXPECT_EQ(TF_PERMISSION_DENIED,
                static_cast<TF_Code>(tensorflow::error::PERMISSION_DENIED));
      EXPECT_EQ(TF_UNAUTHENTICATED,
                static_cast<TF_Code>(tensorflow::error::UNAUTHENTICATED));
      EXPECT_EQ(TF_RESOURCE_EXHAUSTED,
    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

      TFE_DeleteContext(ctx);
      TF_DeleteStatus(status);
    }
    TEST(CAPI, Execute_MatMul_CPU_Runtime_Error) {
      Execute_MatMul_CPU_Runtime_Error(false);
    }
    TEST(CAPI, Execute_MatMul_CPU_Runtime_ErrorAsync) {
      Execute_MatMul_CPU_Runtime_Error(true);
    }
    
    void Execute_MatMul_CPU_Type_Error(bool async) {
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
    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

    //  --test_arg=--scheme= --test_arg=--scheme=file
    //
    // Note that to test the local filesystem we use an empty value.
    
    namespace tensorflow {
    namespace {
    
    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
    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/experimental/filesystem/filesystem_interface.h

      /// Filesystems may choose to ignore configuration errors but should at least
      /// display a warning or error message to warn the users.
      ///
      /// Plugins:
      ///   * Must set `status` to `TF_OK` if options are updated.
      ///   * Might use any other error value for `status` to signal other errors.
      ///
      /// DEFAULT IMPLEMENTATION: return `TF_NOT_FOUND`.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  5. tensorflow/BUILD

            "//tensorflow/c:tf_status_helper",
            "//tensorflow/c:tf_tensor_internal",
            "//tensorflow/cc/saved_model:loader",
            "//tensorflow/compiler/mlir/lite/metrics:error_collector",
            "//tensorflow/compiler/mlir/lite/python:flatbuffer_to_mlir",
            "//tensorflow/compiler/mlir/lite/python:graphdef_to_tfl_flatbuffer",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  6. tensorflow/c/c_api_function_test.cc

            TF_NewWhile(func_graph_, &inputs[0], inputs.size(), s_)));
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        params->name = "test_loop";
    
        // Initialize outputs so we can easily detect errors/bugs
        outputs.resize(2, {nullptr, -1});
    
        // Create loop: while (input1 < input2) input1 += input2 + 1
        TF_Operation* less_than = LessThan(
    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)
  7. configure.py

          contain a complex error message if error_msg does not provide enough
          information. In that case, set suppress_default_error to True.
        error_msg: (String) String with one and only one '%s'. Formatted with each
          invalid response upon check_success(input) failure.
        suppress_default_error: (Bool) Suppress the above error message in favor of
          one from the check_success function.
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  8. .bazelrc

    build:linux --copt="-Wno-array-bounds"
    
    # Add unused-result as an error on Linux.
    build:linux --copt="-Wunused-result"
    build:linux --copt="-Werror=unused-result"
    # Add switch as an error on Linux.
    build:linux --copt="-Wswitch"
    build:linux --copt="-Werror=switch"
    # Required for building with clang
    build:linux --copt="-Wno-error=unused-but-set-variable"
    
    # Linux ARM64 specific options
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  9. tensorflow/c/c_api.h

    //   and these structs are allocated/deallocated via the API.
    // * TF_Status holds error information.  It is an object type
    //   and therefore is passed around as a pointer to an opaque
    //   struct as mentioned above.
    // * Every call that has a TF_Status* argument clears it on success
    //   and fills it with error info on failure.
    // * unsigned char is used for booleans (instead of the 'bool' type).
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top