Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for actual (0.24 sec)

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

    // if the returned `Status` signals the unimplemented state.
    bool UnimplementedOrReturnsCode(Status actual_status, Code expected_code) {
      Code actual_code = actual_status.code();
      return (actual_code == Code::UNIMPLEMENTED) || (actual_code == expected_code);
    }
    
    TEST_P(ModularFileSystemTest, TestTranslateName) {
      const std::string generic_path = GetURIForPath("some_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_test.cc

      string expected_serialized;
      expected_op_def->SerializeToString(&expected_serialized);
      string actual_string(reinterpret_cast<const char*>(buffer->data),
                           buffer->length);
      EXPECT_EQ(expected_serialized, actual_string);
    
      TF_GraphGetOpDef(graph, "MyFakeOp", buffer, status);
      EXPECT_EQ(TF_NOT_FOUND, TF_GetCode(status));
      ExpectHasSubstr(TF_Message(status),
    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/eager/c_api_test.cc

      if (forward_input) {
        TFE_DeleteTensorHandle(n);
      }
    
      int num_retvals = 1;
      if (async) {
        // Enqueue dummy ops so we backlog async execution & actually test async.
        // This is usually unnecessary, but we've experienced the occasional test
        // failure when testing async mode with no explicit forwarding.
        for (int i = 0; i < 100000; ++i) {
    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)
  4. tensorflow/c/c_api_function_test.cc

                           const std::unordered_set<string>& nodes) {
        ASSERT_EQ(nodes.size(), fdef.node_def_size())
            << "Got unexpected number of nodes. Expected: ["
            << absl::StrJoin(nodes, ", ")
            << "] Actual nodes in fdef: " << fdef.DebugString();
        for (const NodeDef& node_def : fdef.node_def()) {
          ASSERT_TRUE(nodes.find(node_def.name()) != nodes.end())
              << "Got unexpected node: " << node_def.name()
    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)
  5. tensorflow/BUILD

    alias(
        name = "is_cuda_enabled",
        actual = if_oss(
            "@local_config_cuda//:is_cuda_enabled",
            "@local_config_cuda//cuda:using_clang",
        ),
    )
    
    # Config setting that is satisfied when CUDA device code should be compiled
    # with clang. It does not imply that CUDA support has been enabled.
    alias(
        name = "is_cuda_compiler_clang",
        actual = if_oss(
    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. .bazelrc

    build:release_linux_base --action_env PYTHON_BIN_PATH="/usr/bin/python3"
    build:release_linux_base --action_env PYTHON_LIB_PATH="/usr/lib/tf_python"
    build:release_linux_base --python_path="/usr/bin/python3"
    # Set Clang as compiler. Use the actual path to clang installed in container.
    build:release_cpu_linux_base --repo_env=CC="/usr/lib/llvm-17/bin/clang"
    build:release_cpu_linux_base --repo_env=BAZEL_COMPILER="/usr/lib/llvm-17/bin/clang"
    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)
  7. tensorflow/c/experimental/filesystem/filesystem_interface.h

    typedef struct TF_Filesystem_Option {
      char* name;                         // null terminated, owned
      char* description;                  // null terminated, owned
      int per_file;                       // bool actually, but bool is not a C type
      TF_Filesystem_Option_Value* value;  // owned
    } TF_Filesystem_Option;
    
    /// SECTION 2. Function tables for functionality provided by plugins
    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)
  8. tensorflow/c/c_api.h

    // unknown dimension is represented by `-1`.
    //
    // Returns an error into `status` if:
    //   * `output` is not in `graph`.
    //   * `num_dims` does not match the actual number of dimensions.
    TF_CAPI_EXPORT extern void TF_GraphGetTensorShape(TF_Graph* graph,
                                                      TF_Output output,
    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