Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for figure (0.17 sec)

  1. tensorflow/c/eager/c_api_test.cc

          ADD_FAILURE() << i << " -- " << TF_Message(status.get());
          continue;
        }
        auto tag = tensorflow::strings::StrCat("Device #", i, " (", name, ")");
        // Copy to device
        TFE_TensorHandle* hdevice =
            TFE_TensorHandleCopyToDevice(hcpu, ctx, name.c_str(), status.get());
        if (TF_GetCode(status.get()) != TF_OK) {
          ADD_FAILURE() << tag << " -- " << TF_Message(status.get());
    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

          EXPECT_FALSE(found_scalar_const);
          found_scalar_const = true;
        } else if (IsAddN(n, 2)) {
          EXPECT_FALSE(found_add);
          found_add = true;
        } else {
          ADD_FAILURE() << "Unexpected NodeDef: " << n.DebugString();
        }
      }
      EXPECT_TRUE(found_placeholder);
      EXPECT_TRUE(found_scalar_const);
      EXPECT_TRUE(found_add);
    
      // Add another oper to the graph.
    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

    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
    // fixture to create new directories in `SetUp`. Each directory will reside in
    // `::testing::TempDir()`, will use a RNG component and the test name. This
    // ensures that two consecutive runs are unlikely to clash.
    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/c_api_function_test.cc

                  const std::vector<TF_Operation*>& outputs,
                  const std::vector<string>& output_names,
                  bool expect_failure = false) {
        DefineT(num_opers, opers, ToOutput(inputs), ToOutput(outputs), output_names,
                expect_failure);
      }
    
      // Caller must delete[] the returned value
      static const char** ToArray(const std::vector<string>& strs) {
        const char** ptr = nullptr;
    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. configure.py

          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.
        resolve_symlinks: (Bool) Translate symbolic links into the real filepath.
    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)
  6. .bazelrc

    build:windows --linkopt=/DEBUG
    build:windows --host_linkopt=/DEBUG
    build:windows --linkopt=/OPT:REF
    build:windows --host_linkopt=/OPT:REF
    build:windows --linkopt=/OPT:ICF
    build:windows --host_linkopt=/OPT:ICF
    
    # Verbose failure logs when something goes wrong
    build:windows --verbose_failures
    
    # Work around potential issues with large command lines on windows.
    # See: https://github.com/bazelbuild/bazel/issues/5163
    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/c_api.h

    //   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).
    //   In C++ bool is a keyword while in C99 bool is a macro defined
    //   in stdbool.h. It is possible for the two to be inconsistent.
    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