Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for ready (0.13 sec)

  1. tensorflow/c/eager/c_api.h

    //
    // If async execution is enabled, the call may simply enqueue the execution
    // and return "non-ready" handles in `retvals`. Note that any handles contained
    // in 'op' should not be mutated till the kernel execution actually finishes.
    //
    // For sync execution, if any of the inputs to `op` are not ready, this call
    // will block till they become ready and then return when the kernel execution
    // is done.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  2. CONTRIBUTING.md

    # Contributing guidelines
    
    ## Pull Request Checklist
    
    Before sending your pull requests, make sure you do the following:
    
    -   Read the [contributing guidelines](CONTRIBUTING.md).
    -   Read the [Code of Conduct](CODE_OF_CONDUCT.md).
    -   Ensure you have signed the
        [Contributor License Agreement (CLA)](https://cla.developers.google.com/).
    -   Check if your changes are consistent with the
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      std::vector<char> out;
    
      // First read.
      EXPECT_TRUE(cache.ValidateAndUpdateFileSignature(filename, 123));
      TF_EXPECT_OK(ReadCache(&cache, filename, 0, 16, &out));
      EXPECT_EQ(calls, 1);
    
      // Second read. Hit cache.
      EXPECT_TRUE(cache.ValidateAndUpdateFileSignature(filename, 123));
      TF_EXPECT_OK(ReadCache(&cache, filename, 0, 16, &out));
      EXPECT_EQ(calls, 1);
    
      // Third read. File signatures are different.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

    }
    
    int64_t RamFileBlockCache::Read(const std::string& filename, size_t offset,
                                    size_t n, char* buffer, TF_Status* status) {
      if (n == 0) {
        TF_SetStatus(status, TF_OK, "");
        return 0;
      }
      if (!IsCacheEnabled() || (n > max_bytes_)) {
        // The cache is effectively disabled, so we pass the read through to the
        // fetcher without breaking it up into blocks.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/modular_filesystem.cc

    }
    
    Status ModularRandomAccessFile::Read(uint64 offset, size_t n,
                                         StringPiece* result, char* scratch) const {
      if (ops_->read == nullptr)
        return errors::Unimplemented(
            tensorflow::strings::StrCat("Read() not implemented for ", filename_));
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      int64_t read =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental_test.cc

                              remote_device) != device_names.end());
      }
    
      // Create a variable using `ctx_0`.
      // Replace worker1 using a new worker, and update the contexts.
      // Read the variable using `ctx_1`. This read should succeed.
      //
      // 1. Create a variable on `remote_device`, using `ctx_0`.
      TFE_TensorHandle* handle_0 =
          CreateVariable(ctx_0, 1.2, remote_device, /*variable_name=*/"var");
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  7. tensorflow/c/eager/custom_device_test.cc

      executed = false;
      num_retvals = 0;
      TFE_Execute(op.get(), nullptr, &num_retvals, status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      ASSERT_TRUE(executed);
    
      // Read the variable's value.
      op.reset(TFE_NewOp(context.get(), "ReadVariableOp", status.get()));
      TFE_OpAddInput(op.get(), var_handle, status.get());
      TFE_OpSetDevice(op.get(), name, status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
  8. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/tf_sig_build_dockerfiles/devel.usertools/code_check_full.bats
    Here are the affected tests:
    EOF
        while read dep; do
          echo "For dependency $dep:"
          # For every missing dependency, find the tests which directly depend on
          # it, and print that list for debugging. Not really clear if this is
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

          pruning_thread_.reset();
        }
      }
    
      /// Read `n` bytes from `filename` starting at `offset` into `buffer`. It
      /// returns total bytes read ( -1 in case of errors ). This method will set
      /// `status` to:
      ///
      /// 1) The error from the remote filesystem, if the read from the remote
      ///    filesystem failed.
      /// 2) `TF_FAILED_PRECONDITION` if the read from the remote filesystem
      /// succeeded,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

        TF_SetStatus(status, TF_UNKNOWN, "Could not get content-length header");
        return -1;
      }
      // `TF_OUT_OF_RANGE` isn't considered as an error. So we clear it here.
      TF_SetStatus(status, TF_OK, "");
      TF_VLog(1, "Successful read of %s @ %u of size: %u", path.c_str(), offset,
              read);
      stream.read(buffer, read);
      read = stream.gcount();
      if (read < buffer_size) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top