Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for elseif (0.2 sec)

  1. tensorflow/c/c_api_test.cc

          EXPECT_FALSE(found_placeholder);
          found_placeholder = true;
        } else if (oper == three) {
          EXPECT_FALSE(found_scalar_const);
          found_scalar_const = true;
        } else if (oper == add) {
          EXPECT_FALSE(found_add);
          found_add = true;
        } else if (oper == neg) {
          EXPECT_FALSE(found_neg);
          found_neg = true;
        } else {
          ASSERT_TRUE(GetNodeDef(oper, &node_def));
    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

          EXPECT_EQ(orig_ptr, TF_TensorData(t));
        } else {
          // In async mode we expect forwarding to work without releasing the input
          // handle since by the time the kernel is executed we have released the
          // handle in the client code.
          EXPECT_EQ(orig_ptr, TF_TensorData(t));
        }
      } else {
        if (forward_input) {
    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

          // /path/to/tmp/dir/tf_fs_rng_name/`
          root_dir_ = tensorflow::strings::StrCat(
              "/", tmp_dir_,
              tensorflow::strings::StrCat("tf_fs_", rng_val_, "_", test_name), "/");
        } else {
          root_dir_ = tensorflow::io::JoinPath(
              tmp_dir_,
              tensorflow::strings::StrCat("tf_fs_", rng_val_, "_", test_name));
        }
        if (!GetParam().empty()) {
    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

            ASSERT_TRUE(v.second) << "Duplicate edge " << iter->second << " -> "
                                  << arg.name() << ". fdef: " << fdef.DebugString();
          } else {
            const auto& v = a_edges.insert({arg.name(), arg.name()});
            ASSERT_TRUE(v.second) << "Duplicate edge " << arg.name() << " -> "
                                  << arg.name() << ". fdef: " << fdef.DebugString();
    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/c/experimental/filesystem/filesystem_interface.h

                                      const char* path, TF_TransactionToken** token,
                                      TF_Status* status);
    
      /// Returns transaction token for `path` if it is part of a transaction else
      /// starts a new transaction and adds `path` to that transaction
      ///
      /// Transaction token is returned in `token`. Ownership of the token is in
    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)
  6. configure.py

        if user_input == 'y':
          print(yes_reply)
          var = True
        elif user_input == 'n':
          print(no_reply)
          var = False
        elif not user_input:
          if enabled_by_default:
            print(yes_reply)
            var = True
          else:
            print(no_reply)
            var = False
        else:
          print('Invalid selection: {}'.format(user_input_origin))
      return var
    
    
    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. tensorflow/c/c_api.h

    // `max_func`. In usual usage, max_func should be set to the result of
    // TF_GraphNumFunctions(g). In this case, all the functions registered in
    // `g` will be returned. Else, an unspecified subset.
    //
    // If successful, returns the number of TF_Function* successfully set in
    // `funcs` and sets status to OK. The caller takes ownership of
    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