Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ranges (0.2 sec)

  1. tensorflow/c/eager/c_api_test.cc

      TFE_DeleteContext(ctx);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
    }
    BENCHMARK(BM_InitOp);
    
    void BM_Execute(::testing::benchmark::State& state) {
      const int async = state.range(0);
      state.SetLabel(async ? "ExecuteAsync" : "Execute");
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_ContextOptionsSetAsync(opts, static_cast<unsigned char>(async));
    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)
  2. tensorflow/c/c_api_test.cc

                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));
      EXPECT_EQ(TF_UNIMPLEMENTED,
                static_cast<TF_Code>(tensorflow::error::UNIMPLEMENTED));
      EXPECT_EQ(TF_INTERNAL, static_cast<TF_Code>(tensorflow::error::INTERNAL));
    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)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      StringPiece result;
      // read at least 1 byte more than test_data
      status = read_file->Read(0, test_data.size() + 1, &result, scratch);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OUT_OF_RANGE);
    }
    
    // The URI schemes that need to be tested are provided by the user via flags
    // (or, if none is supplied, all existing schemes are used). As a scheme can
    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

    /// different compiler options breaks compatibility. For more details about how
    /// this is used, please consult next sections. Here we just wrap these tables
    /// in lint warnings so that changes here cause changes to the versioning data
    /// as well. Here is a short summary of what changes are allowed:
    ///   * adding a new method at the end of a table is allowed at any time;
    ///   * any other change to these tables is only allowed on a major TensorFlow
    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/c/c_api_function_test.cc

      TF_Operation* feed2 = Placeholder(func_graph_, s_, "feed2");
      TF_Operation* add = Add(feed1, feed2, func_graph_, s_);
      DefineT(-1, {}, {{feed1, 0}, {feed2, 2}}, {{add, 0}}, {}, true);
      EXPECT_EQ(TF_OUT_OF_RANGE, TF_GetCode(s_));
      EXPECT_EQ(string("Node 'feed2' (type: 'Placeholder', num of outputs: 1) does "
                       "not have output 2\n\tEncountered while processing "
                       "input 1 into function 'MyFunc'"),
    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)
  6. configure.py

          looping.
      """
      default = environ_cp.get(var_name) or var_default
      full_query = '%s [Default is %s]: ' % (
          ask_for_var,
          default,
      )
    
      for _ in range(n_ask_attempts):
        val = get_from_env_or_user_or_default(environ_cp, var_name, full_query,
                                              default)
        if check_success(val):
          break
        if not suppress_default_error:
          print(error_msg % val)
    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)
  7. .bazelrc

    build --experimental_cc_shared_library
    
    # cc_shared_library ensures no library is linked statically more than once.
    build --experimental_link_static_libraries_once=false
    
    # Prevent regressions on those two incompatible changes
    # TODO: remove those flags when they are flipped in the default Bazel version TF uses.
    build --incompatible_enforce_config_setting_visibility
    # TODO: also enable this flag after fixing the visibility violations
    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)
  8. tensorflow/c/c_api.h

    // Adds a copy of function `func` and optionally its gradient function `grad`
    // to `g`. Once `func`/`grad` is added to `g`, it can be called by creating
    // an operation using the function's name.
    // Any changes to `func`/`grad` (including deleting it) done after this method
    // returns, won't affect the copy of `func`/`grad` in `g`.
    // If `func` or `grad` are already in `g`, TF_GraphCopyFunction has no
    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